From d686f15c9efbef0d64c3ce7673f1a9ed0e9700ed Mon Sep 17 00:00:00 2001 From: Dmitry Rozhkov Date: Fri, 27 Oct 2017 12:16:54 +0300 Subject: [PATCH] resolved: don't check conflicts for DNS-SD enumeration RRs --- src/resolve/resolved-dns-zone.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/resolve/resolved-dns-zone.c b/src/resolve/resolved-dns-zone.c index 0ed7166e012..dcb9702e577 100644 --- a/src/resolve/resolved-dns-zone.c +++ b/src/resolve/resolved-dns-zone.c @@ -619,6 +619,10 @@ int dns_zone_check_conflicts(DnsZone *zone, DnsResourceRecord *rr) { if (dns_zone_get(zone, rr)) return 0; + /* No conflict if it is DNS-SD RR used for service enumeration. */ + if (dns_resource_key_is_dnssd_ptr(rr->key)) + return 0; + /* OK, somebody else has RRs for the same name. Yuck! Let's * start probing again */ -- 2.47.3