Versions in this module Expand all Collapse all v1 v1.6.1 Mar 8, 2020 Changes in this version + var ReservedIPNetworkList = getReservedIPNetworkList() + func FindRecordByType(msg *dns.Msg, t uint16) string + func GetEDNSClientSubnetIP(m *dns.Msg) string + func HasAnswer(m *dns.Msg) bool + func HasSubDomain(s string, sub string) bool + func IsDomainMatchRule(pattern string, domain string) bool + func IsEDNSClientSubnet(o *dns.OPT) *dns.EDNS0_SUBNET + func IsIPMatchList(ip net.IP, ipNetList []*net.IPNet, isLog bool, name string) bool + func SetEDNSClientSubnet(m *dns.Msg, ip string, isNoCookie bool) + func SetMinimumTTL(msg *dns.Msg, minimumTTL uint32) + func SetTTLByMap(msg *dns.Msg, domainTTLMap map[string]uint32) + type DNSUpstream struct + Address string + EDNSClientSubnet *EDNSClientSubnetType + Name string + Protocol string + SOCKS5Address string + TCPPoolConfig struct{ ... } + Timeout int + type EDNSClientSubnetType struct + ExternalIP string + NoCookie bool + Policy string v1.6.1-rc1 Mar 8, 2020