nameserver.go: add TODO for enhancing executeQuery
This commit is contained in:
parent
1cfe465cf9
commit
435be076fe
1 changed files with 2 additions and 0 deletions
|
|
@ -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()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue