how to describe subdomains

Joseph S D Yao jsdy at cospo.osis.gov
Tue Nov 9 20:01:51 UTC 1999


> Thanx Joe,
> I'm taking your advice and making separate zone files, and as I'm
> running BIND 4.9 I've tried to put the relevant info in the named.boot
> file, and db.ran (+db.212.41.149) and db.rtd01 (+db.212.41.152), but
> I'm missing something, I think.
> 
> Like so:
> 
> bash# cat named.boot
> directory /dns/newer
> primary 0.0.127.IN-ADDR.ARPA db.127.0.0
> primary ran db.ran
> primary 149.41.212.IN-ADDR.ARPA db.212.41.149
> primary rtd01.ran db.rtd01
> primary 152.41.212.IN-ADDR.ARPA db.212.41.152

Where is zone asd04.ran???  Where is nms01.asd04.ran defined?

> bash# head db.ran
> @ IN  SOA nms01.ran. root.nms01.ran. ( 2 10800 3600 604800 86400 )
>   IN  NS  nms01.ran.
>   rtd01 IN  NS  nms01.asd04.ran.
> 
> localhost            IN  A     127.0.0.1
> ws01                 IN  A     212.41.149.138
> ws01                 IN  MX    10 ws01.ran.
> nms01                IN  A     212.41.149.130
> nms01                IN  MX    10 nms01.ran.
> $INCLUDE db.rtd01
> 
> bash# head db.rtd01
> @ IN  SOA nms01.rtd01.ran. root.nms01.rtd01.ran. ( 4 10800 3600 604800
> 86400 )
>   IN  NS  nms01.rtd01.ran.
> 
> localhost            IN  A     127.0.0.1
> grf01                IN  A     212.41.152.120
> rtr08                IN  A     212.41.152.103
> rtr09                IN  A     212.41.152.104

You say there is an "nms01.rtd01.ran", but where is it defined here?

> bash#      head db.212.41.152
> @ IN  SOA nms01.rtd01.ran. root.nms01.rtd01.ran. ( 3 10800 3600 604800
> 86400 )
>   IN  NS  nms01.rtd01.ran.
> 
> 1.152.41.212.IN-ADDR.ARPA.      IN  PTR   tnt01.rtd01.ran.
> 2.152.41.212.IN-ADDR.ARPA.      IN  PTR   tnt02.rtd01.ran.
> 95.152.41.212.IN-ADDR.ARPA.     IN  PTR   tnt95.rtd01.ran.
> 96.152.41.212.IN-ADDR.ARPA.     IN  PTR   rtr01.rtd01.ran.
> 99.152.41.212.IN-ADDR.ARPA.     IN  PTR   rtr04.rtd01.ran.
> 100.152.41.212.IN-ADDR.ARPA.    IN  PTR   rtr05.rtd01.ran.
> 101.152.41.212.IN-ADDR.ARPA.    IN  PTR   rtr06..rtd01.ran.

Doubled dots, above.  Also, you say in an earlier file that the NS is
nms01.asd04.ran, but here you say that it is nms01.rtd01.ran.

> bash# cat db.212.41.149
> @ IN  SOA nms01.ran. root.nms01.ran. ( 4 10800 3600 604800 86400 )
>   IN  NS  nms01.ran.
> 
> 130.149.41.212.IN-ADDR.ARPA.    IN  PTR   nms01.ran.
> 138.149.41.212.IN-ADDR.ARPA.    IN  PTR   ws01.ran.
> 
> bash# nslookup
> Default Server:  nms01.asd04.ran
> Address:  212.41.149.130

OK, I'll bite.  It never got this from all the above.  Where did it get
it from?

> > 212.41.149.138
> Server:  nms01.asd04.ran
> Address:  212.41.149.130
> <so far so good>
> Name:    ws01.asd04.ran
> Address:  212.41.149.138
> 
> > 212.41.152.1
> Server:  nms01.asd04.ran
> Address:  212.41.149.130
> 
> *** nms01.asd04.ran can't find 212.41.152.1: Server failed
> <oh dear!>

I'm not sure.  There are strange things happening behind the scenes on
this one.

--
Joe Yao				jsdy at cospo.osis.gov - Joseph S. D. Yao
COSPO/OSIS Computer Support					EMT-B
-----------------------------------------------------------------------
This message is not an official statement of COSPO policies.


More information about the bind-users mailing list