This article describes the frequently asked questions about DNSmanager.
Files and logs of DNS-servers
BIND configuration file
BIND domain zone configuration file
PowerDNS configuration file
PowerDNS domain zone records
The records are stored in MySQL tables, a separate database for every name space. The default space is powerdns for CentOS and pdns for Debian.
BIND and PowerDNS logs
Master DNS-server diagnostics
DNS server does not respond to request for domain zone
Make sure the DNS-server on the master server responds to requests for the domain zone:
<domain> — domain name.
<IP address> — DNS-server IP address. Usually, it matches the primary IP address of the server.
A response will look something like this:
The following response indicates that the DNS-server is not running:
An empty response indicates that the DNS-server doesn't have information about the domain. Perhaps, it could not upload the domain zone. Open to the log for more details.
BIND could not upload the domain zone
The most common cause of this issue is the incorrect zone file.
If both the domain and name servers are from the same zone, A-records for the name servers must be specified in the domain zone file. For example, the domain domain.com and the name servers ns1.domain.com, ns2.domain.com. If A-records are not present, you will see the following information in the log file:
To resolve this issue, add A-records into the zone file:
A and CNAME records cannot be specified for the same subdomain::
This can cause the following error:
Also, it is not possible to create the CNAME record for second-level domains.
Slave name server diagnostics
Checking connection with the DNS-server
Try to connect to port 53 of the master server through telnet:
If you cannot connect, check the Firewall settings on the master and slave servers.
Checking domain zone transfer from master to slave
Execute the command:
<domain> — domain name.
<IP address> — the IP address of the master server in the transfer-source directive in the BIND configuration file. You can see it on the edit form of the domain zone owner: Accounts→ Users→ Edit→ IP address.
The response should look like this:
Very often, when configuring IP addresses in DNSmanager (in the "IP address management" module) users provide arbitrary grey or white IPs that might not work on that server. Due to such configuration, you won't be able to transfer the domain as it requires that IP address.
Also domain transfer can be refused on the master server. View the allow-transfer directive on the master server.
- A private IP address which is not accessible from the slave server is specified for the user.
- The slave server IP address is not specified in allow-transfer of the domain zone. To add the IP address of the slave server, log into DNSmanager as User (the owner of the domain zone) → Settings→ DNS settings→ Allow-transfer.
The following information is displayed in the log file during domain zone transfer:
It indicates insufficient permissions for the zone file. The zone file must belong to the user who runs BIND:
Also check the /var/named/ directory permissions: