[Dnsmasq-discuss] PATCH: Address some FQDN issues

Simon Kelley simon at thekelleys.org.uk
Wed Jul 24 14:29:02 BST 2013


On 22/07/13 17:56, Roy Marples wrote:
> 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)

Looks good.


> * Allow a blank FQDN message to request the hostname (rfc4702 2.3)
> (assuming no normal hostname option asked for)

Also looks good.

> * if expand_hosts is set, send the domain_suffix if no domain supplied

I think this should happen already: for IPv4 calls to do_options have 
the domain argument which is set to the result of  get_domain(address) 
which will be domain-suffix unless there's a more specific example.



Cheers,

Simon.

>
> 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
>
>
>
> _______________________________________________
> Dnsmasq-discuss mailing list
> Dnsmasq-discuss at lists.thekelleys.org.uk
> http://lists.thekelleys.org.uk/mailman/listinfo/dnsmasq-discuss




More information about the Dnsmasq-discuss mailing list