3 target-fetch-policy: "0 0 0 0 0"
6 stub-addr: 193.0.14.129 # K.ROOT-SERVERS.NET.
9 SCENARIO_BEGIN Test trust in cname chain answer
16 ADJUST copy_id copy_query
21 . IN NS K.ROOT-SERVERS.NET.
23 K.ROOT-SERVERS.NET. IN A 193.0.14.129
28 ADJUST copy_id copy_query
33 com. IN NS a.gtld-servers.net.
35 a.gtld-servers.net. IN A 192.5.6.30
44 ADJUST copy_id copy_query
49 com. IN NS a.gtld-servers.net.
51 a.gtld-servers.net. IN A 192.5.6.30
56 ADJUST copy_id copy_query
61 example.com. IN NS ns.example.com.
63 ns.example.com. IN A 1.2.3.4
72 ADJUST copy_id copy_query
77 example.com. IN NS ns.example.com.
79 ns.example.com. IN A 1.2.3.4
83 MATCH opcode qtype qname
89 www.example.com. IN CNAME xxx.example.com.
90 xxx.example.com. IN CNAME yyy.example.com.
91 yyy.example.com. IN A 10.20.30.40
93 example.com. IN NS ns.example.com.
95 ns.example.com. IN A 1.2.3.4
98 MATCH opcode qtype qname
102 xxx.example.com. IN A
104 xxx.example.com. IN CNAME yyy.example.com.
105 yyy.example.com. IN A 10.20.30.40
107 example.com. IN NS ns.example.com.
109 ns.example.com. IN A 1.2.3.4
112 MATCH opcode qtype qname
116 yyy.example.com. IN A
118 yyy.example.com. IN A 10.20.30.42
120 example.com. IN NS ns.example.com.
122 ns.example.com. IN A 1.2.3.4
127 ; This stores it into cache.
132 www.example.com. IN A
135 ; recursion happens here.
139 REPLY QR RD RA NOERROR
141 www.example.com. IN A
143 www.example.com. IN CNAME xxx.example.com.
144 xxx.example.com. IN CNAME yyy.example.com.
145 ;;; did not trust the remainder of the CNAME chain!
146 yyy.example.com. IN A 10.20.30.42
148 example.com. IN NS ns.example.com.
150 ns.example.com. IN A 1.2.3.4