Clarify what kind of publishing is being performed

#30 · closed · 3 comments

View on GitHub ↗

Wuerger

Can you please add something in the documentation on what kind of mDNS publishing is being done? I have a peculiar observation that makes me ask for this. Consider the following: I use the avahi-publish command to add a 'record' for my host like this: `avahi-publish --address myservice.local --no-reverse 10.10.10.10 &` Now **myservice.local** is resolvable from both Windows and Linux machines. If I use your tool like this: `./go-avahi-cname cname myservice.local.` The name is only resolvable on Linux. I suspect that there is a difference in how names are published with mDNS. Maybe there are 'host' and 'alias' records that work differently? An alias might point to another name whereas a host points to an IP. I have found the same observation with many other mdns publishing tools, except this one: https://github.com/phyber/docker-mdns This image can take NIC as a parameter and use its IP addresses to publish records. I suspect this works like the avahi-publish command does. Anyway would be interesting to know your take on this.

Comments

grishy

@Wuerger An interesting observation, I'll see what the problem is later. Thx!

grishy

@Wuerger Could you capture the traffic via Wireshark or tcpdump using the command I added to fix the error on the computer with go-avahi-cname? **Network Dump:** Example: `sudo tcpdump -i any udp port 5353 -w /tmp/mdns_capture.pcap` (attach here: `/tmp/mdns_capture.pcap`)

Wuerger

I am away from the system and network where this is happening, but I'll get it done when I am back there!