Date: Wed, 23 Feb 2011 14:40:11 GMT From: Piotr KUCHARSKI <nospam@42.pl> To: freebsd-net@FreeBSD.org Subject: Re: misc/154943: ifconfig gifX create on existing gifX clears IP Message-ID: <201102231440.p1NEeBUW058369@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
The following reply was made to PR kern/154943; it has been noted by GNATS.
From: Piotr KUCHARSKI <nospam@42.pl>
To: bug-followup@freebsd.org
Cc:
Subject: Re: misc/154943: ifconfig gifX create on existing gifX clears IP
Date: Wed, 23 Feb 2011 15:34:27 +0100
I also found why 'getent hosts create' was resolving:
my resolv.conf had no "search" option set, and manual says:
search Search list for host-name lookup. The search list is nor‐
mally determined from the local domain name; by default, it
contains only the local domain name.
My hostname is 42.pl, same as domain name, but I guess some code
simply chops off first component and domain name was automatically
set to "pl" and getent found "create.pl".
How about not chopping off first component in such a case? :)
In addition to not resolving ifconfig command names? :)
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201102231440.p1NEeBUW058369>
