[Dnsmasq-discuss] Dual stack setup for dnsmasq

Sheng Yang sheng at yasker.org
Wed Feb 13 21:43:13 GMT 2013


Yes.

in /etc/hosts

10.223.161.44 vm1
fc00:3:1610::ff14:3 vm1

Is that allowed?

--Sheng

On Wed, Feb 13, 2013 at 1:07 PM, Simon Kelley <simon at thekelleys.org.uk> wrote:
> 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.
>
> _______________________________________________
> 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