[Dnsmasq-discuss] PATCH: Address some FQDN issues
Roy Marples
roy at marples.name
Mon Jul 22 17:56:38 BST 2013
Hi
I've been working on some FQDN issues with dnsmasq. This patch addresses
the following:
* FQDN with just a hostname is NOT terminated (rfc4702 2.3)
* Allow a blank FQDN message to request the hostname (rfc4702 2.3)
(assuming no normal hostname option asked for)
* if expand_hosts is set, send the domain_suffix if no domain supplied
Example config for the last item
expand-hosts
domain=marples.name
dhcp-host=ff:ff:ff:ff:ff:ff,10.1.2.3,foo
dhcp-host=,id:ff:ff:ff,foo
So for both DHCPv4 and DHCPv6 (the example is for INFORM, but also works
for other types) the returned FQDN is foo.marples.name
Thanks
Roy
-------------- next part --------------
A non-text attachment was scrubbed...
Name: dnsmasq-fqdn.diff
Type: text/x-diff
Size: 2952 bytes
Desc: not available
URL: <http://lists.thekelleys.org.uk/pipermail/dnsmasq-discuss/attachments/20130722/ef31469e/attachment.diff>
More information about the Dnsmasq-discuss
mailing list