CentOS 7 Plesk server DNS not starting
On a CentOS 7 Plesk server DNS failed to start. Plesk on CentOS 7 use named-chroot.service for starting DNS.
I tried to start DNS with
1 |
systemctl restart named-chroot |
On checking status, it shows DNS failed to start
1 |
systemctl status named-chroot |
I removed Bind DNS server using command
1 |
plesk installer |
Removed all bind related packages with yum. Removed all DNS configs from /etc and /var/named folder.
Reinstalled Bind DNS and run plesk repair to fix DNS entry
1 |
plesk repair dns |
But it did not resolve the problem. I checked named.conf with
1 |
named-checkconf /etc/named.conf |
It showned error is related with
1 2 3 4 |
acl common-allow-transfer { 11.11.12.100/255.255.255.0; 1637:4100:203:6664::/64; }; |
Problem is fixed by removing the entry “11.11.12.100/255.255.255.0” from
1 |
Plesk > Tools & Settings > DNS Zone Template > Transfer Restrictions Template |
You can use IP or CIDR here. But you don’t need this if you don’t have secondary DNS servers.