forked from avahi/nss-mdns
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Check for "local" SOA unicast records before doing an mDNS lookup
If a DNS operator has records for "local" they probably don't want mDNS to override them. The standard way to tell this is by doing an SOA lookup for "local" and refusing to do an mDNS lookup if unicast DNS claims authority. This change allows avahi to always run and perform service discovery while continuing to allow unicast DNS servers to return A and AAAA records for "local" names. Problematic boot time detection is no longer required, and since SOA resolution is done as needed, clients will dynamically react to configuration updates of unicast "local" resolution. See Apple's description of their implementation of this functionality: https://support.apple.com/en-us/HT201275
- Loading branch information
Showing
2 changed files
with
35 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters