-2

I need to expand a random name with a choosen domain. Example: nslookup abc 127.0.0.1 -> should look for abc.domainchoosen.dom.

Suggestions?

1 Answers1

5

Add the desired domain to the search line in /etc/resolv.conf. For example:

search example.com
Michael Hampton
  • 244,070
  • 43
  • 506
  • 972