[klibc] Bug#594638: klibc-utils: ipconfig assumes dhcp server is nameserver

maximilian attems max at stro.at
Tue Aug 31 05:21:56 PDT 2010


On Fri, 27 Aug 2010, Vagrant Cascadian wrote:

> 
> ipconfig apparently assumes that the dhcp server's ip address is the
> nameserver when dhcp gives it no nameservers, dhcp gives the nameserver
> 0.0.0.0, or the nameservers are not ip addresses (i.e. ns1.example.org).
> while these scenarios are probably not extremely common, i'm not sure
> this is a good default with no way to disable it. 

hmm, several questions at mind, what do you mean my "dhcp gives the
nameserver" is this the ISC dhcp 3 client?

is that really a sensible thing to do?
what do standards say (aka RFC's pointers)?

we could set it to the public available google server,
as this one might be better working as this guess of
the el cheapy router box?

 
> it prints out the message:
> 
>   IP-Config: eth0 guessed nameserver address 192.168.0.1

according to git history this was added on day 0 of ipconfig,
not that this would justify it.
 
thanks for your input.

-- 
maks



More information about the klibc mailing list