1
0
mirror of https://github.com/taigrr/godns synced 2025-01-18 04:03:25 -08:00

fix DuckDNS handler

This commit is contained in:
Timothy 2019-07-30 10:24:14 +08:00
parent dccfcb76bb
commit 91d89d82ce

View File

@ -51,6 +51,7 @@ func (handler *Handler) DomainLoop(domain *godns.Domain, panicChan chan<- godns.
if currentIP == lastIP {
log.Printf("IP is the same as cached one. Skip update.\n")
} else {
lastIP = currentIP
client := &http.Client{}
if handler.Configuration.Socks5Proxy != "" {