Documentation ¶
Index ¶
- func AddCachedDnsItem(ip, domain string, rule ruleEngine.Rule)
- func GetCachedDnsItem(ip string) (string, ruleEngine.Rule, bool)
- func HandleDnsConn(conn Conn, metadata *constant.Metadata) error
- func Hijack(_ string) error
- func ResetCache()
- func Resume(_ string) error
- func UpdateDnsMap(local, remote cResolver.Resolver)
- type Conn
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AddCachedDnsItem ¶ added in v1.8.2
func AddCachedDnsItem(ip, domain string, rule ruleEngine.Rule)
func GetCachedDnsItem ¶ added in v1.8.2
func GetCachedDnsItem(ip string) (string, ruleEngine.Rule, bool)
func HandleDnsConn ¶ added in v0.7.0
func ResetCache ¶ added in v1.8.2
func ResetCache()
func UpdateDnsMap ¶ added in v0.11.0
Types ¶
Click to show internal directories.
Click to hide internal directories.