[avahi] mDNS service lookup on host with limited network

Ico avahi at zevv.nl
Mon Nov 7 14:02:12 UTC 2016


In case anyone is reading this, here is some more info.

- I've built avahi 0.6.32 from source on Debian Sid and CentOS 6.
  Functions as expected on Debian, but still no result on CentOS 6.

- Sending SIGUSR1 to avahi daemon shows the proper list of records, but
  requesting over dbus only returns CacheExhausted, as inspected with
  dbus-monitor

Any help very much appreciated.


Result of SIGUSR1

Got SIGUSR1, dumping record data.
;;; ZONE DUMP FOLLOWS ;;;
_services._dns-sd._udp.local	IN	PTR _nginx._tcp.local ; ttl=4500 ; iface=-1 proto=-1
scproxy._nginx._tcp.local	IN	TXT  ; ttl=4500 ; iface=-1 proto=-1
scproxy._nginx._tcp.local	IN	SRV 0 0 7000 development.local ; ttl=120 ; iface=-1 proto=-1
_nginx._tcp.local	IN	PTR scproxy._nginx._tcp.local ; ttl=4500 ; iface=-1 proto=-1
_services._dns-sd._udp.local	IN	PTR _ssh._tcp.local ; ttl=4500 ; iface=-1 proto=-1
development._ssh._tcp.local	IN	TXT  ; ttl=4500 ; iface=-1 proto=-1
development._ssh._tcp.local	IN	SRV 0 0 22 development.local ; ttl=120 ; iface=-1 proto=-1
_ssh._tcp.local	IN	PTR development._ssh._tcp.local ; ttl=4500 ; iface=-1 proto=-1
_services._dns-sd._udp.local	IN	PTR _nginx._tcp.local ; ttl=4500 ; iface=-1 proto=-1
xproxy._nginx._tcp.local	IN	TXT  ; ttl=4500 ; iface=-1 proto=-1
xproxy._nginx._tcp.local	IN	SRV 0 0 7001 development.local ; ttl=120 ; iface=-1 proto=-1
_nginx._tcp.local	IN	PTR xproxy._nginx._tcp.local ; ttl=4500 ; iface=-1 proto=-1
_services._dns-sd._udp.local	IN	PTR _nginx._tcp.local ; ttl=4500 ; iface=-1 proto=-1
yproxy._nginx._tcp.local	IN	TXT  ; ttl=4500 ; iface=-1 proto=-1
yproxy._nginx._tcp.local	IN	SRV 0 0 7003 development.local ; ttl=120 ; iface=-1 proto=-1
_nginx._tcp.local	IN	PTR yproxy._nginx._tcp.local ; ttl=4500 ; iface=-1 proto=-1
0.0.0.11.in-addr.arpa	IN	PTR development.local ; ttl=120 ; iface=4 proto=0
development.local	IN	A 11.0.0.0 ; ttl=120 ; iface=4 proto=0
8.a.f.1.1.5.e.f.f.f.2.9.c.9.4.e.0.0.0.0.0.0.0.0.0.0.0.0.0.8.e.f.ip6.arpa	IN	PTR development.local ; ttl=120 ; iface=4 proto=-1
development.local	IN	AAAA fe80::e49c:92ff:fe51:1fa8 ; ttl=120 ; iface=4 proto=-1
;;; INTERFACE dummy0.IPv6 ;;;
;;; CACHE DUMP FOLLOWS ;;;
;;; INTERFACE dummy0.IPv4 ;;;
;;; CACHE DUMP FOLLOWS ;;;
;; WIDE AREA CACHE ;;; 


output of dbus-monitor --system:

signal sender=org.freedesktop.DBus -> dest=(null destination) serial=6 path=/org/freedesktop/DBus; interface=org.freedesktop.DBus; member=NameOwnerChanged
   string ":1.85"
   string ""
   string ":1.85"
signal sender=:1.84 -> dest=:1.85 serial=10 path=/Client0/ServiceTypeBrowser1; interface=org.freedesktop.Avahi.ServiceTypeBrowser; member=CacheExhausted
signal sender=:1.84 -> dest=:1.85 serial=11 path=/Client0/ServiceTypeBrowser1; interface=org.freedesktop.Avahi.ServiceTypeBrowser; member=AllForNow

-- 
:wq
^X^Cy^K^X^C^C^C^C


More information about the avahi mailing list