Versions in this module Expand all Collapse all v1 v1.6.1 Sep 14, 2023 Changes in this version type Config + DropRules []string v1.5.1 Aug 22, 2023 Changes in this version + type Config struct + ListenAddr netip.AddrPort + RedirectIPv4To net.IP + RedirectIPv6To net.IP + RedirectRules []string + Upstream string + type DNSProxy struct + func New(cfg *Config) (d *DNSProxy, err error) + func (d *DNSProxy) Close() (err error) + func (d *DNSProxy) Start() (err error)