This test checks section 3.2.1 and 3.2.3 of RFC2136, which is the prerequisite section.
+This test also checks to see what happens when a backend does NOT support RFC2136.
+++ /dev/null
-1 test.dyndns. IN SOA 3600 ns1.test.dyndns. ahu.example.dyndns. [serial] 28800 7200 604800 86400
-Rcode: 3, RD: 0, QR: 1, TC: 0, AA: 1, opcode: 0
-Reply to question for qname='host-255.test.dyndns.', qtype=ANY
-Answer:
-;; ->>HEADER<<- opcode: UPDATE, status: NXDOMAIN ID_REPLACED
-;; flags: qr aa; ZONE: 1, PREREQ: 0, UPDATE: 0, ADDITIONAL: 0
-;; ZONE SECTION:
-;test.dyndns. IN SOA
-
-0 host-1.test.dyndns. IN A 3600 127.0.0.101
-0 tdhv9cbk13jg8drivldhsl3mji8qqqe2.test.dyndns. IN NSEC3 86400 1 1 1 abcd TDHV9CBK13JG8DRIVLDHSL3MJI8QQQE3 A RRSIG
-Rcode: 0, RD: 0, QR: 1, TC: 0, AA: 1, opcode: 0
-Reply to question for qname='host-1.test.dyndns.', qtype=ANY
-Answer:
-;; ->>HEADER<<- opcode: UPDATE, status: NXRRSET ID_REPLACED
-;; flags: qr aa; ZONE: 1, PREREQ: 0, UPDATE: 0, ADDITIONAL: 0
-;; ZONE SECTION:
-;test.dyndns. IN SOA
-
-0 host-1.test.dyndns. IN A 3600 127.0.0.101
-Rcode: 0, RD: 0, QR: 1, TC: 0, AA: 1, opcode: 0
-Reply to question for qname='host-1.test.dyndns.', qtype=A
-0 host-2.test.dyndns. IN A 3600 127.0.0.102
-Rcode: 0, RD: 0, QR: 1, TC: 0, AA: 1, opcode: 0
-Reply to question for qname='host-2.test.dyndns.', qtype=A
-Answer:
-;; ->>HEADER<<- opcode: UPDATE, status: YXDOMAIN ID_REPLACED
-;; flags: qr aa; ZONE: 1, PREREQ: 0, UPDATE: 0, ADDITIONAL: 0
-;; ZONE SECTION:
-;test.dyndns. IN SOA
-
-0 host-2.test.dyndns. IN A 3600 127.0.0.102
-Rcode: 0, RD: 0, QR: 1, TC: 0, AA: 1, opcode: 0
-Reply to question for qname='host-2.test.dyndns.', qtype=A
-Answer:
-;; ->>HEADER<<- opcode: UPDATE, status: YXRRSET ID_REPLACED
-;; flags: qr aa; ZONE: 1, PREREQ: 0, UPDATE: 0, ADDITIONAL: 0
-;; ZONE SECTION:
-;test.dyndns. IN SOA
-
-0 host-2.test.dyndns. IN A 3600 127.0.0.102
-Rcode: 0, RD: 0, QR: 1, TC: 0, AA: 1, opcode: 0
-Reply to question for qname='host-2.test.dyndns.', qtype=A
-Answer:
-;; ->>HEADER<<- opcode: UPDATE, status: NXDOMAIN ID_REPLACED
-;; flags: qr aa; ZONE: 1, PREREQ: 0, UPDATE: 0, ADDITIONAL: 0
-;; ZONE SECTION:
-;test.dyndns. IN SOA
-
+++ /dev/null
-0 multi.test.dyndns. IN A 3600 127.0.0.1
-0 multi.test.dyndns. IN A 3600 127.0.0.2
-0 multi.test.dyndns. IN A 3600 127.0.0.3
-0 tntcbdfsihhd24nt96bq9973vd019u43.test.dyndns. IN NSEC3 86400 1 1 1 abcd TNTCBDFSIHHD24NT96BQ9973VD019U44 A RRSIG
-Rcode: 0, RD: 0, QR: 1, TC: 0, AA: 1, opcode: 0
-Reply to question for qname='multi.test.dyndns.', qtype=ANY
-Answer:
-;; ->>HEADER<<- opcode: UPDATE, status: NXRRSET ID_REPLACED
-;; flags: qr aa; ZONE: 1, PREREQ: 0, UPDATE: 0, ADDITIONAL: 0
-;; ZONE SECTION:
-;test.dyndns. IN SOA
-
-Answer:
-;; ->>HEADER<<- opcode: UPDATE, status: NOERROR ID_REPLACED
-;; flags: qr aa; ZONE: 1, PREREQ: 0, UPDATE: 0, ADDITIONAL: 0
-;; ZONE SECTION:
-;test.dyndns. IN SOA
-
-Answer:
-;; ->>HEADER<<- opcode: UPDATE, status: NXRRSET ID_REPLACED
-;; flags: qr aa; ZONE: 1, PREREQ: 0, UPDATE: 0, ADDITIONAL: 0
-;; ZONE SECTION:
-;test.dyndns. IN SOA
-
--- /dev/null
+Skip this test if the backend does not support dyndns/rfc2136
--- /dev/null
+Skip this test if the backend does not support dyndns/rfc2136
--- /dev/null
+Skip this test if the backend does not support dyndns/rfc2136
--- /dev/null
+Skip this test if the backend does not support dyndns/rfc2136
--- /dev/null
+Skip this test if the backend does not support dyndns/rfc2136
--- /dev/null
+Skip this test if the backend does not support dyndns/rfc2136
--- /dev/null
+Skip this test if the backend does not support dyndns/rfc2136
--- /dev/null
+Skip this test if the backend does not support dyndns/rfc2136
--- /dev/null
+Skip this test if the backend does not support dyndns/rfc2136
--- /dev/null
+Skip this test if the backend does not support dyndns/rfc2136
--- /dev/null
+Skip this test if the backend does not support dyndns/rfc2136
--- /dev/null
+Skip this test if the backend does not support dyndns/rfc2136
--- /dev/null
+Skip this test if the backend does not support dyndns/rfc2136
--- /dev/null
+Skip this test if the backend does not support dyndns/rfc2136
--- /dev/null
+Skip this test if the backend does not support dyndns/rfc2136
--- /dev/null
+Skip this test if the backend does not support dyndns/rfc2136
--- /dev/null
+Skip this test if the backend does not support dyndns/rfc2136
--send-root-referral \
--allow-2136-from=127.0.0.0/8 --disable-rfc2136=no \
--cache-ttl=$cachettl --no-config &
- skipreasons=nodnssec
+ skipreasons="nodnssec nodyndns"
bindwait
;;
if [ $context = bind-dnssec-nsec3 ]
then
extracontexts="bind dnssec nsec3"
- skipreasons="nsec3"
+ skipreasons="nsec3 nodyndns"
elif [ $context = bind-dnssec-nsec3-optout ]
then
extracontexts="bind dnssec nsec3 nsec3-optout"
- skipreasons="optout"
+ skipreasons="optout nodyndns"
elif [ $context = bind-dnssec-nsec3-narrow ]
then
extracontexts="bind dnssec narrow"
- skipreasons="narrow"
+ skipreasons="narrow nodyndns"
else
extracontexts="bind dnssec"
+ skipreasons="nodyndns"
fi
$RUNWRAPPER $PDNS --daemon=no --local-port=$port --socket-dir=./ \
--mydns-user="$MYDNSUSER" \
--mydns-host="$MYDNSHOST" \
--mydns-password="$MYDNSPASSWD" &
- skipreasons="nodnssec noent"
+ skipreasons="nodnssec noent nodyndns"
;;
gmysql | gmysql-nsec3 | gmysql-nsec3-optout |gmysql-nsec3-narrow)
--cache-ttl=$cachettl --no-config \
--opendbx-backend=sqlite3 --opendbx-host-read=./ --opendbx-host-write=./ \
--opendbx-database=pdns-opendbx.sqlite3 &
- skipreasons="nodnssec noent"
+ skipreasons="nodnssec noent nodyndns"
;;
gsqlite3 | gsqlite3-nsec3 | gsqlite3-nsec3-optout)
--send-root-referral \
--allow-2136-from=127.0.0.0/8 --disable-rfc2136=no \
--tinydns-dbfile=../modules/tinydnsbackend/data.cdb &
- skipreasons="nodnssec noent"
+ skipreasons="nodnssec noent nodyndns"
;;
remotebackend-*)
remotetype=$(echo $context | cut -d- -f 2)
;;
esac
- skipreasons="nodnssec"
+ skipreasons="nodnssec nodyndns"
if [ "$remotesec" = "nsec3" ]; then
remotedosec="yes"
if [ "$narrow" = "narrow" ]; then
extracontexts="dnssec nsec3 narrow"
- skipreasons="narrow nsec3"
+ skipreasons="narrow nsec3 nodyndns"
else
extracontexts="dnssec nsec3"
- skipreasons="nsec3"
+ skipreasons="nsec3 nodyndns"
fi
remote_add_param="--remote-dnssec=yes"
else
remotedosec="yes"
remote_add_param="--remote-dnssec=yes"
extracontexts="dnssec"
- skipreasons="nonsec3 nonarrow"
+ skipreasons="nonsec3 nonarrow nodyndns"
fi
fi