Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Logging #19

Open
p1r473 opened this issue Dec 10, 2023 · 0 comments
Open

Logging #19

p1r473 opened this issue Dec 10, 2023 · 0 comments

Comments

@p1r473
Copy link

p1r473 commented Dec 10, 2023

Recommend you enable logging
sudo echo "
log_format dns '$remote_addr:$remote_port - [$time_local] $protocol $status $upstream_addr $ssl_protocol $ssl_cipher - Server: $server_addr:$server_port - Connection: $connection';;
access_log /var/log/nginx/access.log dns;
error_log /var/log/nginx/error.log;
" >/etc/nginx/streams/dns-over-tls

Thanks for this page and your guide. Also, may help someone in testing their proxy:
kdig -d @YOUR-IP +tls-ca +tls-host=YOUR-DOMAIN DOMAIN

You also might want to look at other directives too:
proxy_responses 1;
proxy_timeout 1s;
server 127.0.0.1:53 fail_timeout=10s;

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant