One domain not working in DNS Cluster
I've a domain, not work on DNSCluster, but all domain over . this domain and same server work fine
Including Address A for namserver of this problem.
Domain: example.com
NAMESERVERS:
Tests
On secondary dns, has a zone file, and on named.conf has zone in internal and external
And file zone is correct.
Any ideas?
ns4681.example.com. 7200 IN A 5.135.xx.xx
ns4682.example.com. 7200 IN A 212.83.xxx.xxTests
? ~ dig +short @ns4681.example.com example.com
5.135.xx.xx
? ~ dig +short @ns4682.example.com example.com
? ~ dig +short @ns4682.example.com kvm468.example.com
? ~ dig +short @ns4682.example.com ns4681.example.com
5.135.xx.xx
? ~ dig +short @ns4682.example.com ns4682.example.com
212.83.xxx.xx
? ~ dig +short @ns4682.example.com ceinor.net
5.135.xx.xx
? ~On secondary dns, has a zone file, and on named.conf has zone in internal and external
view "internal" {
...
zone "example.com" {
type master;
file "/var/named/example.com.db";
};
...
}
...
view "external" {
zone "example.com" {
type master;
file "/var/named/example.com.db";
};
}And file zone is correct.
[root@bkmx ~]# dig @localhost example.com
; <<>> DiG 9.9.4-RedHat-9.9.4-61.el7 <<>> @localhost example.com
; (2 servers found)
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 64336
;; flags: qr rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 2, ADDITIONAL: 3
;; OPT PSEUDOSECTION:
; EDNS: version: 0, flags:; udp: 4096
;; QUESTION SECTION:
;example.com. IN A
;; ANSWER SECTION:
example.com. 3600 IN A 5.135.xx.xx
;; AUTHORITY SECTION:
example.com. 3600 IN NS ns4682.example.com.
example.com. 3600 IN NS ns4681.example.com.
;; ADDITIONAL SECTION:
ns4681.example.com. 172800 IN A 5.135.xx.xx
ns4682.example.com. 172800 IN A 212.83.xxx.xx
;; Query time: 12 msec
;; SERVER: 127.0.0.1#53(127.0.0.1)
;; WHEN: vie ago 03 12:11:50 CEST 2018
;; MSG SIZE rcvd: 129Any ideas?
-
HI @speckados The issue seems to be specific to just ns4682@ this nameserver is not responding to DNS queries properly. Can you confirm the following: 1. example.com has a dns zone file in /var/named/ on ns4682@ 2. The relationship between the webserver and the two nameservers 3. Please run the following and let me know the output: /scripts/dnscluster syncall --full
Thanks!0 -
On my post I put this information. if you read post, i say: 1. In /etc/named.conf are entries for internal and external for example.com. 2. In /var/named/ are a file zone for example.com.db 3. Relation shipos work for 3 servers in mode slave. Servers remote a primary and has a relation, Write Only over this server. 4. This server (example.com) has 25 domains that work and resolve perfectly in dns. Only NOT work example.com 5. Comand /scripts/dnscluster syncall --full are running several times. root@MATSER.example.com/scripts/dnscluster syncall --full Syncing Zones to all machines in cluster....(full)........................Done
But important points 1, 2 is buig question. Why if zone are declared on /etc/named.conf and zones declared are in /var/named server awswer with EMPTY response? More information cahnging my domain with example.com Server seondary or slave that response 0 Of course this server is a declared and registered GLUE record for ns4682.example.comcat /etc/named.conf |grep example.com zone "example.com" { file "/var/named/example.com.db"; zone "ns4681.example.com" { file "/var/named/ns4681.example.com.db"; zone "reseller.example.com" { file "/var/named/reseller.example.com.db"; zone "ns4682.example.com" { file "/var/named/ns4682.example.com.db"; zone "example.com" { file "/var/named/example.com.db"; zone "ns4681.example.com" { file "/var/named/ns4681.example.com.db"; zone "reseller.example.com" { file "/var/named/reseller.example.com.db"; zone "ns4682.example.com" { file "/var/named/ns4682.example.com.db";
cat /var/named/example.com.db ; cPanel first:11.32.2.25 (update_time):1533309965 Cpanel::ZoneFile::VERSION:1.3 hostname:bkmx.tabratino.com latest:11.72.0.10 ; Zone file for example.com $TTL 14400 example.com. 7200 IN SOA ns4681.example.com. sysad.tamainut.com. ( 2018080312 ;Serial Number 86400 ;refresh 7200 ;retry 3600000 ;expire 86400 ;minimum ) example.com. 7200 IN NS ns4682.example.com. example.com. 7200 IN NS ns4681.example.com. example.com. 7200 IN A 9.9.9.9 localhost 7200 IN A 127.0.0.1 example.com. 7200 IN MX 0 example.com. mail 7200 IN CNAME example.com. www 7200 IN CNAME example.com. ftp 7200 IN A 9.9.9.9 example.com. 7200 IN TXT "v=spf1 ip4:9.9.9.10 ip4:9.9.9.9 +a +mx +ip4:9.9.9.11 +ip4:9.9.9.12+include:websitewelcome.com ~all" cpanel 7200 IN A 9.9.9.9 whm 7200 IN A 9.9.9.9 webdisk 7200 IN A 9.9.9.9 webmail 7200 IN A 9.9.9.9 www.webmail 7200 IN A 9.9.9.9 webmail 7200 IN TXT "" genes 7200 IN A 9.9.9.9 www.genes 7200 IN A 9.9.9.9 webdisk.genes 7200 IN A 9.9.9.9 autoconfig.genes 7200 IN A 9.9.9.9 autodiscover.genes 7200 IN A 9.9.9.9 _autodiscover._tcp.genes 7200 IN SRV 0 0 443 cpanelemaildiscovery.cpanel.net. autoconfig 7200 IN A 9.9.9.9 autodiscover 7200 IN A 9.9.9.9 _autodiscover._tcp 7200 IN SRV 0 0 443 cpanelemaildiscovery.cpanel.net. autoconfig.webmail 7200 IN A 9.9.9.9 autodiscover.webmail 7200 IN A 9.9.9.9 _autodiscover._tcp.webmail 7200 IN SRV 0 0 443 cpanelemaildiscovery.cpanel.net. webdisk.webmail 7200 IN A 9.9.9.9 cpcalendars.webmail 7200 IN A 9.9.9.9 cpcontacts.webmail 7200 IN A 9.9.9.9 cpcalendars.genes 7200 IN A 9.9.9.9 cpcontacts.genes 7200 IN A 9.9.9.9 cpcalendars 7200 IN A 9.9.9.9 cpcontacts 7200 IN A 9.9.9.9 nps2 7200 IN A 46.105.249.99 euromaster 7200 IN A 79.137.30.5 gestion 7200 IN A 79.137.30.5 genes 7200 IN TXT "v=spf1 ip4:9.9.9.10 ip4:9.9.9.9 +a +mx +ip4:9.9.9.11 +ip4:9.9.9.12+include:websitewelcome.com ~all" webmail 7200 IN TXT "v=spf1 ip4:9.9.9.10 ip4:9.9.9.9 +a +mx +ip4:9.9.9.11 +ip4:9.9.9.12+include:websitewelcome.com ~all" default._domainkey 7200 IN TXT "v=DKIM1; k=rsa; p=MIIBIjANBgWWWWWWWWWWIIBCgKCAQEAvBpXcA2SmJNq+f+05TSneSf9zqjLJe7Anj7QqM0bNA3YtVWRgBRtTFknUb0Nmw3jurtKnOnWV6ABAhl78/avlgt6qjEWeFjn7Sl+4BfK2cNFFuilTMr0NBFuMqjzE1ED5iTG8H32zNMjmkqzoD0HEhPQLKqe4KE9oO1wE7HN542RlLsuZwUrAZbe0c6ug6Ij2" SdVZyVHY7vFc0JQBLAI1qFI7rpO9v+TJps6l6UahrXiRmRsggI/nKei8eMUybXkhMwbdb8GUxWWWWWWXzwFJekWbJbcQLrPHcjLtOvR13VZ7sksdRDHHH4AABGTQzQ+M5WYK992gzvwIDAQAB\; _acme-challenge.nps2 7200 IN TXT X0h8n2wbeYu7YFLyY4Y14zjnlNwoHE6G5wCHx6F0XXA whm.webmail 7200 IN A 9.9.9.9 cpanel.genes 7200 IN A 9.9.9.9 whm.genes 7200 IN A 9.9.9.9 webmail.webmail 7200 IN A 9.9.9.9 webmail.genes 7200 IN A 9.9.9.9 cpanel.webmail 7200 IN A 9.9.9.9 ns4682 7200 IN A 212.83.142.45 test 3600 IN A 1.1.3.3 kvm468 IN A 9.9.9.90 -
Hello @speckados Thank you for that information. I do agree the files are present but in order for this issue to be occurring, there must a configuration issue which is why I'm requesting the information I am. Can you tell me what happens when you run the following on ns4682: /scripts/rebuilddnsconfig
Can you also provide the nameserver and version of cPanel being run on all servers?0 -
CENTOS 6.10 kvm [kvm468]v72.0.10 After run not work example.com in any dns /scripts/rebuilddnsconfig Waiting for "bind" to restart "waiting for "named" to initialize "finished. Service Status named (/usr/sbin/named -u named) is running as named with PID 12057 (pidfile+/proc check method). Startup Log Iniciando named: [ OK ] Log Messages Aug 4 07:28:39 kvm468 named[12057]: zone example1.es/IN/external: loaded serial 2018080306 Aug 4 07:28:39 kvm468 named[12057]: zone example2.es/IN/external: loaded serial 2018080306 Aug 4 07:28:39 kvm468 named[12057]: zone example3.es/IN/external: loaded serial 2018080306 Aug 4 07:28:39 kvm468 named[12057]: zone example4.es/IN/external: loaded serial 2018080306 named restarted successfully. dig example.com ; <<>> DiG 9.8.2rc1-RedHat-9.8.2-0.68.rc1.el6 <<>> example.com ;; global options: +cmd ;; Got answer: ;; ->>HEADER<<- opcode: QUERY, status: SERVFAIL, id: 39346 ;; flags: qr rd ra; QUERY: 1, ANSWER: 0, AUTHORITY: 0, ADDITIONAL: 0 ;; QUESTION SECTION: ;example.com. IN A ;; Query time: 22 msec ;; SERVER: 127.0.0.1#53(127.0.0.1) ;; WHEN: Sat Aug 4 07:29:34 2018 ;; MSG SIZE rcvd: 280 -
Resolve deleting zone in server andadd zone and edit zone. 0 -
Hi @speckados Can you clarify your last response? Are you indicating that the issue has been resolved? Thanks! 0 -
Yes. I solve with steps: - Backup zone
- Delete zone
- Add zone simple
- Add manually some address of zone
0 -
Hi @speckados Thank you for clarifying and I'm really happy to see it's working properly for you now! 0
Please sign in to leave a comment.
Comments
8 comments