Multiple Domain in Zone Files

Danny Mayer mayer at gis.net
Tue Jul 5 21:54:29 UTC 2005


Kenneth Roberts wrote:
> This is the database file for the macoby.com domain. Other domains are 
> included in this db file. Will the other domanins ever be queried from 
> this file?

That's an invalid zone file. BIND won't load it. You need to keep the 
different domains in different zone files. You can of course make the 
root . and then you also need to define NS SOA records for those other 
domains.

Danny

> 
> For example will the MX record lookup the A record in this file, rather 
> than having to go to a root-server?
> 
> 
> ################################################################################################################
> ;
> ;                  macoby.com
> ;
> ;
> ;
> ;
> ;        Host to Address Mapping for macoby.com
> ;
> ;
> ;
> ;    SOA RECORD
> ;
> $TTL 14400
> macoby.com.            IN   SOA   maud-a.sawsa.com.  kr.macoby.com. (
>                 50    ; Serial
>                 1800    ; Refresh after 1/2 hours
>                 3600    ; Retry after 1 hour
>                 324680    ; Expire after 1/2 week
>                 600 )    ; Minimum TTL of 10 min
> ;
> ;
> ;
> ;    NAME SERVERS
> ;
> ;
> macoby.com.            IN   NS maud-a.sawsa.com.
> macoby.com.            IN   NS maud-b.zzip.com.
> ;
> ;
> ;
> ;
> ;    HOST ADDRESSES
> ;
> localhost.macoby.com.        IN   A  127.0.0.1
> mail.macoby.com.        IN   A  69.3.29.37
> mail.macoby.com.        IN   A  67.116.20.70
> mail.macoby.com.        IN   A  67.116.23.210
> mail-1.macoby.com.        IN   A  69.3.29.37
> mail-1.macoby.com.        IN   A  67.116.20.70
> mail-1.macoby.com.        IN   A  67.116.23.210
> mail-1.theibn.com.        IN   A  69.3.29.37
> mail-1.theibn.com.        IN   A  67.116.20.70
> mail-1.theibn.com.        IN   A  67.116.23.210
> mail-2.ibnto.com.        IN   A  69.3.29.38
> mail-2.ibnto.com.        IN   A  67.116.20.71
> mail-2.ibnto.com.        IN   A  67.116.23.211
> cuda-1.theibn.com.        IN   A  69.3.29.41
> cuda-1.theibn.com.        IN   A  67.116.20.76
> cuda-1.theibn.com.        IN   A  67.116.23.204
> cuda-2.ibnto.com.        IN   A  69.3.29.42
> cuda-2.ibnto.com.        IN   A  67.116.20.77
> cuda-2.ibnto.com.        IN   A  67.116.23.205
> ;
> ;
> ;
> ;
> ;
> ;    MULTI-HONED HOSTS
> ;
> ;
> ;
> ;    ALIASES
> ;
> ;
> ;
> ;    INTERFACE SPECIFIC NAMES
> ;
> ;
> ;    MX RECORDS
> ;
> macoby.com.                IN   MX   10    cuda-1.theibn.com.
> macoby.com.                IN   MX   30    cuda-2.ibnto.com.
> 
> ################################################################################################################
> 



More information about the bind-users mailing list