Brain Teaser DNS question

oslon

Member
Joined
Oct 15, 2023
Messages
40
Reaction score
6
Credits
424
This is not a homework at all. I am trying to re-learn TCP IP protocols in brief detail, but problem is I'm not getting any good idea about how to do. I want to combine these protocols with Linux(centos) practicals. I'm going through tons of books and their exercises to learn and put that into Linux and check myself the output.

Assume that “host1.mydomain.dom” has an IP address of 145.128.16.8. Which of the following options would be most appropriate as a subsequence of steps in performing the reverse lookup of 145.128.16.8? In the following options “NS” is an abbreviation of “nameserver”.
(A) Query a NS for the root domain and then NS for the “dom” domains
(B) Directly query a NS for “dom” and then a NS for “mydomain.dom” domains
(C) Query a NS for in-addr.arpa and then a NS for 128.145.in-addr.arpa domains
(D) Directly query a NS for 145.in-addr.arpa and then a NS for 128.145.in-addr.arpa domains

Please don't google and try to answer it. I'm not looking for such answers, I am instead looking how do I test this in Linux and why?
AFAIK "host 145.128.16.8" command will give me the answer, but I want to hear your perspectives and views on this.


Code:
[root@localhost ~]# nslookup 145.128.16.8
8.16.128.145.in-addr.arpa       name = static.kpnvdc.nl.


Authoritative answers can be found from:
 

Members online


Latest posts

Top