How do you Configure and Troubleshoot MyDNS-NG Installations?
Posted by Allura on 23 04 2019.
MyDNS on your server
The framework introduces MyDNS to the/usr/local/cpanel/3rdparty/index. After establishment, the framework matches up the zone documents in the/var/named/index with the records in the MyDNS database.
Every server that utilizes MyDNS incorporates its very own MySQL database for MyDNS. The server’s database name compares to the mydns_hostname group, where hostname represents to the server’s hostname.
MyDNS on remote MySQL servers
cPanel & WHM’s implementation of MyDNS can function with a remote MySQL server
- To set up the connection to the remote MySQL server, navigate to WHM’s Manage MySQL® Profiles interface (WHM >> Home >> SQL Services >> Setup Remote MySQL Server).
- When you run MyDNS on a dedicated MySQL server, each connected server maintains its own unique database of zone files. The MySQL server retrieves these zone files from the servers and does not retain a central copy of them.
Since MyDNS utilizes a MySQL database to store zone documents, any issue with MySQL will influence MyDNS’s execution. If you experience issues with MyDNS, first verify that MySQL reacts.
To confirm that MySQL responds to WHM, one of the following actions must be performed:
- Navigate to WHM’s Show MySQL Processes interface (WHM >> Home >> SQL Services >> Show MySQL Processes). If MySQL responds, the system will display the SHOW PROCESSLIST query.
- Run the following command as the root client:
To troubleshoot MyDNS further, check the following error logs:
- /usr/local/cpanel/logs/error_log — The WHM error log.
- /var/log/messages — The MyDNS error log.
- /usr/local/cpanel/logs/dnsadmin_log — The dnsadmin error log. WHM’s dnsadmin service interacts with DNS zone files.