diff --git a/service/dns.go b/service/dns.go index 73a566b..2d4cf39 100644 --- a/service/dns.go +++ b/service/dns.go @@ -66,14 +66,14 @@ func DNSUpdateEntry(domain string, hostname string, ip4 net.IP, ip6 net.IP) erro msg.Insert(rrs) - log.Printf("Sending DNS Update: %v", msg) + log.Printf("Sending DNS Update for %s.%s:\n%v", hostname, domain, msg) reply, _, err := dnsClient.Exchange(msg, C.DNS.Server) if err != nil { return fmt.Errorf("failed to execute DNS Udpate: %v", err) } - log.Printf("Received DNS Update Reply: %v", reply) + log.Printf("Received DNS Update Reply for %s.%s:\n%v", hostname, domain, reply) return nil }