error "server can't find 254.0.168.192.in-addr.arpa: SERVFAIL" in dns server
hi everybody,
nslookup command is giving me an error.otherwise dns is working ok.when i try to look for server from client using Code:
nslookup 192.168.0.254 Code:
** server can't find 254.0.168.192.in-addr.arpa: SERVFAIL Quote:
i think there should be problem in reverse zone file so i am posting my reverse zone file Code:
$TTL 86400 |
Hi,
You miss the trailing dot in the NS record: Code:
IN NS server.example.com. |
i have checked with trailing dot and without trailing dot.its not affection at all.service restarts successfuly.
|
The trailing dot is needed. Otherwise the zone name is attached in the hostname, so what you catually have is: " IN NS server.example.com.0.168.192.in-addr.arpa".
The service starts succesfully, because this is not a syntax error in the configuration, but an error in the zone file. Note that you need to increase the serial number and reload bind. |
i have increased serial number already.trailing dot is also there.but still got the same error.how to reload bind?
|
You can either restart the service, or use
Code:
rndc reload |
yea i have done that.still got same error.
|
my named.conf file is
Quote:
|
Oups, you have another error in the SOA record of zone file. It should be:
Code:
@ IN SOA server.example.com. root.server.example.com. ( |
i have done this edit to.but still same error.
my /etc/hosts file of server is Quote:
Quote:
Quote:
|
Hmm, another error in named.conf.
Replace: Quote:
Code:
zone "0.168.192.in-addr.arpa" IN |
yes now nslookup is working fine.i have spent 3 days on this stupid silly mistake.thanx alot bathory.i want to ask one thing more.is it make difference if i use
Quote:
Quote:
|
If example.com. can be resolved (i.e. you have an A record in the forward zone for example.com), then you can use it. Of course you need to change both SOA and NS records accordingly.
Please use "Thread Tools" and mark the thread as "SOLVED" Regards |
my forward zone file is
Quote:
i have used example.com as SOA record and server.example.com as ns record here.so it means i can use example.com instedad of server.example.com in reverse zone error? |
Quote:
Code:
$TTL 86400 Code:
IN NS example.com. |
All times are GMT -5. The time now is 11:15 AM. |