1 Feature: check that --tcp-only works as advertised.
3 A query sent using UDP should, when the proxy is running with
4 --tcp-only, return a truncated reply so that the client retries using
7 Scenario: query an existing name over UDP, and even though this name
8 would fit in a 512-bytes UDP packet, expect a forced fallback to TCP.
10 Given a working opendnscache on 208.67.220.220
11 And a running dnscrypt proxy with options "--edns-payload-size=4096 --tcp-only"
12 When a client asks dnscrypt-proxy for "resolver1.opendns.com"
13 Then dnscrypt-proxy returns "208.67.222.222"