1 Feature: fallback to TCP
3 A query that doesn't fit in a small UDP packet should make the proxy
4 send a truncated reply, then the stud resolver should retry with TCP
5 and the proxy should handle TCP just fine.
7 Scenario: query an existing name over UDP, expect fallback to TCP.
9 Given a working opendnscache on 208.67.220.220
10 And a running dnscrypt proxy with options "--edns-payload-size=0"
11 When a client asks dnscrypt-proxy for "test-tcp.stdc.org"
12 Then dnscrypt-proxy returns "127.0.0.1"