nameserver.go: refactor requiresRRUpdate and add basic tests

This commit is contained in:
Thomas Preisner 2021-10-16 22:06:51 +02:00
parent 204d5eacf6
commit 1cfe465cf9
4 changed files with 101 additions and 3 deletions

1
go.mod
View file

@ -3,6 +3,7 @@ module git.preisner.eu/preisi/dyndns-server
go 1.16
require (
github.com/foxcpp/go-mockdns v0.0.0-20210729171921-fb145fc6f897
github.com/google/go-cmp v0.5.6
github.com/pelletier/go-toml v1.9.3
golang.org/x/crypto v0.0.0-20210711020723-a769d52b0f97