Disable automatic "Fallback" IP on 9.0-RC2 when a hostname cannot be resolved

Michael Ross gmx at ross.cx
Sat Nov 26 17:18:07 UTC 2011

Am 26.11.2011, 16:44 Uhr, schrieb Moritz Wilhelmy <moritz at wzff.de>:

> Hello,
> my 9.0-RC2 installation on furnace.wzff.de keeps connecting to wzff.de
> if a hostname cannot be resolved. E.g. telnet foobar 25 connects me to
> the SMTP server on wzff.de, same thing for another jail that uses a
> subdomain of barfooze.de and tries to connect to barfooze.de if it can't
> find a suitable DNS or /etc/hosts record.
> I dislike when computers try to be smart like this, and I can't really
> think how this is useful, and it also doesn't happen on another machine
> that has a subdomain of something set as hostname and is running 8.2, so
> I want to disable it. Can anyone give me a hint how to do it?

Add e. g. ``search local'' to /etc/resolv.conf.
The behaviour is explained in man resolv.conf, "search".

Or disable wildcard entries in your dns server config.



More information about the freebsd-questions mailing list