cannot stop dns on old nameserver
Hello,
I have 2 servers with cpanel. I've been using them with DNS cluster for a while with no problems. now I have transferred all the accounts from the old server to the new one because the old server has cloudlinux 7 (EOL).
after transferring all the accounts I changed the IP values of the ns1 and ns2 nameservers from the registrar using 2 addresses of the new server for both.
doing some tests with dig everything seemed ok so I decided to turn off the DNS service from the old server after removed the DNS cluster.
the result is that the zones are no longer resolved as if the old server still had to resolve them....
now i have reactiveted dns on old server but i cannot understand what is happening.
# dig example.com NS
; <<>> DiG 9.11.36-RedHat-9.11.36-11.el8_9 <<>> example.com NS
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 60044
;; flags: qr rd ra; QUERY: 1, ANSWER: 2, AUTHORITY: 0, ADDITIONAL: 1
;; OPT PSEUDOSECTION:
; EDNS: version: 0, flags:; udp: 512
;; QUESTION SECTION:
;example.com. IN NS
;; ANSWER SECTION:
example.com. 21600 IN NS ns1.example.com.
example.com. 21600 IN NS ns2.example.com.
ip address are correct also for both nameservers:
# dig ns1.example.com A
; <<>> DiG 9.11.36-RedHat-9.11.36-11.el8_9 <<>> ns1.example.com A
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 38822
;; flags: qr rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 0, ADDITIONAL: 1
;; OPT PSEUDOSECTION:
; EDNS: version: 0, flags:; udp: 512
;; QUESTION SECTION:
;ns1.example.com. IN A
;; ANSWER SECTION:
ns1.example.com. 14400 IN A myip1 on new server
;; Query time: 31 msec
;; SERVER: 8.8.8.8#53(8.8.8.8)
;; WHEN: Tue Feb 20 21:18:47 CET 2024
;; MSG SIZE rcvd: 65
# dig ns2.example.com A
; <<>> DiG 9.11.36-RedHat-9.11.36-11.el8_9 <<>> ns2.example.com A
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 44209
;; flags: qr rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 0, ADDITIONAL: 1
;; OPT PSEUDOSECTION:
; EDNS: version: 0, flags:; udp: 512
;; QUESTION SECTION:
;ns2.example.com. IN A
;; ANSWER SECTION:
ns2.example.com. 14400 IN A myip2 on new server
;; Query time: 28 msec
;; SERVER: 8.8.8.8#53(8.8.8.8)
;; WHEN: Tue Feb 20 21:2
both ip address is configured on the new server correctly. i need to check with registar?
what can i do? thanks
-
Did you just update the IP addresses in DNS or did you modify the registered IP at your domain registrar? Name server IP's are "registered" at the domain registrar, so that needs to be updated also.
0 -
yes i have updated to registar
0 -
You also need to adjust the GLUE records there.....Who is the domain registrar? OVH?
Andrew N. - cPanel Plesk VMWare Certified Professional
Do you need immediate assistance? 20 minutes response time!* Open a ticket
EmergencySupport - Professional Server Management and One-time Services0 -
hello,
yes it is OVH.
no i have not added any glue record i just changed ips to existing nameserver on registar....
also i found an error using ripe.net lookup ( this error is not showed with other dns tools like zonemaster)
so , i just need to add glue record in registar like this ?
ns1.example.com 145.239.x.x
ns2.example.com 145.239.x.x
thanks
0 -
problem solved after adding glue record .
thank you very much for help.
0 -
Anytime!
Andrew N. - cPanel Plesk VMWare Certified Professional
Do you need immediate assistance? 20 minutes response time!* Open a ticket
EmergencySupport - Professional Server Management and One-time Services0
Please sign in to leave a comment.
Comments
6 comments