mirror of
https://github.com/rancher/os.git
synced 2025-09-01 14:48:55 +00:00
Go DNS patch based on build tag
This commit is contained in:
9
util/network/update_dns_cache.go
Normal file
9
util/network/update_dns_cache.go
Normal file
@@ -0,0 +1,9 @@
|
||||
// +build dnspatch
|
||||
|
||||
package network
|
||||
|
||||
import "net"
|
||||
|
||||
func updateDNSCache() {
|
||||
net.UpdateDnsConf()
|
||||
}
|
Reference in New Issue
Block a user