Well, the script works fine!
But bind9 doesn´t start after the sincro
When I exec the script:
gs1:~# sh dnsupdate.sh
Checking for new named.conf... done.
Generating zone names... done. (/tmp/zones.txt) Generating zone info...
New zone available (127.in-addr.arpa)... added.
Restarting Bind
Stopping domain name service...: bindrndc: connect failed:
127.0.0.1#953: connection refused
failed!
Starting domain name service...: bind failed!
New zone available (0.in-addr.arpa)... added.
Restarting Bind
Stopping domain name service...: bindrndc: connect failed:
127.0.0.1#953: connection refused
failed!
Starting domain name service...: bind failed!
New zone available (255.in-addr.arpa)... added.
Restarting Bind
Stopping domain name service...: bindrndc: connect failed:
127.0.0.1#953: connection refused
failed!
Starting domain name service...: bind failed!
New zone available (zone)... added.
Restarting Bind
Stopping domain name service...: bindrndc: connect failed:
127.0.0.1#953: connection refused
failed!
Starting domain name service...: bind failed!
New zone available (zone)... added.
Restarting Bind
Stopping domain name service...: bindrndc: connect failed:
127.0.0.1#953: connection refused
failed!
Starting domain name service...: bind failed!
New zone available (MYFIRSTDOMAIN.TLD)... added.
Restarting Bind
Stopping domain name service...: bindrndc: connect failed:
127.0.0.1#953: connection refused
failed!
Starting domain name service...: bind failed!
New zone available (MYOTHERDOMAIN.TLD)... added.
Restarting Bind
Stopping domain name service...: bindrndc: connect failed:
127.0.0.1#953: connection refused
failed!
Starting domain name service...: bind failed!
and in logs I have this:
Sep 17 22:36:19 gs1 named[10810]: starting BIND 9.3.4-P1.1 -u bind Sep 17 22:36:19 gs1 named[10810]: found 4 CPUs, using 4 worker threads Sep 17 22:36:19 gs1 named[10810]: loading configuration from '/etc/bind/named.conf'
Sep 17 22:36:19 gs1 named[10810]: /etc/bind/named.conf.local:9: zone
'127.in-addr.arpa': already exists previous definition:
/etc/bind/named.conf:25
Sep 17 22:36:19 gs1 named[10810]: /etc/bind/named.conf.local:15: zone
'0.in-addr.arpa': already exists previous definition:
/etc/bind/named.conf:30
Sep 17 22:36:19 gs1 named[10810]: /etc/bind/named.conf.local:21: zone
'255.in-addr.arpa': already exists previous definition:
/etc/bind/named.conf:35
Sep 17 22:36:19 gs1 named[10810]: /etc/bind/named.conf.local:33: zone
'zone': already exists previous definition: /etc/bind/named.conf.local:27 Sep 17 22:36:19 gs1 named[10810]: loading configuration: failure Sep 17 22:36:19 gs1 named[10810]: exiting (due to fatal error)
So, bind 9 doesn´t start. Do you know which could be the problem?
(i saw something like that in the forum but is in german
)
ThanX a lot aGain!
NCS.