Commit fff2e7c8 authored by Marek Vavrusa's avatar Marek Vavrusa

iter_lame_aaaa: switched order, so the first query succeeds

resolver may remember NS for being lame and ignoring it for the next query
parent 5c64c7c4
......@@ -145,18 +145,8 @@ SECTION QUESTION
example.com. IN AAAA
ENTRY_END
; this fails; it is LAME
STEP 10 CHECK_ANSWER
ENTRY_BEGIN
MATCH all
REPLY QR RD RA SERVFAIL
SECTION QUESTION
example.com. IN AAAA
SECTION ANSWER
ENTRY_END
; Now try the A type, which works, and is not LAME.
STEP 20 QUERY
STEP 10 QUERY
ENTRY_BEGIN
MATCH TCP
REPLY RD
......@@ -164,8 +154,8 @@ SECTION QUESTION
example.com. IN A
ENTRY_END
; this fails; it is LAME
STEP 30 CHECK_ANSWER
; this doesn't fail
STEP 20 CHECK_ANSWER
ENTRY_BEGIN
MATCH all
REPLY QR RD RA NOERROR
......@@ -175,4 +165,14 @@ SECTION ANSWER
example.com. 120 IN A 204.14.213.188
ENTRY_END
; this fails; it is LAME
STEP 30 CHECK_ANSWER
ENTRY_BEGIN
MATCH all
REPLY QR RD RA SERVFAIL
SECTION QUESTION
example.com. IN AAAA
SECTION ANSWER
ENTRY_END
SCENARIO_END
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment