My website is not resolving correctly, so I checked the name server via nslookup in PowerShell and see bodis.com. Then I checked online, hoping I checked the same name server, and see domaincontrol.com.
Why the discrepancy? Aren't both lookups checking the 1.1.1.1 name server?
I did ipconfig /flushdns
on my local machine.
Here is the local result via PowerShell:
PS C:\Users\[username]> nslookup -d2 -type=NS example.com
------------
SendRequest(), len 38
HEADER:
opcode = QUERY, id = 1, rcode = NOERROR
header flags: query, want recursion
questions = 1, answers = 0, authority records = 0, additional = 0
QUESTIONS:
1.1.1.1.in-addr.arpa, type = PTR, class = IN
------------
------------
Got answer (67 bytes):
HEADER:
opcode = QUERY, id = 1, rcode = NOERROR
header flags: response, want recursion, recursion avail.
questions = 1, answers = 1, authority records = 0, additional = 0
QUESTIONS:
1.1.1.1.in-addr.arpa, type = PTR, class = IN
ANSWERS:
-> 1.1.1.1.in-addr.arpa
type = PTR, class = IN, dlen = 17
name = one.one.one.one
ttl = 1237 (20 mins 37 secs)
------------
Server: one.one.one.one
Address: 1.1.1.1
------------
SendRequest(), len 42
HEADER:
opcode = QUERY, id = 2, rcode = NOERROR
header flags: query, want recursion
questions = 1, answers = 0, authority records = 0, additional = 0
QUESTIONS:
example.com, type = NS, class = IN
------------
------------
Got answer (84 bytes):
HEADER:
opcode = QUERY, id = 2, rcode = NOERROR
header flags: response, want recursion, recursion avail.
questions = 1, answers = 2, authority records = 0, additional = 0
QUESTIONS:
example.com, type = NS, class = IN
ANSWERS:
-> example.com
type = NS, class = IN, dlen = 12
nameserver = ns1.bodis.com
ttl = 10800 (3 hours)
-> example.com
type = NS, class = IN, dlen = 6
nameserver = ns2.bodis.com
ttl = 10800 (3 hours)
------------
Non-authoritative answer:
example.com
type = NS, class = IN, dlen = 12
nameserver = ns1.bodis.com
ttl = 10800 (3 hours)
example.com
type = NS, class = IN, dlen = 6
nameserver = ns2.bodis.com
ttl = 10800 (3 hours)
Here is the online result from http://www.kloth.net/services/dig.php:
... here is the dig result for example.com from server 1.1.1.1 [dig @1.1.1.1 example.com NS]
; <<>> DiG 9 <<>> @1.1.1.1 example.com NS
; (1 server found)
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 11416
;; flags: qr rd ra; QUERY: 1, ANSWER: 2, AUTHORITY: 0, ADDITIONAL: 0
;; QUESTION SECTION:
;example.com. IN NS
;; ANSWER SECTION:
example.com. 2793 IN NS ns68.domaincontrol.com.
example.com. 2793 IN NS ns67.domaincontrol.com.
;; Query time: 5 msec
;; SERVER: 1.1.1.1#53(1.1.1.1)
;; WHEN: Tue Jan 15 03:11:46 2019
;; MSG SIZE rcvd: 94