From 4262255f5c512e5c53a167c24a2eea2821f01ea5 Mon Sep 17 00:00:00 2001 From: Mike Crute Date: Tue, 10 Nov 2020 02:36:44 +0000 Subject: Add dynamic DNS functionality --- dns/client.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'dns/client.go') diff --git a/dns/client.go b/dns/client.go index f322b45..525444a 100644 --- a/dns/client.go +++ b/dns/client.go @@ -46,7 +46,7 @@ func (c *DNSClient) AXFR(zone *bind.Zone) (chan *dns.Envelope, error) { m.SetAxfr(zone.Name) k.Sign(m) - return t.In(m, fmt.Sprintf("%s:53", c.Server)) + return t.In(m, c.Server) } func (c *DNSClient) ReadRemoteZone(zone *bind.Zone) ([]RR, error) { -- cgit v1.2.3