• If you are still using CentOS 7.9, it's time to convert to Alma 8 with the free centos2alma tool by Plesk or Plesk Migrator. Please let us know your experiences or concerns in this thread:
    CentOS2Alma discussion

Cannot restart DNS - Help!

P

pcjackson06

Guest
I am unable to restart DNS. When attempting to restart DNS via the control panel, I get the following output:

Code:
0: /usr/local/psa/admin/plib/common_func.php3:170
psaerror(string 'Unable to make action: Unable to manage service by dnsmng: dnsmng: Service named failed to start')
1: /usr/local/psa/admin/htdocs/server/restart_services.php:30

When attempting to restart via the command line I get:

Code:
[root@bluemoon var]# /etc/init.d/named start
Starting named:
Error in named configuration:
zone 0.0.127.IN-ADDR.ARPA/IN: loaded serial 20010622
zone intellirad.net/IN: loaded serial 1143674303
dns_master_load: 112.62.67.in-addr.arpa:12: unexpected end of line
dns_master_load: 112.62.67.in-addr.arpa:11: unexpected end of input
zone 112.62.67.in-addr.arpa/IN: loading master file 112.62.67.in-addr.arpa: unexpected end of input
_default/112.62.67.in-addr.arpa/IN: unexpected end of input
                                                           [FAILED]

The 112.167.62.67 looks ok...

Confuzzled. Help?
:D
 
It would appear Plesk entered some lines that looked like:

Code:
                     IN NS   bluemoon.intellirad.net.
150              
                     IN PTR  bluemoon.intellirad.net.
150              IN PTR  intellirad.net.

Instead of:

Code:
                     IN NS   bluemoon.intellirad.net.
150              IN PTR  bluemoon.intellirad.net.
150              IN PTR  intellirad.net.

Not sure why that happened, but it is working after editing those lines.
 
Possible DNS Bug?

Everytime I add an additional domain, it does this (screws up the lines in the file) which causes bind to break... Think this may be a bug. Fixable?

Code:
$TTL    86400

@       IN      SOA     bluemoon.intellirad.net. pjackson.intellirad.net. (
                        1143677445      ; Serial
                        10800   ; Refresh
                        3600    ; Retry
                        604800  ; Expire
                        10800 ) ; Minimum

                 IN NS   bluemoon.intellirad.net.
150
                 IN PTR  bluemoon.intellirad.net.
150              IN PTR  bluemoon.intellirad.net.
151              IN PTR  intellirad.net.
150              IN PTR  phillipjackson.com.
 
Back
Top