Hi, this is my problem. clients cannot persistently type"nslookup myserver.net, ns1,myserver.net, ns2.myserver.net and get a proper reply. It returns with a reply saying domain not found. I leave the computers on for a while and when i return and try the command again it replies with the servername and ip address. I have no idea why it keeps doing that.
This is my /etc/named.conf file:
Code:
//-----MYSERVER.NET--------------------
zone "myserver.net" in
{
type master;
file "myserver.net.zone";
};
zone "ns1.myserver.net" in
{
type master;
file "ns1.myserver.net.zone";
};
zone "ns2.myserver.net" in
{
type master;
file "ns2.myserver.net.zone";
};
zone "4.16.172.in-addr.arpa" in
{
type master;
file "172.16.4.zone";
};
zone "31.16.172.in-addr.arpa" in
{
type master;
file "172.16.31.zone";
forwarders {172.16.4.253;};
};
//--------------------------------
My myserver.net.zone file just contains the names of the 3 nameservers and the addresses myserver.net listens on.
This is my ns1.myserver.net/ns2.myserver.net file(IP addresses different in both files):
Code:
$TTL 1W
@ IN SOA @ root (
42 ; serial (d. adams)
2D ; refresh
4H ; retry
6W ; expiry
1W ) ; minimum
IN NS ns1.myserver.net.
IN NS ns2.myserver.net.
IN A 172.16.4.253
this is one of reverse address file:
Code:
$TTL 1W
@ IN SOA myserver.net. root.myserver.net. (
42 ; serial (d. adams)
2D ; refresh
4H ; retry
6W ; expiry
1W ) ; minimum
IN NS @
253 IN PTR myserver.net.
clients can ping the server names but cannot do nslookup.
I hope somebody can help me out with this problem.