Public bug reported:

TL:DR seem's like "ping/wget" etc become dislike truncated UDP DNS reply and 
the become tell "Temporary failure in name resolution" instead fallback to TCP 
protocol...
 

https://github.com/DNSCrypt/dnscrypt-proxy/issues/2

I'm using DNSCrypt-proxy running at 127.0.2.1:53

me@nb:~$ cat /etc/resolv.conf 
nameserver 127.0.2.1


me@nb:~$ nslookup ya.ru
Server:     127.0.2.1
Address:    127.0.2.1#53

Non-authoritative answer:
Name:   ya.ru
Address: 87.250.250.242

me@nb:~$ ping ya.ru
PING ya.ru (87.250.250.242) 56(84) bytes of data.
64 bytes from ya.ru (87.250.250.242): icmp_seq=1 ttl=50 time=31.3 ms
^C
--- ya.ru ping statistics ---
1 packets transmitted, 1 received, 0% packet loss, time 0ms
rtt min/avg/max/mdev = 31.320/31.320/31.320/0.000 ms

now I'm setting TCPOnly on into /etc/dnscrypt-proxy/dnscrypt-proxy.conf

me@nb:~$ sudo service dnscrypt-proxy restart
me@nb:~$ nslookup ya.ru
;; Truncated, retrying in TCP mode.
Server:     127.0.2.1
Address:    127.0.2.1#53

Non-authoritative answer:
Name:   ya.ru
Address: 87.250.250.242

me@nb:~$ ping ya.ru
ping: ya.ru: Temporary failure in name resolution

Is it possible to serve DNS over UDP but communicate between DNSCrypt
proxy and DNSCrypt server over TCP?

** Affects: resolvconf (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: dns

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1745540

Title:
  Ubuntu 17.10 - DNS query via TCP not working

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/resolvconf/+bug/1745540/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to