Entries in the resolv.conf
- by Carsten
I am using 12.04 and have a problem with my resolv.conf
There are 2 search lines there. But I can only explain one. I would like to get the other one removed.
carsten@myubuntubox:~$ cat /etc/resolv.conf
# Dynamic resolv.conf(5) file for glibc resolver(3) generated by resolvconf(8)
# DO NOT EDIT THIS FILE BY HAND -- YOUR CHANGES WILL BE OVERWRITTEN
nameserver 127.0.0.1
search aaaa.bbb.example.net
search something
nameserver 1.2.3.4
nameserver 1.2.3.5
I can't explain the search aaaa.bbb.example.net Where does it come from?
The last 3 lines (like I want come from /etc/resolvconf/resolv.conf.d/tail This is good.
But where is the other search line coming from? In /etc/dhcp/dhclient I removed the requests for domain-name-servers, domain-search, but the lines are still in there.
Should I remove the dhcp6.domain-search as well?