Posts

Showing posts with the label disable ipv6 in dns server on centos 7

Disable IPv6 in DNS Server of CentOS 7

Image
Disable IPv6 in Bind "DNS Server" on CentOS 7 The reason to Disable the IPv6 in DNS Server is DNS service will give proper result, Because if we are not configuring IPv6 in DNS Server for OpenLDAP Server then DNS service have  IPv6 issues. To Start DNS service type the below command. systemctl start named To Check the status of DNS Service type the command mention below. systemctl status named In the above image you can see that the status of DNS service give error network unreachable resolving , the error occur because IPv6 is not configure. To Disable IPv6 in Bind "DNS Server" edit named file that available in /etc/sysconfig/ directory. Use vi editor to edit the below file. vi /etc/sysconfig/named Set the below line in named file to disable IPv6 in Bind "DNS Server". OPTIONS="-4" After edit save the file. To restart the DNS Service type the command mention below. systemctl restart named To Check The Status of DNS Service type the command m...