Andrew Boyson / net

Dependents:   oldheating gps motorhome heating

Revision:
169:336d499dc560
Parent:
160:6a1d1d368f80
Child:
172:9bc3c7b2cca1
--- a/udp/dns/dnsserver.c	Thu Apr 09 08:59:28 2020 +0000
+++ b/udp/dns/dnsserver.c	Tue Dec 01 12:56:34 2020 +0000
@@ -208,6 +208,7 @@
     
     DnsHdrIsReply          = true;
     DnsHdrIsAuthoritative  = false;
+    if (dnsProtocol == DNS_PROTOCOL_MDNS) DnsHdrIsAuthoritative  = true; //See rfc6762 18.4
     DnsHdrIsRecursiveQuery = false;
     
     DnsHdrWrite();