DNS Lab Q.9 (why search is required to solve the example)


let me the know the answer
DNS Lab Q.9 (why search is required to solve the example)

search is used to specify default search domains if the DNS query does not include a domain name

Without it

nslookup news.yahoo.com

will work.

nslookup news

will fail

If you put the search term in, then the resolver will automatically try news.yahoo.com when you only provide news and the second command above will not fail.

1 Like

thank you @Alistair_KodeKloud