> change the 0.0.127.in-addr.arpa. to @
>
> delete 0.0.127.in-addr.arpa. out of the IN NS blackstar.com. line, and
> then just for eye functionality line the IN NS back up to where it was.
>
> make 1.0.0.127.in-addr.arpa. IN PTR localhost. look like:
>
> 1 IN PTR localhost.
> after these changes, as root do a named.reload
> try you nslookup again.
Nope the same story:
BlackStar:/etc/namedDB# named.reload
Reloading Database
BlackStar:/etc/namedDB# nslookup blackstar.com.
*** Can't find server name for address 127.0.0.1: Server failed
*** Default servers are not available
BlackStar:/etc/namedDB# cat db.127.0.0
@ IN SOA blackstar.com. fygrave.freenet.bishkek.su. {
1 ; Serial
10800 ; Refresh after 3 hours
3600 ; Retry after one Hour
604800 ; Expire after one week
86400 ) ; Minimum TTL of one day
IN NS blackstar.com.
1 IN PTR localhost.
BlackStar:/etc/namedDB#
> go buy O'Reilley and Assoc. DNS and BIND from your favorite bookstore.
yes.. i am using it as my handbook while setuping DNS:)
> Your loopback is 127.0.0.1 not 127.0.0 and you NS line is saying it is
> 127.0.0 The other changes I made are mostly cosmetic except for the
> first change which is related to the loopback address stuff.
yeah..
just to short them,.. anyway still with 127.0.0.1 DNS doesn't work.. i
wonder if it should work at all? i figured out why it didn't work
while i tried to nslookup blackstar.com.. the thing is that i have
domain slav21.freenet.bishkek.su entry in my resolv.conf (this is domain
for my lan) and that coused error, when i changed it back to blackstar
and while using
nameserver 194.135.207.21
all the things work just fine.. till i change it to nameserver 127.0.0.1
there are no mention about using loopback as DNS IP in DNS and NAMED book..