[Dnsmasq-discuss] Dual stack setup for dnsmasq

Simon Kelley simon at thekelleys.org.uk
Wed Feb 13 21:07:55 GMT 2013


On 12/02/13 23:48, Sheng Yang wrote:
> Hi,
>
> I've set up following dhcphost.txt for dual stack support using dnsmasq:
>
> id:00:03:00:01:06:a4:ea:00:00:2c,[fc00:3:1610::ff14:2],test-2,infinite
> 06:a4:ea:00:00:2c,set:10_223_161_42,10.223.161.42,test-2,infinite
>
> Though dnsmasq works fine, it complains about:
>
> Feb 12 23:31:25 dnsmasq-dhcp[2837]: duplicate IP address 10.223.161.42
> (test-2) in dhcp-config directive
> Feb 12 23:31:25 dnsmasq-dhcp[2837]: duplicate IP address
> fc00:3:1610::ff14:2 (test-2) in dhcp-config directive
>
> Seems it didn't expect two entries using the same host name. Is it not
> recommended?
>
>

Do you have addresses for test-2 in /etc/hosts or similar, as well as in 
those lines?


Cheers,
Simon.



More information about the Dnsmasq-discuss mailing list