• 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

7.5.4 Dns Problems!!!!!!!!!!

M

Mr. Popularity

Guest
I've reset all DNS entries for some of my clients to the "defaults". Now, BIND reports that there are NO NS records for any of these domains at all!!! What is going on here?
 
Using the default template would put NS records such as 'ns.domain1.com'. If these domains in the past were using your nameservers 'ns.yourhostname.com', then this may be the problem.
 
Ugh... I'm not sure..

What's happening is that when you reset to defaults, or even add a new entry in Plesk, it doesn't even insert the records at all!!!!!!
 
Doesn't insert the records into the mysql 'psa' database, or just not into the actual zone file(s)?

For those readers who don't already know: Plesk writes the DNS info into it's 'psa' database, then uses that to create/rewrite the actual zone files which are usually kept in /var/named/run-root/var/ and the named.conf in /var/named/run-root/etc/.

The /etc/named.conf file is normally a symlink to /var/named/run-root/etc/named.conf.
 
ok, i understand that, but everytime i do a DIG against that particular BIND, i get the following output:

; <<>> DiG 9.2.4 <<>> @ns1.interology.net robinmcqueen.com
;; global options: printcmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: SERVFAIL, id: 26382
;; flags: qr rd ra; QUERY: 1, ANSWER: 0, AUTHORITY: 0, ADDITIONAL: 0

;; QUESTION SECTION:
;robinmcqueen.com. IN A

;; Query time: 0 msec
;; SERVER: 66.79.185.90#53(ns1.interology.net)
;; WHEN: Sun Aug 28 21:37:08 2005
;; MSG SIZE rcvd: 34
 
Could you post a sample of the DNS records (as they currently show in Plesk) for that domain?

A dnsreport.com report for robinmcqueen shows:
Your NS records at the parent servers are:

dns1.name-services.com. [69.25.142.1] [TTL=172800] [US]
dns2.name-services.com. [216.52.184.230] [TTL=172800] [US]
dns3.name-services.com. [63.251.92.193] [TTL=172800] [US]
dns4.name-services.com. [64.74.96.242] [TTL=172800] [US]
dns5.name-services.com. [212.118.243.118] [TTL=172800] [UK]

[These were obtained from f.gtld-servers.net]
Had you been using DNS services from that domain/company in the past? Did you recently submit nameserver changes for that domain to the registrar? If so, then they either have not been processed yet, or are still propagating.

It appears that ns1.interology.net has an A record at name-services.com Are you trying to use external DNS servers for all the domains, or the plesk server's DNS service???
 
66.79.185.90 / 24 PTR robinmcqueen.com.
ftp.robinmcqueen.com. A 66.79.185.90
mail.robinmcqueen.com. A 66.79.185.90
robinmcqueen.com. A 66.79.185.90
robinmcqueen.com. MX (10) mail.robinmcqueen.com.
webmail.robinmcqueen.com. A 66.79.185.90
www.robinmcqueen.com. A 66.79.185.90


That's how it is in Plesk. Al my other domains are like that as well. I'm not sure that Plesk is writing the zone files at all!
 
Your posted sample does not show any NS records.

Check your Server - DNS - template and post it's contents. One of my standard templates (for my own domains) looks like this:

*.<domain>. CNAME <domain>.
<domain>. NS ns1.mynameserver.com.
<domain>. NS ns2.mynameserver.com.
<domain>. A <ip>
<domain>. MX (10) mail.<domain>.
<domain>. TXT ""v=spf1 a mx ~all""
ftp.<domain>. CNAME <domain>.
mail.<domain>. A <ip>
webmail.<domain>. A <ip>

Note: If a hosted domain has their own nameservers registered and pointing to the server's IP address, then the NS template records may look like:
<domain>. NS ns1.<domain>.
<domain>. NS ns2.<domain>.

To verify the actual zone files, use SSH and check the file 'robinmcqueen.com' in directory:

/var/named/run-root/var/robinmcqueen.com

It should contain something like:
$TTL 86400

@ IN SOA ns.mydomain.com. dnsmaster.mydomain.com. (
1113871066 ; Serial
10800 ; Refresh
3600 ; Retry
604800 ; Expire
86400 ) ; Minimum

robinmcqueen.com. IN NS ns1.yournameserver.com.
robinmcqueen.com. IN NS ns2.yournameserver.com.
robinmcqueen.com. IN A xx.yy.zz.nn
webmail.robinmcqueen.com. IN A xx.yy.zz.nn
mail.robinmcqueen.com. IN A xx.yy.zz.nn
ftp.robinmcqueen.com. IN CNAME robinmcqueen.com.
*.robinmcqueen.com. IN CNAME robinmcqueen.com.
www.robinmcqueen.com. IN CNAME robinmcqueen.com.
robinmcqueen.com. IN MX 10 mail.robinmcqueen.com.
Also check the contents of:

/var/named/run-root/etc/named.conf to make sure it contains something like:
zone "robinmcqueen.com" {
type master;
file "robinmcqueen.com";
allow-transfer {
common-allow-transfer;
};
};
 
Back
Top