mirror of
https://github.com/minoplhy/DNSserver.git
synced 2024-11-24 18:26:53 +00:00
15 lines
202 B
Plaintext
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;
|
||
|
}
|