1 Feature: Small UDP query
3 A query that fits in a small UDP packet.
5 Scenario: query an existing name.
7 Given a working opendnscache on 208.67.220.220
8 And a running dnscrypt proxy with options "--edns-payload-size=0"
9 When a client asks dnscrypt-proxy for "resolver1.opendns.com"
10 Then dnscrypt-proxy returns "208.67.222.222"
12 Scenario: query a nonexistent name.
14 Given a working opendnscache on 208.67.220.220
15 And a running dnscrypt proxy with options "--edns-payload-size=0"
16 When a client asks dnscrypt-proxy for "nonexistent.opendns.com"
17 Then dnscrypt-proxy returns a NXDOMAIN answer