This is what my resolv.conf looks like:
# 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 46.38.225.230
nameserver 46.38.252.230
search megasrv.de
It has a search megasrv.de
line in there (and the dns resolvers). This is presumably so you can look up other servers from this provider just by their random hostname.
However, this is useless since I set my own hostnames. Because of that, I'd like to change this either to my domain, so the output of hostname -f
is correct.
However, it is not clear to me where this line is coming from. All the files in /etc/resolvconf/resolvconf.d/
are empty, except for the warning above. Yet after editing the files, the come back when I do resolvconf -u