2 ; The island of trust is at example.com
4 local-zone: "example.com." typetransparent
5 local-data: "mail.example.com. IN A 10.20.30.40"
9 stub-addr: 193.0.14.129 # K.ROOT-SERVERS.NET.
12 SCENARIO_BEGIN Test local data with typetransparent zone
18 MATCH opcode qtype qname
24 . IN NS K.ROOT-SERVERS.NET.
26 K.ROOT-SERVERS.NET. IN A 193.0.14.129
30 MATCH opcode qtype qname
34 mail.example.com. IN MX
36 mail.example.com. IN MX 100 mail.example.com.
40 MATCH opcode qtype qname
44 www.example.com. IN AAAA
46 www.example.com. IN AAAA 2001::1
55 mail.example.com. IN A
57 ; get straight answer from localdata
62 REPLY QR AA RD RA DO NOERROR
64 mail.example.com. IN A
66 mail.example.com. IN A 10.20.30.40
74 mail.example.com. IN MX
77 ; get internet answer for other type.
82 REPLY QR RD RA DO NOERROR
84 mail.example.com. IN MX
86 mail.example.com. IN MX 100 mail.example.com.
93 www.example.com. IN AAAA
96 ; get internet answer for other name.
101 REPLY QR RD RA DO NOERROR
103 www.example.com. IN AAAA
105 www.example.com. IN AAAA 2001::1