Name Resolution Tools Flashcards
what handles all lookups for me for Name Resolution most of the time?
My OS
What is the most common command line tool for running DNS lookups?
nslookup
Finding what server was used to perform the request and the resolution result
nslookup <host></host>
how to find the IP address for twitter.com?
nslookup twitter.com
What is the response to nslookup called?
the a record
What does an interactive nslookup session let me do?
set additional options and run lots of queries in a row.
how do I start an interactive nslookup session?
nslookup, without any host name following.
what does interactive mode of nslookup look like?
I’ll get to the next line, and I’ll see an > acting as my prompt. From here, I can make lots of requests in a row and make configurations.
In interactive mode, what happens if I type
server <address>
all the following name resolution queries will be attempted to be made using that server instead of the default name server.
in interactive mode, what happens if I enter set type equals, followed by a resource record type?
by default, nslookup will return A records, but I can ask for any of these https://learn.microsoft.com/en-us/windows-server/administration/windows-commands/nslookup-set-type
I really want to see what’s going on, which will allow the tool to display the full response packets, Including any intermediary requests and all of their contents. Warning; tons of data.
Warning, this is a lot of data and can contain details like the TTL left if it’s a cached response all the way to the serial number of the zone file the request was made against.
set debug