Sorry to bring this up again, but I did some reading here: http://www.tldp.org/HOWTO/DNS-HOWTO-3.html and did the tests mentioned on the page, that resulted in this:
; <<>> DiG 9.9.4-RedHat-9.9.4-29.el7_2.4 <<>> -x 127.0.0.1
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 46671
;; flags: qr aa rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 1, ADDITIONAL: 3
;; OPT PSEUDOSECTION:
; EDNS: version: 0, flags:; udp: 4096
;; QUESTION SECTION:
;1.0.0.127.in-addr.arpa. IN PTR
;; ANSWER SECTION:
1.0.0.127.in-addr.arpa. 86400 IN PTR localhost.
;; AUTHORITY SECTION:
127.in-addr.arpa. 86400 IN NS localhost.
;; ADDITIONAL SECTION:
localhost. 604800 IN A 127.0.0.1
localhost. 604800 IN AAAA ::1
;; Query time: 0 msec
;; SERVER: 116.93.119.119#53(116.93.119.119)
;; WHEN: Sun Oct 02 11:38:46 CDT 2016
;; MSG SIZE rcvd: 132
And this “;; SERVER: 116.93.119.119#53(116.93.119.119)” is my Public IP not used (I thought) according to Virtualmin…
[root@ns1 ~]# dig pat.uio.no; <<>> DiG 9.9.4-RedHat-9.9.4-29.el7_2.4 <<>> pat.uio.no
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 26462
;; flags: qr rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 13, ADDITIONAL: 1
;; OPT PSEUDOSECTION:
; EDNS: version: 0, flags:; udp: 4096
;; QUESTION SECTION:
;pat.uio.no. IN A
;; ANSWER SECTION:
pat.uio.no. 21599 IN A 129.240.6.150
;; AUTHORITY SECTION:
. 207 IN NS j.root-servers.net.
. 207 IN NS l.root-servers.net.
. 207 IN NS k.root-servers.net.
. 207 IN NS i.root-servers.net.
. 207 IN NS a.root-servers.net.
. 207 IN NS f.root-servers.net.
. 207 IN NS c.root-servers.net.
. 207 IN NS h.root-servers.net.
. 207 IN NS e.root-servers.net.
. 207 IN NS b.root-servers.net.
. 207 IN NS g.root-servers.net.
. 207 IN NS m.root-servers.net.
. 207 IN NS d.root-servers.net.
;; Query time: 375 msec
;; SERVER: 116.93.119.119#53(116.93.119.119)
;; WHEN: Sun Oct 02 11:39:49 CDT 2016
;; MSG SIZE rcvd: 266
Now that site says If I get the above responses it’s working as a Nameserver…
And Out of curiosity I did my IP for my server (Forum) and got this:
; <> DiG 9.9.4-RedHat-9.9.4-29.el7_2.4 <> -x 116.93.120.121 ;; global options: +cmd ;; Got answer: ;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 2944 ;; flags: qr rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 7, ADDITIONAL: 8;; OPT PSEUDOSECTION:
; EDNS: version: 0, flags:; udp: 4096
;; QUESTION SECTION:
;121.120.93.116.in-addr.arpa. IN PTR
;; ANSWER SECTION:
121.120.93.116.in-addr.arpa. 2285 IN PTR ns1.android-x86.net.
;; AUTHORITY SECTION:
116.in-addr.arpa. 48360 IN NS tinnie.arin.net.
116.in-addr.arpa. 48360 IN NS apnic1.dnsnode.net.
116.in-addr.arpa. 48360 IN NS ns3.apnic.net.
116.in-addr.arpa. 48360 IN NS ns1.apnic.net.
116.in-addr.arpa. 48360 IN NS apnic.authdns.ripe.net.
116.in-addr.arpa. 48360 IN NS ns4.apnic.net.
116.in-addr.arpa. 48360 IN NS ns2.lacnic.net.
;; ADDITIONAL SECTION:
ns1.apnic.net. 519 IN A 202.12.29.25
ns2.lacnic.net. 1135 IN A 200.3.13.11
ns3.apnic.net. 106 IN A 202.12.28.131
ns4.apnic.net. 695 IN A 202.12.31.140
apnic.authdns.ripe.net. 367 IN A 193.0.9.9
apnic1.dnsnode.net. 1480 IN A 194.146.106.106
tinnie.arin.net. 37209 IN A 199.212.0.53
;; Query time: 0 msec
;; SERVER: 116.93.119.119#53(116.93.119.119)
;; WHEN: Sun Oct 02 11:45:08 CDT 2016
;; MSG SIZE rcvd: 374
Now my question is, Is this the correct (current) way to test the Nameserver, and if not can someone tell me the commands I can use on the server to test it?
The reason I’m asking, and I’ve been thinking this since I started trying to get the Nameserver working, Is I believe my registrar is “BSing” me telling me it’s not working, and need to know before I get on them about it…
Thanks,
Mike