unbound/testdata/iter_stub_noroot.rpl
Wouter Wijngaards e0745813f4 - Set defaults to yes for a number of options to increase speed and
resilience of the server.  The so-reuseport, harden-below-nxdomain,
  and minimal-responses options are enabled by default.  They used
  to be disabled by default, waiting to make sure they worked.  They
  are enabled by default now, and can be disabled explicitly by
  setting them to "no" in the unbound.conf config file.  The reuseport
  and minimal options increases speed of the server, and should be
  otherwise harmless.  The harden-below-nxdomain option works well
  together with the recently default enabled qname minimisation, this
  causes more fetches to use information from the cache.


git-svn-id: file:///svn/unbound/trunk@4871 be551aaa-1e26-0410-a405-d3ace91eadb9
2018-08-27 13:18:19 +00:00

66 lines
1.1 KiB
Plaintext

; config options
server:
target-fetch-policy: "0 0 0 0 0"
minimal-responses: no
stub-zone:
name: "."
stub-addr: 81.187.81.187
stub-zone:
name: "lp0.eu"
stub-addr: 81.2.80.65
stub-prime: no
CONFIG_END
SCENARIO_BEGIN Test resolve of stub zone without root prime.
; this server does not respond. (for the root)
RANGE_BEGIN 0 100
ADDRESS 81.187.81.187
ENTRY_BEGIN
MATCH
ADJUST copy_id copy_query
REPLY QR SERVFAIL
SECTION QUESTION
. IN NS
ENTRY_END
RANGE_END
; lp0.eu server
RANGE_BEGIN 0 100
ADDRESS 81.2.80.65
ENTRY_BEGIN
MATCH opcode qtype qname
ADJUST copy_id
REPLY QR NOERROR
SECTION QUESTION
proxima.lp0.eu. IN A
SECTION ANSWER
proxima.lp0.eu. IN A 81.2.80.65
SECTION AUTHORITY
lp0.eu. IN NS proxima.lp0.eu.
ENTRY_END
RANGE_END
STEP 1 QUERY
ENTRY_BEGIN
REPLY RD
SECTION QUESTION
proxima.lp0.eu. IN A
ENTRY_END
; recursion happens here.
STEP 10 CHECK_ANSWER
ENTRY_BEGIN
MATCH all
REPLY QR RD RA NOERROR
SECTION QUESTION
proxima.lp0.eu. IN A
SECTION ANSWER
proxima.lp0.eu. IN A 81.2.80.65
SECTION AUTHORITY
lp0.eu. IN NS proxima.lp0.eu.
ENTRY_END
SCENARIO_END