dnscrypt-proxy 1.6.0
[tomato.git] / release / src / router / dnscrypt / test / features / test-dnscrypt-proxy / small_udp_query.feature
blobcfa0d6500581243be6226d2e4beae10728ef8fa8
1 Feature: Small UDP query
3   A query that fits in a small UDP packet.
4   
5   Scenario: query an existing name.
6   
7     Given a working server proxy on 212.47.228.136
8     And a running dnscrypt proxy with options "--edns-payload-size=0 -R dnscrypt.org-fr"
9     When a client asks dnscrypt-proxy for "test-ff.dnscrypt.org"
10     Then dnscrypt-proxy returns "255.255.255.255"
12   Scenario: query a nonexistent name.
13   
14     Given a working server proxy on 212.47.228.136
15     And a running dnscrypt proxy with options "--edns-payload-size=0 -R dnscrypt.org-fr"
16     When a client asks dnscrypt-proxy for "test-nonexistent.dnscrypt.org"
17     Then dnscrypt-proxy returns a NXDOMAIN answer