DNSserver/configuration/reverseproxy/nginx/dns-stream
2021-09-13 08:59:49 +07:00

15 lines
202 B
Plaintext

# DNS (TCP) server
server {
listen 53;
listen [::]:53;
proxy_pass dns;
}
# DNS (UDP) server
server {
listen 53 udp;
listen [::]:53 udp;
proxy_responses 1;
proxy_pass dns;
}