Error on a simple intranet DNS configuration
Hi everyone,
I am new to linux and am trying to configure a DNS server, but it has been 2 days that I can not do it despite having followed thousand and one tutorials on the net. I am under CENTOS 6. I installed the DNS server config and makes, and when I nslookup tests in the normal range, I have a good answer as you can see bellow : Code:
[root@dcim didi167]# nslookup dcim.fan.def However when I do nslookup in the reverse zone I get an error "server can't find 200.32.168.192.in-addr.arpa.: NXDOMAIN", as you can see bellow : Code:
[root@dcim didi167]# nslookup 192.168.32.200 So below I give you my config files: My domain name is: fan.def The name of my machine at the same time the dns is: dcim The file /etc/sysconfig/network-scripts/ifcfg-eth0 Code:
DEVICE=eth0 The file /etc/hosts Code:
127.0.0.1 localhost localhost.localdomain localhost4 localhost4.localdomain4 The file /etc/resolv.conf Code:
search fan.def The file /etc/named.conf Code:
// The file /var/named/forward.zone Code:
$TTL 604800 The file /var/named/32.168.192.in-addr.arpa Code:
@ IN SOA dcim.fan.def. root.dcim.fan.def. ( Please help me with this! it's been 2 days that I'm working on it, it's making me go crazy! :-( Thanks. |
The answer is quite simple...
look at the error: "server can't find 200.32.168.192.in-addr.arpa." your reverse zone contains "5.32.168.192.in-addr.arpa" and not "200.32.168.192.in-addr.arpa." Either add the line "200 IN PTR dcim.fan.def." to the reverse zone file (don't forget to increment the serial) or configure it as DDNS server |
Hello Shmiti!
Thanks you for your quick reply! I'll try in now! |
Super! It's works!!!
Thank you very much! |
All times are GMT -5. The time now is 05:31 PM. |