From 435be076fe143a8c472317ef254bef11e511b050 Mon Sep 17 00:00:00 2001 From: Thomas Preisner Date: Sat, 16 Oct 2021 22:07:40 +0200 Subject: [PATCH] nameserver.go: add TODO for enhancing executeQuery --- nameserver.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/nameserver.go b/nameserver.go index 5532eb9..c6f801d 100644 --- a/nameserver.go +++ b/nameserver.go @@ -77,6 +77,8 @@ func generateQuery(entry *RRConfig, addr net.IP) string { } func executeQuery(query string) error { + // TODO: use either nsupdate or knsupdate, both should work + // (or don't rely on external tools at all) cmd := exec.Command("knsupdate", "-v") cmd.Stdin = strings.NewReader(query) output, err := cmd.CombinedOutput()