Commit Diff
Diff:
6d1a99581e42bdad2ca3bb81ce0b9bbfa9f0c169
afb2e7d08be10cc955c70239945db5e90cee7a73
Commit:
afb2e7d08be10cc955c70239945db5e90cee7a73
Tree:
13da96c2645a0b67f9a297cbdd5e1860224b4166
Author:
pjp <pjp@delphinusdns.org>
Committer:
pjp <pjp@delphinusdns.org>
Date:
Sat Jun 27 12:37:14 2020 UTC
Message:
- lay some foundation for DNS Secure Updates (RFC 2136 and 3007) - reflect this in the TODO along with two other nice to haves hopefully before 1.6.0
blob - 3d94d2bcfbe655b8ca9e084bd8d12b27131efc8f
blob + 8f61322f32b58d396f0b23fba79c211e9c87fb0a
--- TODO
+++ TODO
@@ -17,6 +17,9 @@ For 1.5.0 release
to have replicant compatibility for NSEC
- get rid of zincludes and incorporate them into mzone blocks (for masters)
- display statistics via the UNIX socket, now possible with the cortex process.
+- get started with DNS Update (RFC 2136 and 3007) must be Secure with TSIG
+- simple DNS forwarding (with TSIG) is kinda what I want too
+- an IODINE-like DNS tunnel functionality (perhaps for 1.6.0?)
For 1.4.0 release
- a github mirrored copy
blob - 8d38db560fdfe0d51c9b9622adafd12a2d394446
blob + a0546bc98741a7b1767cb3ea078413f9cdd233b0
--- ddd-dns.h
+++ ddd-dns.h
@@ -27,7 +27,7 @@
*/
/*
- * $Id: ddd-dns.h,v 1.11 2020/06/25 10:01:10 pjp Exp $
+ * $Id: ddd-dns.h,v 1.12 2020/06/27 12:37:14 pjp Exp $
*/
#ifndef _DNS_H
@@ -117,7 +117,11 @@ struct dns_question_hdr {
#define DNS_RECURSE 0x100 /* if set Recursion Desired (RD) */
#define DNS_RECAVAIL 0x80 /* if set Recursion Available (RA) */
#define DNS_BADVERS 0x10 /* RCODE (16) BADVERS RFC 2671 p. 6 */
+#define DNS_NOTZONE 0xA /* RCODE - Not within zone section RFC 2136 */
#define DNS_NOTAUTH 0x9 /* RCODE - Not Authenticated RFC 2845 */
+#define DNS_NXRRSET 0x8 /* RCODE - RRSET should exist, but doesn't */
+#define DNS_XYRRSET 0x7 /* RCODE - RRSET should not exist, but does */
+#define DNS_YXDOMAIN 0x6 /* RCODE - Should not exist but does RFC 2136 */
#define DNS_REFUSED 0x5 /* RCODE - Refused */
#define DNS_NOTIMPL 0x4 /* RCODE - Not Implemented */
#define DNS_NAMEERR 0x3 /* RCODE - Name Error, NXDOMAIN */
repomaster@centroid.eu