Mutiple Domains in a zone file

base60 nobody at whitehouse.com
Thu Jan 5 01:25:17 UTC 2006


Barry Finkel wrote:
> "john" <johnmccoyjr at gmail.com> wrote:
> 
> 
>>Yes I asked that, sounds crazy to me but this is what has been dropped
>>in my lap.

Not that uncommon.  A lot of places are buying .com .net .org etc.

Rather than make the same changes in three places, you can make a
completely generic file and do what you see here.



>>
>>Current setup is running on Solaris 7 and 8 with BIND 8
>>
>>named.conf: (from master)
>>zone "school.edu" in {
>>       type master;
>>       check-names ignore;
>>       file "school.hosts";
>>};
>>
>>zone "school.net" in {
>>       type master;
>>       file "school.hosts";
>>};
>>
>>zone "school.org" in {
>>       type master;
>>       file "school.hosts";
>>};
>>
>>I'm setting up a slave on BIND 9.2.x; figured it would just say I was
>>crazy and not allow it but it does start up with this warning:
>>
>>Jan  3 09:46:25 ns2-new named[6148]: starting BIND 9.2.4 -u named
>>Jan  3 09:46:25 ns2-new named[6148]: using 2 CPUs
>>Jan  3 09:46:25 ns2-new named: named startup succeeded
>>Jan  3 09:46:25 ns2-new named[6148]: loading configuration from
>>'/etc/named.conf'
>>Jan  3 09:46:25 ns2-new named[6148]: listening on IPv4 interface lo, 127.0.0.1#53
>>Jan  3 09:46:25 ns2-new named[6148]: listening on IPv4 interface eth0, 10.7.1.72#53
>>Jan  3 09:46:25 ns2-new named[6148]: command channel listening on 127.0.0.1#953
>>Jan  3 09:46:25 ns2-new named[6148]: zone 0.0.143.in-addr.arpa/IN: loaded serial 5
>>Jan  3 09:46:25 ns2-new named[6148]: zone 3.1.192.in-addr.arpa/IN: loaded serial 2005101901
>>Jan  3 09:46:25 ns2-new named[6148]: zone 4.1.192.in-addr.arpa/IN: loaded serial 2005092301
>>Jan  3 09:46:25 ns2-new named[6148]: zone 5.1.192.in-addr.arpa/IN: loaded serial 2005112801
>>Jan  3 09:46:25 ns2-new named[6148]: zone 6.6.67.in-addr.arpa/IN: loaded serial 2004051901
>>Jan  3 09:46:25 ns2-new named[6148]: dns_master_load: school.hosts:14: school.net: not at top of zone
>>Jan  3 09:46:25 ns2-new named[6148]: zone school.edu/IN: loading master file school.hosts: not at top of zone
>>Jan  3 09:46:25 ns2-new named[6148]: zone school.edu/IN: saved 'school.hosts' as 'db-XXBt3Xvt'
>>Jan  3 09:46:25 ns2-new named[6148]: running
>>
>>The oddest thing is on one boot the top will be .org then next time it is.net
>>In time the whole setup will be on BIND 9, is there a better way to do this???
>>We only use .edu the others are just protection.
>>
>>Thanks
> 
> 
> Please post the school.hosts file so that we can check its contents.
> If you are using the same file for three different zones, then you need
> to insure that everything inside the zone file is relative.
> ----------------------------------------------------------------------
> Barry S. Finkel
> Computing and Information Systems Division
> Argonne National Laboratory          Phone:    +1 (630) 252-7277
> 9700 South Cass Avenue               Facsimile:+1 (630) 252-4601
> Building 222, Room D209              Internet: BSFinkel at anl.gov
> Argonne, IL   60439-4828             IBMMAIL:  I1004994
> 
> 



More information about the bind-users mailing list