I have two machines with gentoo. One of them is server and runs dnsmasq, which configuration file contain lines like
Code:
address=/binhost/192.168.0.2
address=/anotherhost/192.168.0.3
and so on.
The second one is client, it uses "/bin/busybox udhcpc" as dhcp client. The problem is client cannot find hostnames from dnsmasq config until the interface is restarted. It never works just from the start. Portage cannot find named host to download binary packages from, and traceroute shows no hostname
Code:
# /bin/busybox traceroute 192.168.0.1
traceroute to 192.168.0.1 (192.168.0.1), 30 hops max, 38 byte packets
1 192.168.0.1 (192.168.0.1) 1.279 ms 0.380 ms 1.053 ms
However, once the interface has been restarted…
Code:
# /bin/busybox traceroute 192.168.0.1
traceroute to 192.168.0.1 (192.168.0.1), 30 hops max, 38 byte packets
1 gate.localweb (192.168.0.1) 1.021 ms 0.330 ms 958 ms
net.wlan0 is in runlevel boot.