[Dnsmasq-discuss] Config file length / performance question

Johann MacDonagh johann at macdonaghs.com
Sun Dec 7 11:32:06 GMT 2008


On Sun, Dec 7, 2008 at 1:46 AM, Simon Kelley <simon at thekelleys.org.uk> wrote:
> If windows as requesting option 12, then it will be sent as "vm0101", in
> your example.
>
> Are you sure that windows will take the hostname via DHCP? Windows hosts
> normally work the other way around, ie the host tells the DHCP server what
> its name is.
>
> If the windows DHCP doesn't ask for the hostname, but still honours it whne
> sent, then --dhcp-option-force is your friend.

After some tests, it appears that Windows XP does not honor requests.
How rude. ;) I added

dhcp-option-force=12,text

into the conf file, fired up Wireshark on Backtrack sniffing the
traffic, and watched the DHCP ACK. It sent option 12, but Windows
didn't care.

> Fot clarification, are the "host name already exists" messages from Windows,
> or dnsmasq?

It appears in Windows in the system tray as a yellow exclamation mark.
It's not a show stopper at all, but it would be nice to get around
this. Does anyone know how to make windows use the option 12 it was
sent?

Johann



More information about the Dnsmasq-discuss mailing list