Config option to set DNS resolver

This commit is contained in:
2025-04-23 20:56:27 +08:00
parent 9bd7ba6eb9
commit f1fe70386d
3 changed files with 15 additions and 1 deletions

View File

@ -4,4 +4,5 @@ type Config struct {
ListenAddress string // Address to listen on, passed to net.Listen
ListenType string // Type of network to listen on, passed to net.Listen. One of tcp, tcp4 and tcp6
DNSResolver string // Address to send UDP & TCP DNS requests to. If set, the Go resolver will also be forced.
}