]> git.ipfire.org Git - thirdparty/systemd.git/commit
resolved: set cache-flush bit on mDNS responses
authorDmitry Rozhkov <dmitry.rozhkov@linux.intel.com>
Tue, 31 Oct 2017 08:34:58 +0000 (10:34 +0200)
committerDmitry Rozhkov <dmitry.rozhkov@linux.intel.com>
Fri, 8 Dec 2017 12:29:27 +0000 (14:29 +0200)
commit748a548e1b4fbecc7d7de12a6c0e87979810ac46
tree4e9942178f5d9efc37de6242e9d0bf89355f9f0f
parent008d4ab7a2d06d719fe9d054a0b1bc9495e3a797
resolved: set cache-flush bit on mDNS responses

From RFC 6762, Section 10.2
"They (the rules about when to set the cache-flush bit) apply to
startup announcements as described in Section 8.3, "Announcing",
and to responses generated as a result of receiving query messages."

So, set the cache-flush bit for mDNS answers except for DNS-SD
service enumerattion PTRs described in RFC 6763, Section 4.1.
src/resolve/resolved-dns-zone.c