Ensure all TXT, SRV, A records are unique · python-zeroconf/python-zeroconf@bef8f59 · GitHub
Skip to content

Commit bef8f59

Browse files
authored
Ensure all TXT, SRV, A records are unique
Fixes issues with shared records being used where they shouldn't be. PTR records should be shared, but SRV, TXT and A/AAAA records should be unique. Whilst mDNS and DNS-SD in theory support shared records for these types of record, they are not implemented in python-zeroconf at the moment. See zeroconf.check_service() method which verifies the service is unique on the network before registering.
1 parent 29432bf commit bef8f59

2 files changed

Lines changed: 91 additions & 20 deletions

File tree

zeroconf/__init__.py

Lines changed: 48 additions & 9 deletions

zeroconf/test.py

Lines changed: 43 additions & 11 deletions

0 commit comments

Comments
 (0)