Commit Graph
13 Commits
Author SHA1 Message Date
franck fc8b0bfffd Add negative response handling (RFC 2308)
Synthesize an SOA record for the zone, return it for direct SOA
queries, and include it in the authority section of empty responses
so resolvers can negative-cache properly. RCODE stays NOERROR rather
than NXDOMAIN, since mDNS can't reliably prove non-existence.
2026-08-05 11:01:18 +02:00
franck 006f2cfa89 Restrict published IPv6 addresses to ULA range
Only return AAAA/glue records within fc00::/7, filtering out public
IPv6 addresses in addition to link-local ones.
2026-08-05 10:44:51 +02:00
franck 0fa23ae378 Add IPv6 support
Enable dual-stack mDNS lookups (Zeroconf ip_version was set to a value
that matched no IPVersion member), add AAAA query handling, and include
AAAA glue records for SRV targets. Link-local IPv6/IPv4 addresses are
filtered out since they aren't usable by clients off the local link.
2026-08-05 10:22:32 +02:00
Michael Kuron 159b193cb7 Compatibility with different python-zeroconf versions 2024-03-10 14:23:07 +01:00
Michael Kuron 9cd06d86cf strip additional records before truncating the message 2021-02-28 22:46:29 +01:00
Michael Kuron be42b16652 Fix AirPrint
- Keep TXT record order
- Force replies with more than 512 bytes to go over TCP
2021-02-24 18:50:25 +01:00
Michael Kuron 33762575b6 fix _device-info._tcp 2021-01-24 09:48:23 +01:00
Michael Kuron 020f430194 Don't produce error if get_service_info fails 2020-09-05 12:52:32 +02:00
Michael Kuron 687d9a742a A 2020-08-02 23:01:58 +02:00
Michael Kuron 641276272f SRV with additional 2020-08-02 22:40:58 +02:00
Michael Kuron d244c7caec TXT 2020-08-02 22:20:51 +02:00
Michael Kuron 2a260313de progress 2020-08-02 19:48:23 +02:00
Michael Kuron ad7d2c9f05 rough draft 2020-08-02 17:31:50 +02:00