[Dnsmasq-discuss] dhcp-options ignored for tag
simon at thekelleys.org.uk
Tue Feb 7 20:08:37 GMT 2012
On 07/02/12 16:37, John Hanks wrote:
> I'm trying to get dnsmasq to return multiple DNS server entries for
> one of our vlans using tags and am not having much success. Variations
> of dhcp-range I've tried are:
The first of these is the one to go for, but you are seeing the correct
> Then, the options for that tag are:
Don't know why this isn't working: it would be useful to see the
complete configuration here.
OK, this is a special case: because the domain name/hostname is used for
other stuff (like adding to the DNS) it's not possible to just send
option 15, you need to configure dnsmasq's idea of what the domain name
is. For slightly tragic reasons, you can't use the tag system at all to
control this, but you _can_ do it on a subnet basis.
Replacing this option with
should do the trick.
Again, not sure, it looks like a quirk/bug in selecting tagged options
and seeing the whole config would really help.
"bootfile name: pxelinux.0" in the logs implies that there's a dhcp-boot
configuration somewhere. Either set the servername there (and it's a
name, not an IP address) or remove the dhcp-boot and send the filename
as option 67. Don't mix them.
More information about the Dnsmasq-discuss