mirror of
https://github.com/Buriburizaem0n/nezha_domains.git
synced 2026-05-06 05:38:50 +00:00
update ddns on server update (#1050)
This commit is contained in:
+3
-1
@@ -18,7 +18,9 @@ import (
|
||||
)
|
||||
|
||||
var (
|
||||
DNSServers = []string{"8.8.8.8:53", "8.8.4.4:53", "1.1.1.1:53", "1.0.0.1:53"}
|
||||
DNSServersV4 = []string{"8.8.8.8:53", "8.8.4.4:53", "1.1.1.1:53", "1.0.0.1:53"}
|
||||
DNSServersV6 = []string{"[2001:4860:4860::8888]:53", "[2001:4860:4860::8844]:53", "[2606:4700:4700::1111]:53", "[2606:4700:4700::1001]:53"}
|
||||
DNSServers = append(DNSServersV4, DNSServersV6...)
|
||||
|
||||
ipv4Re = regexp.MustCompile(`(\d*\.).*(\.\d*)`)
|
||||
ipv6Re = regexp.MustCompile(`(\w*:\w*:).*(:\w*:\w*)`)
|
||||
|
||||
Reference in New Issue
Block a user