mdns_lite icon indicating copy to clipboard operation
mdns_lite copied to clipboard

Listen on IPv6 addresses and support AAAA records

Open fhunleth opened this issue 6 years ago • 2 comments

IPv6 has one feature that's really nice and that's the ability to start with an IPv6 address already assigned and not need a DHCP server to work. IPv4 can do a similar thing with Link Local addressing, but that usually only works after DHCP fails.

It looks like the following changes are required for IPv6 support:

  1. Remove the filter that prevents responders from being started on IPv6 addresses
  2. Change the call to gen_udp to listen on the mDNS IPv6 address
  3. Use AAAA records instead of A ones

fhunleth avatar Aug 25 '19 14:08 fhunleth

Would we support IPv4 a welll as IPv6? Would the user be able to choose between two?

pcmarks avatar Aug 30 '19 14:08 pcmarks

Yes, I would expect both to be working at the same time. I don’t think it’s necessary to support turning one or the other off.

fhunleth avatar Aug 30 '19 15:08 fhunleth