DNS NSlookup Debugging TLD

Alex Guerrero 0 Reputation points
2023-07-12T19:18:35.88+00:00

I have been searching the internet and have not found the answer to my question and I don't know if this is the correct location to ask it. BUT when you are using the exhaustive debugging (set d2) option of nslookup, it seems to omit information? Either that or I don't know how it works properly (most likely the case). below I pasted some information to kind of explain what I am talking about. When you are on a subdomain and you attempt to nslookup anything not within your TLD it seems to not show any information above that. you can see when I nslookup facebook.com it "climbs" up the ladder from the subdomain that I am on from facebook.com.mcces.usmc.mil to facebook.com.usmc.mil but it seems to skip facebook.com.mil and the facebook.com. .If there is some sort of documentation I could read to learn more it would be greatly appreciated. This is not an issue but purely academic. Any assistance would be greatly appreciated!

C:\Users\alexander.guerrero>nslookup

Default Server: WOCCDC01.WOCC.USMC.MIL

Address: X.X.X.X

set d2

facebook.com

Server: WOCCDC01.WOCC.USMC.MIL

Address: X.X.X.X


SendRequest(), len 45

HEADER: 

    opcode = QUERY, id = 2, rcode = NOERROR 

    header flags:  query, want recursion 

    questions = 1,  answers = 0,  authority records = 0,  additional = 0 



QUESTIONS: 

    facebook.com.mcces.usmc.mil, type = A, class = IN 


Got answer (102 bytes):

HEADER: 

    opcode = QUERY, id = 2, rcode = NXDOMAIN 

    header flags:  response, want recursion, recursion avail. 

    questions = 1,  answers = 0,  authority records = 1,  additional = 0 



QUESTIONS: 

    facebook.com.mcces.usmc.mil, type = A, class = IN 

AUTHORITY RECORDS: 

->  mcces.usmc.mil 

    type = SOA, class = IN, dlen = 45 

    ttl = 900 (15 mins) 

    primary name server = mccesdc02.mcces.usmc.mil 

    responsible mail addr = hostmaster.mcces.usmc.mil 

    serial  = 189488 

    refresh = 900 (15 mins) 

    retry   = 600 (10 mins) 

    expire  = 86400 (1 day) 

    default TTL = 3600 (1 hour) 


SendRequest(), len 45

HEADER: 

    opcode = QUERY, id = 3, rcode = NOERROR 

    header flags:  query, want recursion 

    questions = 1,  answers = 0,  authority records = 0,  additional = 0 



QUESTIONS: 

    facebook.com.mcces.usmc.mil, type = AAAA, class = IN 


Got answer (102 bytes):

HEADER: 

    opcode = QUERY, id = 3, rcode = NXDOMAIN 

    header flags:  response, want recursion, recursion avail. 

    questions = 1,  answers = 0,  authority records = 1,  additional = 0 



QUESTIONS: 

    facebook.com.mcces.usmc.mil, type = AAAA, class = IN 

AUTHORITY RECORDS: 

->  mcces.usmc.mil 

    type = SOA, class = IN, dlen = 45 

    ttl = 900 (15 mins) 

    primary name server = mccesdc02.mcces.usmc.mil 

    responsible mail addr = hostmaster.mcces.usmc.mil 

    serial  = 189488 

    refresh = 900 (15 mins) 

    retry   = 600 (10 mins) 

    expire  = 86400 (1 day) 

    default TTL = 3600 (1 hour) 


SendRequest(), len 39

HEADER: 

    opcode = QUERY, id = 4, rcode = NOERROR 

    header flags:  query, want recursion 

    questions = 1,  answers = 0,  authority records = 0,  additional = 0 



QUESTIONS: 

    facebook.com.usmc.mil, type = A, class = IN 

DNS request timed out.

timeout was 2 seconds. 

timeout (2 secs)

SendRequest failed


SendRequest(), len 39

HEADER: 

    opcode = QUERY, id = 5, rcode = NOERROR 

    header flags:  query, want recursion 

    questions = 1,  answers = 0,  authority records = 0,  additional = 0 



QUESTIONS: 

    facebook.com.usmc.mil, type = AAAA, class = IN 


Got answer (101 bytes):

HEADER: 

    opcode = QUERY, id = 5, rcode = NXDOMAIN 

    header flags:  response, want recursion, recursion avail. 

    questions = 1,  answers = 0,  authority records = 1,  additional = 0 



QUESTIONS: 

    facebook.com.usmc.mil, type = AAAA, class = IN 

AUTHORITY RECORDS: 

->  usmc.mil 

    type = SOA, class = IN, dlen = 50 

    ttl = 58 (58 secs) 

    primary name server = ns1-east.usmc.mil 

    responsible mail addr = mccog_nic_admins.usmc.mil 

    serial  = 2022513010 

    refresh = 3600 (1 hour) 

    retry   = 360 (6 mins) 

    expire  = 604800 (7 days) 

    default TTL = 900 (15 mins) 


SendRequest(), len 30

HEADER: 

    opcode = QUERY, id = 6, rcode = NOERROR 

    header flags:  query, want recursion 

    questions = 1,  answers = 0,  authority records = 0,  additional = 0 



QUESTIONS: 

    facebook.com, type = A, class = IN 


Got answer (46 bytes):

HEADER: 

    opcode = QUERY, id = 6, rcode = NOERROR 

    header flags:  response, want recursion, recursion avail. 

    questions = 1,  answers = 1,  authority records = 0,  additional = 0 



QUESTIONS: 

    facebook.com, type = A, class = IN 

ANSWERS: 

->  facebook.com 

    type = A, class = IN, dlen = 4 

    internet address = 31.13.88.35 

    ttl = 130 (2 mins 10 secs) 

Non-authoritative answer:


SendRequest(), len 30

HEADER: 

    opcode = QUERY, id = 7, rcode = NOERROR 

    header flags:  query, want recursion 

    questions = 1,  answers = 0,  authority records = 0,  additional = 0 



QUESTIONS: 

    facebook.com, type = AAAA, class = IN 


Got answer (58 bytes):

HEADER: 

    opcode = QUERY, id = 7, rcode = NOERROR 

    header flags:  response, want recursion, recursion avail. 

    questions = 1,  answers = 1,  authority records = 0,  additional = 0 



QUESTIONS: 

    facebook.com, type = AAAA, class = IN 

ANSWERS: 

->  facebook.com 

    type = AAAA, class = IN, dlen = 16 

    AAAA IPv6 address = 2a03:2880:f111:181:face:b00c:0:25de 

    ttl = 130 (2 mins 10 secs) 

Name: facebook.com

Addresses: 2a03:2880:f111:181:face:b00c:0:25de

      31.13.88.35
Windows for business | Windows Client for IT Pros | Networking | Network connectivity and file sharing
Windows for business | Windows Client for IT Pros | User experience | Other
0 comments No comments
{count} votes

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.