0

I am trying to get a domain xxx.yy into the /etc/resolv.conf. Before, there are only nameserver entries. I add the domain to the previously empty /etc/resolvconf/resolv.conf.d/base. After running resolvconf -u, /etc/resolv.conf contains a search xxx.yy instead of the domain xxx.yy. Why does this happen?

rausch
  • 896

1 Answers1

1

It happens because the search feature supersedes the domain feature. Unlike domain, search accepts multiple arguments.

Consider domain to be obsolete.

jdthood
  • 12,467