LinuxSA Mailing list archives

Index: [thread] [date] [subject] [author] [stats]
  From: Trevor Nichols <trevor@ocdi.org>
  To  : Corey Gilmore <cfg@dln.uvm.edu>
  Date: 27 Jul 2001 12:36:36 +0930

Re: BIND question

Just because you have multiple dns entries doesn't mean you require a
different IP for each.  Using my personal domain as an example, you
could do something like this:

$ORIGIN org.
ocdi            IN      SOA     ns.electrac.net. data.electrac.net. (
                2001072601      ;serial
                10800           ;refresh (3H)
                3600            ;retry
                3600000         ;expire
                6400 )          ; minimum ttl

                IN      NS      ns.ocdi.org.
                IN      MX      10 mail.ocdi.org.
                IN      A       64.39.10.139
$ORIGIN ocdi.org.

; note same IP
ns                  1D IN A 64.38.10.139
mainbox             1D IN A 64.39.10.139

; now you can CNAME all your different hosts
www                 1D IN CNAME mainbox
ftp                 1D IN CNAME mainbox
etc
etc


--

Best Regards,

+------------------------------------------------+---------------------+
| Trevor Nichols                                 |     trevor@ocdi.org |
| Software Engineer,                             |                     |
| Computer & Network Services                    | http://www.ocdi.org |
+------------------------------------------------+---------------------+

-- 
LinuxSA WWW: http://www.linuxsa.org.au/  IRC: #linuxsa on irc.linux.org.au
To unsubscribe from the LinuxSA list:
  mail linuxsa-request@linuxsa.org.au with "unsubscribe" as the subject


Index: [thread] [date] [subject] [author] [stats]
Return to the LinuxSA Mailing List Information Page