AdguardTeam / AdguardTeam/dnsproxy

handling tcp: unpacking msg: dns: buffer size too small - when I run and use DNS-over-TLS server

Open
#198 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
Go
Stars
3.3k
Forks
343
PR merge metrics
No merged PRs in 30d

Description

Hi! When I run and use DNS-over-TLS server with this options
dnsproxy -l 192.168.0.106 --tls-port=853 --tls-crt=%cert path% --tls-key=%key path% -u 10.8.8.1:53 -p 53 --cache --cache-min-ttl=600 --ratelimit=10 --refuse-any -v -o /etc/dnsproxy/dnsproxy.log
I see this errror in the logfile (no domain resolving)
2022/01/05 20:04:09 16057#15 [debug] github.com/AdguardTeam/dnsproxy/proxy.(*Proxy).handleTCPConnection(): handling tcp: started handling tls request from 192.168.0.100:55346
2022/01/05 20:04:09 16057#15 [error] handling tcp: unpacking msg: dns: buffer size too small

This error appears only with DNS-over-TLS server. There is no problem with standart unencrypted plain text resolver on port 53.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.