Web Hosting Talk







View Full Version : Strange DNS (named & CP) problem


Adriaan
06-13-2002, 11:59 AM
Below you see to lines in my "/etc/named.conf". The first line doesn't have to be there and breaks my reverse DNS.

zone "234.67.217.in-addr.arpa" { type slave; file "sec.217.67.234.1"; masters { 217.67.234.165; }; };
zone "234.67.217.in-addr.arpa" { type master; file "pri.234.67.217.in-addr.arpa"; };

So when I remove this (with pico) and restart named manually (not using the CP "Save" but) my reverse DNS works and named doesn't give an error while restarting.

This is the error named gives when restarting with that first line.
(tail -f /var/log/messages)

Jun 13 17:42:17 lisa named[21461]: /etc/named.conf:35: cannot redefine zone '234.67.217.in-addr.arpa' class IN


--

My problem is, that I CAN FIX THE PROBLEM, but the control panel overwrites these settings and keeps adding the line.

Need some help please.

Adriaan

swissmonk
06-13-2002, 12:15 PM
Find the lines that are not correct in /etc/named/records
(Cobalt file that is used to make the dns records)
delete them
and launch the cobalt perl script:
/usr/admserv/cgi-bin/.cobalt/dns/index.cgi
So your dns records will be updated

Sebi

Adriaan
06-13-2002, 12:22 PM
I can't find anything wrong in the file.