dnscrypto-proxy: Update to release 1.3.0
[tomato.git] / release / src / router / dnscrypt / test / features / test-dnscrypt-proxy / tcp_fallback.feature
blob9b565a992082a18178d65a833258de1abc24213a
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.
6   
7   Scenario: query an existing name over UDP, expect fallback to TCP.
8   
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"