[avahi] How to stop ipv6 address from being registered

Mark Edwards mark at antsclimbtree.com
Wed Oct 28 23:36:52 PDT 2009


On Oct 28, 2009, at 7:46 PM, Trent Lloyd <lathiat at bur.st> wrote:

> Mark,
>
> On 29/10/2009, at 8:51 AM, Mark Edwards wrote:
>
>> I am running avahi-daemon 0.6.22 on Ubuntu 8.04, and it publishes an
>> ipv6 address even though I'm trying to tell it not to:
>>
>> Oct 28 17:45:09 labserver avahi-daemon[9603]: avahi-daemon 0.6.22
>> starting up.
>> Oct 28 17:45:09 labserver avahi-daemon[9603]: Successfully called
>> chroot().
>> Oct 28 17:45:09 labserver avahi-daemon[9603]: Successfully dropped
>> remaining capabilities.
>> Oct 28 17:45:09 labserver avahi-daemon[9603]: No service file found
>> in /etc/avahi/services.
>> Oct 28 17:45:09 labserver avahi-daemon[9603]: Joining mDNS multicast
>> group on interface eth0.IPv4 with address 192.168.1.101.
>> Oct 28 17:45:09 labserver avahi-daemon[9603]: New relevant interface
>> eth0.IPv4 for mDNS.
>> Oct 28 17:45:09 labserver avahi-daemon[9603]: Network interface
>> enumeration completed.
>> Oct 28 17:45:09 labserver avahi-daemon[9603]: Registering new address
>> record for fe80::211:d8ff:fe33:766e on eth0.*.
>> Oct 28 17:45:09 labserver avahi-daemon[9603]: Registering new address
>> record for 192.168.1.101 on eth0.IPv4.
>> Oct 28 17:45:09 labserver avahi-daemon[9603]: Registering HINFO  
>> record
>> with values 'I686'/'LINUX'.
>> Oct 28 17:45:10 labserver avahi-daemon[9603]: Server startup  
>> complete.
>> Host name is labserver.local. Local service cookie is 3357143783.
>>
>>
>> This is despite the fact that I have these settings in /etc/avahi/
>> avahi-daemon.conf:
>>
>> use-ipv4=true
>> use-ipv6=false
>> publish-a-on-ipv6=no
>
> Try set publish-aaaa-on-ipv4=no also
>
> Thanks,
> Trent

That seems to do it.  This seems counter to the documentation, which  
states that these settings don't have an effect if use-ipv6 is false.   
I guess having any of them set triggers registration?

Thanks!


More information about the avahi mailing list