Can't find server name for address

tony_barratt at my-deja.com tony_barratt at my-deja.com
Fri Nov 5 13:20:25 UTC 1999


Hi List,

I'm trying to set up DNS with the help of h2n, which takes a hosts file
and creates all the files you need to feed to in.named.
The DNS server is called nms01.asd04.ran and is intended to supply a
name service for x.rtd01.ran and x.asd24.ran, and of course x.asd04.ran.

Currently there is only one entry in the hosts file hosts.asd04.ran,
that of the server - 212.41.149.130, and currently I'm looking to name
serve the asd04.ran domain/zone, and starting off real slow with one
host defined, that of the DNS server itself.
But having created the files and killed and restarted in.named (with no
errors).

But I can't successfully invoke nslookup, it returns the error
"Can't find server name for address 212.41.149.130"
I don't quite understand that, because all the requ'd info is in the
files that h2n made for me. Can anyone offer a solution?

Some details are below:
bash# pwd
/dns/fact
bash# ./h2n -d asd04.ran -n  212.41.149 -H hosts.asd04.ran
bash# cat hosts.asd04.ran
212.41.149.130 nms01.asd04.ran
bash# cat named.boot
directory /dns/fact
primary	0.0.127.IN-ADDR.ARPA db.127.0.0
primary	asd04.ran db.asd04
primary 149.41.212.IN-ADDR.ARPA db.212.41.149
cache	. db.cache
bash# cat db.asd04
@ IN  SOA nms01.asd04.ran. root.nms01.asd04.ran. ( 7 10800 3600 604800
86400 )
  IN  NS  nms01.asd04.ran.

localhost            IN  A     127.0.0.1
nms01                IN  A     212.41.149.130
nms01                IN  MX    10 nms01.asd04.ran.
bash# cat db.212.41.149
@ IN  SOA nms01.asd04.ran. root.nms01.asd04.ran. ( 5 10800 3600 604800
86400 )
  IN  NS  nms01.asd04.ran.

130.149.41.212.IN-ADDR.ARPA.  	IN  PTR   nms01.asd04.ran.
<END>
Finally I'm running Solaris 2.6 and BIND 4.9.

TIA and Greetz

Tony


Sent via Deja.com http://www.deja.com/
Before you buy.


More information about the bind-users mailing list