mirror of
https://github.com/taigrr/godns
synced 2025-01-18 04:03:25 -08:00
fix DuckDNS handler
This commit is contained in:
parent
dccfcb76bb
commit
91d89d82ce
@ -51,6 +51,7 @@ func (handler *Handler) DomainLoop(domain *godns.Domain, panicChan chan<- godns.
|
|||||||
if currentIP == lastIP {
|
if currentIP == lastIP {
|
||||||
log.Printf("IP is the same as cached one. Skip update.\n")
|
log.Printf("IP is the same as cached one. Skip update.\n")
|
||||||
} else {
|
} else {
|
||||||
|
lastIP = currentIP
|
||||||
client := &http.Client{}
|
client := &http.Client{}
|
||||||
|
|
||||||
if handler.Configuration.Socks5Proxy != "" {
|
if handler.Configuration.Socks5Proxy != "" {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user