This turns completely empty responses, a type of noerror/nodata into
a servfail, but they do not conform to RFC2308, and the retry can
fetch improved content.
+ - Fix unit tests for spurious empty messages.
8 February 2023: Wouter
- Fix #841: Unbound won't build with aaaa-filter-iterator.patch.
SECTION QUESTION
ns.example.com. IN AAAA
SECTION ANSWER
+SECTION AUTHORITY
+example.com. IN SOA ns.example.com. root.example.com. 4 14400 3600 604800 3600
ENTRY_END
RANGE_END
SECTION QUESTION
ns.example.com. IN AAAA
SECTION ANSWER
+SECTION AUTHORITY
+example.com. IN SOA ns.example.com. root.example.com. 4 14400 3600 604800 3600
ENTRY_END
ENTRY_BEGIN
REPLY QR NOERROR
SECTION QUESTION
ns.example.net. IN AAAA
+SECTION AUTHORITY
+example.net. IN SOA ns.example.com. root.example.com. 4 14400 3600 604800 3600
ENTRY_END
; the lame response.
wild IN A
SECTION ANSWER
wild IN A 10.20.30.40
+SECTION AUTHORITY
+example.com. IN NS ns.example.com.
ENTRY_END
chroot: ""
username: ""
do-not-query-localhost: yes
+ local-zone: "example.com" static
+ local-zone: "server" static
+ local-zone: "host" static
local-data: "www.example.com. IN A 10.20.30.40"
local-data: "unbound.server. IN A 127.0.0.1"
local-data: "test.host. IN A 1.2.3.4"
+ local-data: "example.com. IN SOA ns.example.com. root.example.com. 4 14400 3600 604800 3600"
+ local-data: "server. IN SOA ns.example.com. root.example.com. 4 14400 3600 604800 3600"
+ local-data: "host. IN SOA ns.example.com. root.example.com. 4 14400 3600 604800 3600"
ssl-port: @SERVPORT@
ssl-service-key: "unbound_server.key"
ssl-service-pem: "unbound_server.pem"
SECTION QUESTION
a.gtld-servers.net. IN AAAA
SECTION AUTHORITY
+ net. IN SOA ns.example.com. root.example.com. 4 14400 3600 604800 3600
SECTION ADDITIONAL
HEX_EDNSDATA_BEGIN
;; we expect to receive empty
SECTION QUESTION
ns.example.com. IN AAAA
SECTION ANSWER
+ SECTION AUTHORITY
+ example.com. IN SOA ns.example.com. root.example.com. 4 14400 3600 604800 3600
SECTION ADDITIONAL
HEX_EDNSDATA_BEGIN
;; we expect to receive empty
SECTION QUESTION
a.gtld-servers.net. IN AAAA
SECTION AUTHORITY
+ net. IN SOA ns.example.com. root.example.com. 4 14400 3600 604800 3600
SECTION ADDITIONAL
HEX_EDNSDATA_BEGIN
;; we expect to receive empty
SECTION QUESTION
ns.example.com. IN AAAA
SECTION ANSWER
+ SECTION AUTHORITY
+ example.com. IN SOA ns.example.com. root.example.com. 4 14400 3600 604800 3600
SECTION ADDITIONAL
HEX_EDNSDATA_BEGIN
;; we expect to receive empty
SECTION QUESTION
a.gtld-servers.net. IN AAAA
SECTION AUTHORITY
+ net. IN SOA ns.example.com. root.example.com. 4 14400 3600 604800 3600
SECTION ADDITIONAL
HEX_EDNSDATA_BEGIN
;; we expect to receive empty
SECTION QUESTION
ns.example.com. IN AAAA
SECTION ANSWER
+ SECTION AUTHORITY
+ example.com. IN SOA ns.example.com. root.example.com. 4 14400 3600 604800 3600
SECTION ADDITIONAL
HEX_EDNSDATA_BEGIN
;; we expect to receive empty
SECTION QUESTION
a.gtld-servers.net. IN AAAA
SECTION AUTHORITY
+ net. IN SOA ns.example.com. root.example.com. 4 14400 3600 604800 3600
SECTION ADDITIONAL
HEX_EDNSDATA_BEGIN
;; we expect to receive empty
SECTION QUESTION
ns.example.com. IN AAAA
SECTION ANSWER
+ SECTION AUTHORITY
+ example.com. IN SOA ns.example.com. root.example.com. 4 14400 3600 604800 3600
SECTION ADDITIONAL
HEX_EDNSDATA_BEGIN
;; we expect to receive empty