Question about nslookup

Denys Vlasenko vda.linux at googlemail.com
Fri Mar 19 20:13:21 UTC 2010


On Fri, Mar 19, 2010 at 5:26 PM, Didier Kryn <kryn at in2p3.fr> wrote:
> fact is that even with the correct resolv.conf (the same
> as outside the chroot) it does not work.
> Of course the next step will be to
> obtain the resolv.conf from the dhcp answer.

strace, and/or tcpdump log will show what's going on.

> Maybe there is a new feature but this is the fist time
> I read that DHCP server provide address names.
> And it does not seem that udhcpc gets it.

It's DHCP option 0x0c, "hostname". dhcpcd does not support
emitting it (it just sends back the same hostname
which client sent in DHCP discover, if any),
but other DHCP servers can be configured to send back
hostnames using this DHCP option.

See, for example, this discussion:

https://bugs.launchpad.net/ubuntu/+source/dhcp3/+bug/90388

-- 
vda


More information about the busybox mailing list