I am confused about setting my resolv.conf.

What is the difference between search [DNS server] and nameserver [DNS server]

Do both of those refer to the DNS server?

  • 2
    You mark a question as answered by clicking on the small tick under the answer, not by changing the title as SOLVED.
    – Journeyman Geek
    Nov 10 '13 at 5:56
  • 1
    Click the white check button under the answer to mark the answer as correct.
    – Jon
    Nov 10 '13 at 5:59

Search defines which domains shall be searched for partial computer names. Nameserver defines which servers shall be queried. See:http://linux.die.net/man/5/resolv.conf

  • 1
    Please flag the question as answered Nov 9 '13 at 17:13

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.