Open cbuijs opened 5 months ago
I tried that config and it seems to be working for me. Can you try a few things?
1) Use :853
to rule out anything going on with ip6 there
2) Use netstat -anl
or similar to confirm it's actually listening
3) openssl s_client -connect 192.168.1.32:853
to check if you can get a TLS handshake
This looks like something in the network is blocking it, perhaps a firewall or a routing issue
I did some combinations like :853
or 192.168.1.32:853
etc, and didn't fix it.
It does listen, and I see traffic, it just provides complete empty response.
tcp6 0 0 :::853 :::* LISTEN 435/bin/routedns
tcp6 0 0 :::53 :::* LISTEN 435/bin/routedns
tcp6 0 0 :::443 :::* LISTEN 435/bin/routedns
udp6 0 0 :::53 :::* 435/bin/routedns
udp6 0 0 :::443 :::* 435/bin/routedns
udp6 0 0 :::853 :::* 435/bin/routedns
The openssl connect output:
openssl s_client -connect 192.168.1.32:853
Connecting to 192.168.1.32
CONNECTED(00000003)
C0FAC7F901000000:error:0A000126:SSL routines::unexpected eof while reading:ssl/record/rec_layer_s3.c:692:
---
no peer certificate available
---
No client certificate CA names sent
---
SSL handshake has read 0 bytes and written 306 bytes
Verification: OK
---
New, (NONE), Cipher is (NONE)
This TLS version forbids renegotiation.
Compression: NONE
Expansion: NONE
No ALPN negotiated
Early data was not sent
Verify return code: 0 (ok)
---
I use same certificates for doh
and just works, the openssl connect provides all the info/data/etc (will not share as it is sensitive info).
I have the same problem, dns-over-tls doesn't work properly
@liang-hiwin I'd need a bit more information. A snippet of your config and maybe a log would be good
@liang-hiwin I'd need a bit more information. A snippet of your config and maybe a log would be good
The log is fine, but dot does not work.
Using:
It listens on port 853, but does not respond to any DoT queries. No errors at all at RouteDNS side.
I use same certificates with DoH and DoQ, it works fine. Also when using DNSDIST, everything works fine. Guess the TLS implementation is not working.
DNS/TLS client errors (kdig):
It seems to send a
EOF
to any query.