[avahi] avahi-browser returns IPv6 address rarely instead of ipv4
Trent Lloyd
lathiat at bur.st
Thu Jan 29 16:18:27 PST 2009
Hi Sunararaj,
On 30/01/2009, at 1:25 AM, sundararaj reel wrote:
> Hi all,
>
> Very seldom avahi-browse returns ipv6 address instead of IPv4
> address. Why does this happen ?
Avahi returns whichever IP it happens upon first.
>
>
> $ avahi-browse -t -r -l _reelboxAVG._tcp
> [...]
> = eth1 IPv4 RBServer
> _reelboxAVG._tcp local
> hostname = [RBServer.local]
> address = [fe80::2e0:f4ff:fe17:b2f3]
> port = [2001]
> txt = []
> [...]
>
> How can this behaviour be disabled ? Setting use-ipv6=no in /etc/
> avahi/avahi-daemon.conf ?
Yes, this should "resolve" the issue.
Note that if your application only supports ipv4 .. your -application-
can request to publish on v4 only. (and browse on v4 only) without
disabling v6 system wide.
Regards,
Trent
More information about the avahi
mailing list