misc/154943: ifconfig gifX create on existing gifX clears IP
Piotr KUCHARSKI
nospam at 42.pl
Wed Feb 23 14:40:11 UTC 2011
The following reply was made to PR kern/154943; it has been noted by GNATS.
From: Piotr KUCHARSKI <nospam at 42.pl>
To: bug-followup at 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? :)
More information about the freebsd-net
mailing list