DNS bind lookup problem
Hi, I have a bit of a problem, in that I can't seem
to get my DNS server up and running. We have several
computers: A is a SQUID server and gateway to the
internet. B is where my intranet DNS server is
supposed to be [A's SQUID will use it, first, for
intranet lookup, then outside DNS stable servers].
C,D,... M are all on the network using A. N...Z use
the gateway but do not link through Squid.
Localnet address is 192.168.21.x
My problem is that on B, if I type "host
192.168.21.221" [221 is B's number], I get "Host
221.21.168.192.in-addr.arpa not found: 3(NXDOMAIN)".
I'm okay with looking up the name server name, though.
My files are as follows :
db.{0,127,255,root,local}: all normal.
named.conf.local:
-----------
zone "intra.vydunas.lt" {
type master;
file "/etc/bind/intra.vydunas.lt";
# allow-transfer { any; }
allow-update { none; }
notify no;
};
zone "192.168.21.in-addr.arpa" {
type master;
file "/etc/bind/192.168.21";
# allow-transfer { any; }
allow-update { none; }
notify no;
};
------------
/etc/bind/192.168.21:
------------
$TTL 604800
@ IN SOA dns.intra.vydunas.lt.
root.dns.intra.vydunas.lt (
200304083; Serial
36000; Refresh
3600; Retry
3600000; Expire
36000;
)
@ IN NS dns.intra.vydunas.lt
221 IN PTR ugnis.intra.vydunas.lt
239 IN PTR wilhelm.intra.vydunas.lt
254 IN PTR gate.intra.vydunas.lt
;
------------
Any help would be appreciated.
__________________________________________________
Do you Yahoo!?
Yahoo! Tax Center - File online, calculators, forms, and more
http://tax.yahoo.com
Reply to: