Closed thom-nic closed 1 year ago
Hi, and sorry for the extremely late reply! I changed jobs around the time of this report and it turned a lot of things upside down for me.
I cannot reproduce this with the latest master, seems to have been fixed by @fzs in 54a4575.
Edit: updated the title and description because the real issue is not just the typo.
Typo in warning:
conlicting
->conflicting
https://github.com/troglobit/mdnsd/blob/60155281eda65642ab8fcecb555137645299660a/src/mdnsd.c#L65Also, I found that mdnsd v0.11 gets into a loop where conflict detection keeps being triggered, presumably because mdnsd is responding to its own query?
Example log snippet:
In this case I was invoking the program as simply
mdnsd
. I noticed if I called it asmdnsd -i eth0
behavior appears to change.I also noticed another difference between v0.10 and v0.11. The host running
mdnsd
has both an autoIP address and a DHCP address. output fromip a
:When I query using
resolvectl
from another host, v0.11 gives the autoIP address:$ resolvectl query -p mdns foobar.local foobar.local: 10.0.42.195 -- link: eno1
-- Information acquired via protocol mDNS/IPv4 in 1.5ms. -- Data is authenticated: no