[Dnsmasq-discuss] Windows ipv6 hostname

Markus Hartung mail at hartmark.se
Sun Jan 1 23:46:14 GMT 2017


Happy new year!

I didn't manage to get my windows 10 to send a hostname, but I settled 
with a workaround in the dnsmasq config.

If I add an dhcp-host entry like this but without any ip-address I get 
dnsmasq to add the host correctly in the dns.

   dhcp-host=3e:fa:72:5b:c7:02,carlsberg

So now my lease-file looks like this:

   1483400087 3e:fa:72:5b:c7:02 192.168.1.184 carlsberg 01:3e:fa:72:5b:c7:02
   1483400345 171899506 2001:470:28:6ac::e82c carlsberg 
00:03:00:01:3e:fa:72:5b:c7:02

Before the dhcp-host entry I just had a * on the entry. So now my host 
has a AAAA-record like I wanted in the first place and also I don't have 
it hardcoded to a specific ip-address.

BR,

Markus

On 2016-12-26 15:03, Pali Rohár wrote:
> On Monday 26 December 2016 14:50:41 Markus Hartung wrote:
>>> For dhcpv6 I have own dnsmasq patches which assign ipv6 address
>>> bases on
>>> mac address...
>> That could be interesting with such patch. Is there any reason it
>> haven't been accepted?
> See discussion:
> http://lists.thekelleys.org.uk/pipermail/dnsmasq-discuss/2016q1/010135.html
> http://lists.thekelleys.org.uk/pipermail/dnsmasq-discuss/2016q1/thread.html#10135
>
> Simon did not response about it for 11 months... so I do not know.
> http://lists.thekelleys.org.uk/pipermail/dnsmasq-discuss/2016q4/010885.html
>
>> What I need is just a way for a given mac-address dnsmasq should be
>> informed of the hostname.
> Anyway, dnsmasq has already some support for mac-address in DHCPv6...
>




More information about the Dnsmasq-discuss mailing list