need help in bind9 setup

Barry Margolin barmar at alum.mit.edu
Tue Apr 12 00:23:24 UTC 2005


In article <d3f08d$fh5$1 at sf1.isc.org>, Chiang Seng Chang <cs at ctzen.com> 
wrote:

> Would these be more correct ?

Yes, except you still need to have more than one nameserver for each 
domain.

> 
> db.dom-a.com:
> 
>       $TTL    86400
>       dom-a.com.  IN  SOA     ns hostmaster
>                               (...omitted...)
>                   IN  NS      ns
>                   IN  MX 10   mail
>       @           IN  A       1.2.3.4
>       localhost   IN  A       127.0.0.1
>       ns          IN  A       1.2.3.4
>       mail        IN  A       1.2.3.4
>       www         IN  CNAME   @
>       foo         IN  CNAME   @
> 
> 
> db.dom-b.com:
> 
>       $TTL    86400
>       dom-b.com.  IN  SOA     ns.dom-a.com hostmaster.dom-a.com
>                               (...omitted...)
>                   IN  NS      ns.dom-a.com.
>                   IN  MX 10   mail.dom-a.com.
>       @           IN  A       1.2.3.4
>       localhost   IN  A       127.0.0.1
>       www         IN  CNAME   @
> 
> 
> note. ip 1.2.3.4 is repeat many times (?)

Yes, that happens.  Of course, there's no reason why you have to use 
different hostnames for the targets of the NS and MX records.  You can 
do:

  IN NS ns
  IN MX 10 ns

-- 
Barry Margolin, barmar at alum.mit.edu
Arlington, MA
*** PLEASE post questions in newsgroups, not directly to me ***



More information about the bind-users mailing list