Skip to content

Instantly share code, notes, and snippets.

@amery
Created July 10, 2012 19:38
Show Gist options
  • Save amery/3085723 to your computer and use it in GitHub Desktop.
Save amery/3085723 to your computer and use it in GitHub Desktop.
--- djbdns-1.05/query.c.orig 2012-07-10 09:24:23.000000000 +0200
+++ djbdns-1.05/query.c 2012-07-10 09:24:26.000000000 +0200
@@ -578,6 +578,7 @@
}
if (!dns_domain_suffix(t1,control)) { i = j; continue; }
+ if (byte_equal(type,2,DNS_T_NS) && dns_domain_equal(t1,control)) { i = j; continue; }
if (!roots_same(t1,control)) { i = j; continue; }
if (byte_equal(type,2,DNS_T_ANY))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment