From a8d8502d1abf02347720c1c2d574151c22759e71 Mon Sep 17 00:00:00 2001 From: Manabu Sonoda Date: Tue, 13 Jul 2021 00:39:30 +0900 Subject: [PATCH] change DDNS.ServeDNS to ServeUpdate --- ddns/ddns.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ddns/ddns.go b/ddns/ddns.go index bf72fa5..084dbef 100644 --- a/ddns/ddns.go +++ b/ddns/ddns.go @@ -56,7 +56,7 @@ type DDNS struct { ui UpdateInterface } -func (d *DDNS) ServeDNS(r *dns.Msg) (int, error) { +func (d *DDNS) ServeUpdate(r *dns.Msg) (int, error) { zone, err := d.gi.GetZone(r) if err != nil { return dns.RcodeServerFailure, nil