Commit cc5072f2 authored by Grigorii Demidov's avatar Grigorii Demidov

fix configuration errors

parent 661f009b
......@@ -31,16 +31,16 @@ INSTALLDIR = os.path.dirname(os.path.abspath(__file__))
if "SOCKET_WRAPPER_DEFAULT_IFACE" in os.environ:
DEFAULT_IFACE = int(os.environ["SOCKET_WRAPPER_DEFAULT_IFACE"])
if DEFAULT_IFACE < 2 or DEFAULT_IFACE > 254 :
DEFAULT_IFACE = 2
DEFAULT_IFACE = 3
os.environ["SOCKET_WRAPPER_DEFAULT_IFACE"]="{}".format(DEFAULT_IFACE)
if "KRESD_WRAPPER_DEFAULT_IFACE" in os.environ:
CHILD_IFACE = int(os.environ["KRESD_WRAPPER_DEFAULT_IFACE"])
if CHILD_IFACE < 2 or CHILD_IFACE > 254 or CHILD_IFACE == DEFAULT_IFACE:
OLD_CHILD_IFACE = CHILD_IFACE
CHILD_IFACE = DEFAULT_IFACE + 1
if CHILD_IFACE > 254:
CHILD_IFACE = 2
CHILD_IFACE = DEFAULT_IFACE - 1
if CHILD_IFACE < 2:
CHILD_IFACE = 254
os.environ["KRESD_WRAPPER_DEFAULT_IFACE"] = "{}".format(CHILD_IFACE)
......
stub-addr: 127.0.0.2
stub-addr: 127.0.0.3
CONFIG_END
SCENARIO_BEGIN Simple knotd query.
......
stub-addr: 127.0.0.2
stub-addr: 127.0.0.3
CONFIG_END
SCENARIO_BEGIN Simple knotd query.
RANGE_BEGIN 0 100
ADDRESS 127.0.0.2
ADDRESS 127.0.0.3
ENTRY_BEGIN
MATCH opcode qtype qname
ADJUST copy_id
......
name: "."
stub-addr: 127.0.0.2 # K.ROOT-SERVERS.NET.
stub-addr: 127.0.0.3 # K.ROOT-SERVERS.NET.
CONFIG_END
SCENARIO_BEGIN raw queries from inbound.
......@@ -18641,7 +18641,7 @@ SECTION QUESTION
SECTION ANSWER
. IN NS K.ROOT-SERVERS.NET.
SECTION ADDITIONAL
K.ROOT-SERVERS.NET. IN A 127.0.0.2
K.ROOT-SERVERS.NET. IN A 127.0.0.3
ENTRY_END
; query sent to root server
......@@ -18655,7 +18655,7 @@ cz. IN A
SECTION AUTHORITY
cz. IN NS ns1.cz.
SECTION ADDITIONAL
ns1.cz. IN A 127.0.0.3
ns1.cz. IN A 127.0.0.4
ENTRY_END
; this is the formerr answer
......@@ -18678,11 +18678,11 @@ REPLY QR AA NOERROR
SECTION QUESTION
cz. IN A
SECTION ANSWER
cz. IN A 127.0.0.4
cz. IN A 127.0.0.5
SECTION AUTHORITY
cz. IN NS ns1.cz.
SECTION ADDITIONAL
ns1.cz. IN A 127.0.0.3
ns1.cz. IN A 127.0.0.4
ENTRY_END
; is the final answer correct?
......@@ -18693,7 +18693,7 @@ REPLY QR RD RA
SECTION QUESTION
cz. IN A
SECTION ANSWER
cz. IN A 127.0.0.4
cz. IN A 127.0.0.5
ENTRY_END
SCENARIO END
; config options
target-fetch-policy: "3 2 1 0 0"
name: "."
stub-addr: 127.0.0.2 # K.ROOT-SERVERS.NET.
stub-addr: 127.0.0.3 # K.ROOT-SERVERS.NET.
CONFIG_END
SCENARIO_BEGIN Test iterator with NS sending CNAME answer and authority of CNAME target.
; K.ROOT-SERVERS.NET.
RANGE_BEGIN 0 100
ADDRESS 127.0.0.2
ADDRESS 127.0.0.3
ENTRY_BEGIN
MATCH opcode qtype qname
ADJUST copy_id
......@@ -18,7 +18,7 @@ SECTION QUESTION
SECTION ANSWER
. IN NS K.ROOT-SERVERS.NET.
SECTION ADDITIONAL
K.ROOT-SERVERS.NET. IN A 127.0.0.2
K.ROOT-SERVERS.NET. IN A 127.0.0.3
ENTRY_END
ENTRY_BEGIN
......@@ -30,7 +30,7 @@ ingdirect.com.au. IN A
SECTION AUTHORITY
ingdirect.com.au. IN NS l4.nstld.com.
SECTION ADDITIONAL
l4.nstld.com. IN A 127.0.0.3
l4.nstld.com. IN A 127.0.0.4
ENTRY_END
ENTRY_BEGIN
......@@ -40,7 +40,7 @@ REPLY QR NOERROR
SECTION QUESTION
l4.nstld.com. IN A
SECTION ANSWER
l4.nstld.com. IN A 127.0.0.3
l4.nstld.com. IN A 127.0.0.4
ENTRY_END
ENTRY_BEGIN
......@@ -62,7 +62,7 @@ clb.ingdirect.com.au. IN A
SECTION AUTHORITY
clb.ingdirect.com.au. IN NS ncfphywebgtm01-c.ingdirect.com.au.
SECTION ADDITIONAL
ncfphywebgtm01-c.ingdirect.com.au. IN A 127.0.0.4
ncfphywebgtm01-c.ingdirect.com.au. IN A 127.0.0.5
ENTRY_END
ENTRY_BEGIN
......@@ -79,7 +79,7 @@ RANGE_END
; l4.nstld.com.
RANGE_BEGIN 0 100
ADDRESS 127.0.0.3
ADDRESS 127.0.0.4
ENTRY_BEGIN
MATCH opcode qtype qname
......@@ -92,14 +92,14 @@ www.ingdirect.com.au. IN CNAME www.clb.ingdirect.com.au.
SECTION AUTHORITY
clb.ingdirect.com.au. IN NS ncfphywebgtm01-c.ingdirect.com.au.
SECTION ADDITIONAL
ncfphywebgtm01-c.ingdirect.com.au. IN A 127.0.0.4
ncfphywebgtm01-c.ingdirect.com.au. IN A 127.0.0.5
ENTRY_END
RANGE_END
; ncfphywebgtm01-c.ingdirect.com.au.
RANGE_BEGIN 0 100
ADDRESS 127.0.0.4
ADDRESS 127.0.0.5
ENTRY_BEGIN
MATCH opcode qtype qname
......@@ -108,7 +108,7 @@ REPLY QR AA NOERROR
SECTION QUESTION
www.clb.ingdirect.com.au. IN A
SECTION ANSWER
www.clb.ingdirect.com.au. IN A 127.0.0.5
www.clb.ingdirect.com.au. IN A 127.0.0.6
ENTRY_END
ENTRY_BEGIN
......@@ -137,7 +137,7 @@ SECTION QUESTION
www.ingdirect.com.au. IN A
SECTION ANSWER
www.ingdirect.com.au. IN CNAME www.clb.ingdirect.com.au.
www.clb.ingdirect.com.au. IN A 127.0.0.5
www.clb.ingdirect.com.au. IN A 127.0.0.6
ENTRY_END
SCENARIO_END
; config options
target-fetch-policy: "0 0 0 0 0"
name: "."
stub-addr: 127.0.0.2 # K.ROOT-SERVERS.NET.
stub-addr: 127.0.0.3 # K.ROOT-SERVERS.NET.
CONFIG_END
SCENARIO_BEGIN Test iterative resolve with cached cname for nameserver
......@@ -14,7 +14,7 @@ SCENARIO_BEGIN Test iterative resolve with cached cname for nameserver
; K.ROOT-SERVERS.NET.
RANGE_BEGIN 0 100
ADDRESS 127.0.0.2
ADDRESS 127.0.0.3
ENTRY_BEGIN
MATCH opcode qtype qname
ADJUST copy_id
......@@ -24,7 +24,7 @@ SECTION QUESTION
SECTION ANSWER
. IN NS K.ROOT-SERVERS.NET.
SECTION ADDITIONAL
K.ROOT-SERVERS.NET. IN A 127.0.0.2
K.ROOT-SERVERS.NET. IN A 127.0.0.3
ENTRY_END
ENTRY_BEGIN
......@@ -46,7 +46,7 @@ com. IN A
SECTION AUTHORITY
com. IN NS a.gtld-servers.net.
SECTION ADDITIONAL
a.gtld-servers.net. IN A 127.0.0.3
a.gtld-servers.net. IN A 127.0.0.4
ENTRY_END
ENTRY_BEGIN
......@@ -58,13 +58,13 @@ nl. IN A
SECTION AUTHORITY
nl. IN NS ns2.nic.nl.
SECTION ADDITIONAL
ns2.nic.nl. IN A 127.0.0.4
ns2.nic.nl. IN A 127.0.0.5
ENTRY_END
RANGE_END
; a.gtld-servers.net. ".com"
RANGE_BEGIN 0 100
ADDRESS 127.0.0.3
ADDRESS 127.0.0.4
ENTRY_BEGIN
MATCH opcode qtype qname
ADJUST copy_id
......@@ -74,7 +74,7 @@ com. IN NS
SECTION ANSWER
com. IN NS a.gtld-servers.net.
SECTION ADDITIONAL
a.gtld-servers.net. IN A 127.0.0.3
a.gtld-servers.net. IN A 127.0.0.4
ENTRY_END
ENTRY_BEGIN
......@@ -88,9 +88,9 @@ example.com. IN NS ns.example.com.
example.com. IN NS ns2.example.com.
SECTION ADDITIONAL
;;; but really a CNAME in child server
ns.example.com. 1 IN A 127.0.0.5
ns2.example.com. IN A 127.0.0.6
ns2.example.com. IN AAAA fd00::5357:5f07
ns.example.com. 1 IN A 127.0.0.6
ns2.example.com. IN A 127.0.0.7
ns2.example.com. IN AAAA fd00::5357:5f08
ENTRY_END
; lame answers back to root for .nl (.com server not authoritative for .nl)
......@@ -103,14 +103,14 @@ nl. IN A
SECTION AUTHORITY
. IN NS K.ROOT-SERVERS.NET.
SECTION ADDITIONAL
K.ROOT-SERVERS.NET. IN A 127.0.0.2
K.ROOT-SERVERS.NET. IN A 127.0.0.3
ENTRY_END
RANGE_END
; ns2.nic.nl ".nl"
RANGE_BEGIN 0 100
ADDRESS 127.0.0.4
ADDRESS 127.0.0.5
ENTRY_BEGIN
MATCH opcode subdomain
......@@ -121,14 +121,14 @@ bla.nl. IN A
SECTION AUTHORITY
bla.nl. IN NS ns.bla.nl.
SECTION ADDITIONAL
ns.bla.nl. IN A 127.0.0.8
ns.bla.nl. IN A 127.0.0.9
ENTRY_END
RANGE_END
; ns.bla.nl "bla..nl"
RANGE_BEGIN 0 100
ADDRESS 127.0.0.8
ADDRESS 127.0.0.9
ENTRY_BEGIN
MATCH opcode qtype qname
......@@ -137,7 +137,7 @@ REPLY QR NOERROR
SECTION QUESTION
ns.bla.nl. IN A
SECTION ANSWER
ns.bla.nl. IN A 127.0.0.8
ns.bla.nl. IN A 127.0.0.9
SECTION AUTHORITY
bla.nl. IN NS ns.bla.nl.
SECTION ADDITIONAL
......@@ -172,13 +172,13 @@ REPLY QR NOERROR
SECTION QUESTION
www.example.com. IN A
SECTION ANSWER
www.example.com. IN A 127.0.0.9
www.example.com. IN A 127.0.0.10
ENTRY_END
RANGE_END
; ns.example.com "example.com"
RANGE_BEGIN 0 100
ADDRESS 127.0.0.5
ADDRESS 127.0.0.6
ENTRY_BEGIN
MATCH opcode qname
ADJUST copy_id copy_query
......@@ -196,14 +196,14 @@ REPLY QR NOERROR
SECTION QUESTION
www.example.com. IN A
SECTION ANSWER
www.example.com. IN A 127.0.0.9
www.example.com. IN A 127.0.0.10
ENTRY_END
RANGE_END
; ns2.example.com "example.com"
; bad failing server
RANGE_BEGIN 0 100
ADDRESS 127.0.0.6
ADDRESS 127.0.0.7
ENTRY_BEGIN
MATCH opcode
ADJUST copy_id copy_query
......@@ -217,7 +217,7 @@ RANGE_END
; ns2.example.com "example.com"
; bad failing server
RANGE_BEGIN 0 100
ADDRESS fd00::5357:5f07
ADDRESS fd00::5357:5f08
ENTRY_BEGIN
MATCH opcode
ADJUST copy_id copy_query
......@@ -267,7 +267,7 @@ REPLY QR RD RA NOERROR
SECTION QUESTION
www.example.com. IN A
SECTION ANSWER
www.example.com. IN A 127.0.0.9
www.example.com. IN A 127.0.0.10
SECTION AUTHORITY
SECTION ADDITIONAL
ENTRY_END
......
; config options
target-fetch-policy: "0 0 0 0 0"
name: "."
stub-addr: 127.0.0.2 # K.ROOT-SERVERS.NET.
stub-addr: 127.0.0.3 # K.ROOT-SERVERS.NET.
CONFIG_END
SCENARIO_BEGIN Test double cname in reply.
......@@ -10,7 +10,7 @@ SCENARIO_BEGIN Test double cname in reply.
; K.ROOT-SERVERS.NET.
RANGE_BEGIN 0 100
ADDRESS 127.0.0.2
ADDRESS 127.0.0.3
ENTRY_BEGIN
MATCH opcode qtype qname
ADJUST copy_id
......@@ -20,7 +20,7 @@ SECTION QUESTION
SECTION ANSWER
. IN NS K.ROOT-SERVERS.NET.
SECTION ADDITIONAL
K.ROOT-SERVERS.NET. IN A 127.0.0.2
K.ROOT-SERVERS.NET. IN A 127.0.0.3
ENTRY_END
ENTRY_BEGIN
......@@ -32,7 +32,7 @@ www.example.com. IN A
SECTION AUTHORITY
com. IN NS a.gtld-servers.net.
SECTION ADDITIONAL
a.gtld-servers.net. IN A 127.0.0.3
a.gtld-servers.net. IN A 127.0.0.4
ENTRY_END
ENTRY_BEGIN
......@@ -44,14 +44,14 @@ www.next.com. IN A
SECTION AUTHORITY
com. IN NS a.gtld-servers.net.
SECTION ADDITIONAL
a.gtld-servers.net. IN A 127.0.0.3
a.gtld-servers.net. IN A 127.0.0.4
ENTRY_END
RANGE_END
; a.gtld-servers.net.
RANGE_BEGIN 0 100
ADDRESS 127.0.0.3
ADDRESS 127.0.0.4
ENTRY_BEGIN
MATCH opcode qtype qname
ADJUST copy_id
......@@ -61,7 +61,7 @@ com. IN NS
SECTION ANSWER
com. IN NS a.gtld-servers.net.
SECTION ADDITIONAL
a.gtld-servers.net. IN A 127.0.0.3
a.gtld-servers.net. IN A 127.0.0.4
ENTRY_END
ENTRY_BEGIN
......@@ -73,7 +73,7 @@ www.example.com. IN A
SECTION AUTHORITY
example.com. IN NS ns.example.com.
SECTION ADDITIONAL
ns.example.com. IN A 127.0.0.4
ns.example.com. IN A 127.0.0.5
ENTRY_END
ENTRY_BEGIN
......@@ -85,13 +85,13 @@ www.next.com. IN A
SECTION AUTHORITY
next.com. IN NS ns.next.com.
SECTION ADDITIONAL
ns.next.com. IN A 127.0.0.5
ns.next.com. IN A 127.0.0.6
ENTRY_END
RANGE_END
; ns.example.com.
RANGE_BEGIN 0 100
ADDRESS 127.0.0.4
ADDRESS 127.0.0.5
ENTRY_BEGIN
MATCH opcode qtype qname
ADJUST copy_id
......@@ -101,7 +101,7 @@ example.com. IN NS
SECTION ANSWER
example.com. IN NS ns.example.com.
SECTION ADDITIONAL
ns.example.com. IN A 127.0.0.4
ns.example.com. IN A 127.0.0.5
ENTRY_END
ENTRY_BEGIN
......@@ -117,13 +117,13 @@ www.example.com. IN CNAME www.next.com.
SECTION AUTHORITY
example.com. IN NS ns.example.com.
SECTION ADDITIONAL
ns.example.com. IN A 127.0.0.4
ns.example.com. IN A 127.0.0.5
ENTRY_END
RANGE_END
; ns.next.com.
RANGE_BEGIN 0 100
ADDRESS 127.0.0.5
ADDRESS 127.0.0.6
ENTRY_BEGIN
MATCH opcode qtype qname
ADJUST copy_id
......@@ -131,7 +131,7 @@ REPLY QR AA
SECTION QUESTION
www.next.com. IN A
SECTION ANSWER
www.next.com. IN A 127.0.0.6
www.next.com. IN A 127.0.0.7
SECTION AUTHORITY
SECTION ADDITIONAL
ENTRY_END
......@@ -145,7 +145,7 @@ next.com. IN NS
SECTION ANSWER
next.com. IN NS ns.next.com.
SECTION ADDITIONAL
ns.next.com. IN A 127.0.0.5
ns.next.com. IN A 127.0.0.6
ENTRY_END
RANGE_END
......@@ -165,7 +165,7 @@ SECTION QUESTION
www.example.com. IN A
SECTION ANSWER
www.example.com. IN CNAME www.next.com.
www.next.com. IN A 127.0.0.6
www.next.com. IN A 127.0.0.7
SECTION AUTHORITY
SECTION ADDITIONAL
ENTRY_END
......
; config options
target-fetch-policy: "0 0 0 0 0"
name: "."
stub-addr: 127.0.0.2 # K.ROOT-SERVERS.NET.
stub-addr: 127.0.0.3 # K.ROOT-SERVERS.NET.
CONFIG_END
SCENARIO_BEGIN Test cname followed by nxdomain reply rcode.
; K.ROOT-SERVERS.NET.
RANGE_BEGIN 0 100
ADDRESS 127.0.0.2
ADDRESS 127.0.0.3
ENTRY_BEGIN
MATCH opcode qtype qname
ADJUST copy_id
......@@ -18,7 +18,7 @@ SECTION QUESTION
SECTION ANSWER
. IN NS K.ROOT-SERVERS.NET.
SECTION ADDITIONAL
K.ROOT-SERVERS.NET. IN A 127.0.0.2
K.ROOT-SERVERS.NET. IN A 127.0.0.3
ENTRY_END
ENTRY_BEGIN
......@@ -30,13 +30,13 @@ www.example.com. IN A
SECTION AUTHORITY
com. IN NS a.gtld-servers.net.
SECTION ADDITIONAL
a.gtld-servers.net. IN A 127.0.0.3
a.gtld-servers.net. IN A 127.0.0.4
ENTRY_END
RANGE_END
; a.gtld-servers.net.
RANGE_BEGIN 0 100
ADDRESS 127.0.0.3
ADDRESS 127.0.0.4
ENTRY_BEGIN
MATCH opcode qtype qname
ADJUST copy_id
......@@ -46,7 +46,7 @@ com. IN NS
SECTION ANSWER
com. IN NS a.gtld-servers.net.
SECTION ADDITIONAL
a.gtld-servers.net. IN A 127.0.0.3
a.gtld-servers.net. IN A 127.0.0.4
ENTRY_END
ENTRY_BEGIN
......@@ -58,7 +58,7 @@ www.example.com. IN A
SECTION AUTHORITY
example.com. IN NS ns.example.com.
SECTION ADDITIONAL
ns.example.com. IN A 127.0.0.4
ns.example.com. IN A 127.0.0.5
ENTRY_END
ENTRY_BEGIN
......@@ -70,13 +70,13 @@ www.next.com. IN A
SECTION AUTHORITY
next.com. IN NS ns.next.com.
SECTION ADDITIONAL
ns.next.com. IN A 127.0.0.5
ns.next.com. IN A 127.0.0.6
ENTRY_END
RANGE_END
; ns.example.com.
RANGE_BEGIN 0 100
ADDRESS 127.0.0.4
ADDRESS 127.0.0.5
ENTRY_BEGIN
MATCH opcode qtype qname
ADJUST copy_id
......@@ -86,7 +86,7 @@ example.com. IN NS
SECTION ANSWER
example.com. IN NS ns.example.com.
SECTION ADDITIONAL
ns.example.com. IN A 127.0.0.4
ns.example.com. IN A 127.0.0.5
ENTRY_END
ENTRY_BEGIN
......@@ -100,13 +100,13 @@ www.example.com. IN CNAME www.next.com.
SECTION AUTHORITY
example.com. IN NS ns.example.com.
SECTION ADDITIONAL
ns.example.com. IN A 127.0.0.4
ns.example.com. IN A 127.0.0.5
ENTRY_END
RANGE_END
; ns.next.com.
RANGE_BEGIN 0 100
ADDRESS 127.0.0.5
ADDRESS 127.0.0.6
ENTRY_BEGIN
MATCH opcode qtype qname
ADJUST copy_id
......@@ -127,7 +127,7 @@ next.com. IN NS
SECTION ANSWER
next.com. IN NS ns.next.com.
SECTION ADDITIONAL
ns.next.com. IN A 127.0.0.5
ns.next.com. IN A 127.0.0.6
ENTRY_END
RANGE_END
......
; config options
target-fetch-policy: "0 0 0 0 0"
name: "."
stub-addr: 127.0.0.2 # K.ROOT-SERVERS.NET.
stub-addr: 127.0.0.3 # K.ROOT-SERVERS.NET.
CONFIG_END
SCENARIO_BEGIN Test cname to nodata and if qname is set to orig after prepend
; K.ROOT-SERVERS.NET.
RANGE_BEGIN 0 100
ADDRESS 127.0.0.2
ADDRESS 127.0.0.3
ENTRY_BEGIN
MATCH opcode qtype qname
ADJUST copy_id
......@@ -18,7 +18,7 @@ SECTION QUESTION
SECTION ANSWER
. IN NS K.ROOT-SERVERS.NET.
SECTION ADDITIONAL
K.ROOT-SERVERS.NET. IN A 127.0.0.2
K.ROOT-SERVERS.NET. IN A 127.0.0.3
ENTRY_END
ENTRY_BEGIN
......@@ -30,7 +30,7 @@ www.next.com. IN A
SECTION AUTHORITY
com. IN NS a.gtld-servers.net.
SECTION ADDITIONAL
a.gtld-servers.net. IN A 127.0.0.3
a.gtld-servers.net. IN A 127.0.0.4
ENTRY_END
ENTRY_BEGIN
......@@ -42,14 +42,14 @@ www.example.com. IN A
SECTION AUTHORITY
com. IN NS a.gtld-servers.net.
SECTION ADDITIONAL
a.gtld-servers.net. IN A 127.0.0.3
a.gtld-servers.net. IN A 127.0.0.4
ENTRY_END
RANGE_END
; a.gtld-servers.net.
RANGE_BEGIN 0 100
ADDRESS 127.0.0.3
ADDRESS 127.0.0.4
ENTRY_BEGIN
MATCH opcode qtype qname
ADJUST copy_id
......@@ -59,7 +59,7 @@ com. IN NS
SECTION ANSWER
com. IN NS a.gtld-servers.net.
SECTION ADDITIONAL
a.gtld-servers.net. IN A 127.0.0.3
a.gtld-servers.net. IN A 127.0.0.4
ENTRY_END
ENTRY_BEGIN
......@@ -71,7 +71,7 @@ www.example.com. IN A
SECTION AUTHORITY
example.com. IN NS ns.example.com.
SECTION ADDITIONAL
ns.example.com. IN A 127.0.0.4
ns.example.com. IN A 127.0.0.5
ENTRY_END
ENTRY_BEGIN
......@@ -83,13 +83,13 @@ www.next.com. IN A
SECTION AUTHORITY
next.com. IN NS ns.next.com.
SECTION ADDITIONAL
ns.next.com. IN A 127.0.0.5
ns.next.com. IN A 127.0.0.6
ENTRY_END
RANGE_END
; ns.example.com.
RANGE_BEGIN 0 100
ADDRESS 127.0.0.4
ADDRESS 127.0.0.5
ENTRY_BEGIN
MATCH opcode qtype qname
ADJUST copy_id
......@@ -99,7 +99,7 @@ example.com. IN NS
SECTION ANSWER
example.com. IN NS ns.example.com.
SECTION ADDITIONAL
ns.example.com. IN A 127.0.0.4
ns.example.com. IN A 127.0.0.5
ENTRY_END
ENTRY_BEGIN
......@@ -117,7 +117,7 @@ RANGE_END
; ns.next.com.
RANGE_BEGIN 0 100
ADDRESS 127.0.0.5
ADDRESS 127.0.0.6
ENTRY_BEGIN
MATCH opcode qtype qname
ADJUST copy_id
......@@ -139,7 +139,7 @@ next.com. IN NS
SECTION ANSWER
next.com. IN NS ns.next.com.
SECTION ADDITIONAL
ns.next.com. IN A 127.0.0.5
ns.next.com. IN A 127.0.0.6
ENTRY_END
RANGE_END
......
; config options
target-fetch-policy: "0 0 0 0 0"
name: "."
stub-addr: 127.0.0.2 # K.ROOT-SERVERS.NET.
stub-addr: 127.0.0.3 # K.ROOT-SERVERS.NET.
CONFIG_END
SCENARIO_BEGIN Test resolution with dependency cycle
......@@ -9,7 +9,7 @@ SCENARIO_BEGIN Test resolution with dependency cycle
; K.ROOT-SERVERS.NET.
RANGE_BEGIN 0 100
ADDRESS 127.0.0.2
ADDRESS 127.0.0.3
ENTRY_BEGIN
MATCH opcode qtype qname
ADJUST copy_id
......@@ -19,7 +19,7 @@ SECTION QUESTION
SECTION ANSWER
. IN NS K.ROOT-SERVERS.NET.
SECTION ADDITIONAL
K.ROOT-SERVERS.NET. IN A 127.0.0.2
K.ROOT-SERVERS.NET. IN A 127.0.0.3
ENTRY_END
ENTRY_BEGIN
......@@ -31,7 +31,7 @@ ns.example.com. IN A
SECTION AUTHORITY
com. IN NS a.gtld-servers.net.
SECTION ADDITIONAL
a.gtld-servers.net. IN A 127.0.0.3
a.gtld-servers.net. IN A 127.0.0.4
ENTRY_END
ENTRY_BEGIN
......@@ -43,7 +43,7 @@ ns.example.com. IN AAAA
SECTION AUTHORITY
com. IN NS a.gtld-servers.net.
SECTION ADDITIONAL
a.gtld-servers.net. IN A 127.0.0.3
a.gtld-servers.net. IN A 127.0.0.4
ENTRY_END
ENTRY_BEGIN
......@@ -55,7 +55,7 @@ ns.example.net. IN A
SECTION AUTHORITY
net. IN NS e.gtld-servers.net.
SECTION ADDITIONAL
e.gtld-servers.net. IN A 127.0.0.4
e.gtld-servers.net. IN A 127.0.0.5
ENTRY_END
ENTRY_BEGIN
......@@ -67,13 +67,13 @@ ns.example.net. IN AAAA
SECTION AUTHORITY
net. IN NS e.gtld-servers.net.
SECTION ADDITIONAL
e.gtld-servers.net. IN A 127.0.0.4
e.gtld-servers.net. IN A 127.0.0.5
ENTRY_END
RANGE_END
; a.gtld-servers.net.
RANGE_BEGIN 0 100
ADDRESS 127.0.0.3
ADDRESS 127.0.0.4
ENTRY_BEGIN
MATCH opcode qtype qname
ADJUST copy_id
......@@ -83,7 +83,7 @@ com. IN NS
SECTION ANSWER
com. IN NS a.gtld-servers.net.
SECTION ADDITIONAL
a.gtld-servers.net. IN A 127.0.0.3
a.gtld-servers.net. IN A 127.0.0.4
ENTRY_END
ENTRY_BEGIN
......@@ -96,7 +96,7 @@ SECTION AUTHORITY
example.com. IN NS ns.example.net.
SECTION ADDITIONAL
; note this will be scrubbed off
ns.example.net. IN A 127.0.0.5
ns.example.net. IN A 127.0.0.6
ENTRY_END
ENTRY_BEGIN
......@@ -109,13 +109,13 @@ SECTION AUTHORITY
example.com. IN NS ns.example.net.
SECTION ADDITIONAL
; note this will be scrubbed off
ns.example.net. IN A 127.0.0.5
</