Re: DNS

Fyodor Yarochkin (fygrave@freenet.bishkek.su)
Sat, 2 Aug 1997 16:40:28 +0600 (GMT+0500)


> The problem is probably because you don't have a zone file setup for the
> domain blackstar.com and one for 207.135.194.in-addr.arpa.
yes.. i do have 'em:
here is the ls of the dir, where i keep all database:
db.127.0.0 db.blackstar
db.194.135.207 db.cache

> Do you have a zone file for 127.0.0.1?
yes..
[from db.127.0.0]
1.0.0.127.in-addr.arpa. IN PTR localhost.

> Do you have a zone file for 207.135.194.in-addr.arpa?
yes..
> Do you have a zone file for blackstar.com?
> Do you have a named.cache file with the root name servers in it?
yes... but its name is db.cache
or should i create named.cache as well somewhere?

> Do you have a named.boot file with primary lines for the first 3 above?

yes: here it is:
;
; boot file for name server
;
directory /etc/namedDB
primary blackstar.com db.blackstar
primary 207.135.194.in-addr.arpa db.194.135.207
primary 0.0.127.in-addr.arpa db.127.0.0
cache . db.cache


> Get those setup and you shouldn't have any problem as it appears your
> /etc/resolv.conf is setup with the IP of your box listed as the first
> nameserver entry. Try adding:
> nameserver 127.0.0.1 as the first nameserver line to make sure you have
> your loopback zone setup correctly.
>
oops.. here it started freaking.. before i had nameserver 194.135.207.21
when i changed to this, i got:
BlackStar:/etc/namedDB# nslookup blackstar.com
*** Can't find server name for address 127.0.0.1: Server failed

any ideas what's wrong?
i have db.127.0.0 as following :
0.0.127.in-addr.arpa. 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

0.0.127.in-addr.arpa. IN NS blackstar.com.

1.0.0.127.in-addr.arpa. IN PTR localhost.