Skip to content

Commit

Permalink
change DDNS.ServeDNS to ServeUpdate
Browse files Browse the repository at this point in the history
  • Loading branch information
mimuret committed Jul 12, 2021
1 parent 713dacf commit a8d8502
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ddns/ddns.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit a8d8502

Please sign in to comment.