I recently changed from external to internal DNS and I recognised, that the DNS is configured quite strange.
I was expecting, that I update all domains' ns-record with the new ns IPs and that's it. However, I need to update each domain to ns1.<domain.tld> and ns2.<domain.tld> with the corresponding IPs where the website is running on (i. e. not the server Base IP).
Example:
Code
- dig <domain.tld> SOA
- ; <<>> DiG 9.10.3-P4-Ubuntu <<>> <domain.tld> SOA
- ;; global options: +cmd
- ;; Got answer:
- ;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 53424
- ;; flags: qr rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 0, ADDITIONAL: 1
- ;; OPT PSEUDOSECTION:
- ; EDNS: version: 0, flags:; udp: 1460
- ;; QUESTION SECTION:
- ;<domain.tld>. IN SOA
- ;; ANSWER SECTION:
- <domain.tld>. 10800 IN SOA ns1.<domain.tld>. hostmaster.<domain.tld>. 2016042303 10800 3600 1209600 3600
- ;; Query time: 34 msec
- ;; SERVER: 127.0.1.1#53(127.0.1.1)
- ;; WHEN: Wed May 04 23:43:14 CEST 2016
- ;; MSG SIZE rcvd: 91
It would be a great enhancement, to have all DNS records like nsX.base-domain.tld or a freely chosen domain name.