diff --git a/internal/nsupdate/nsupdate.go b/internal/nsupdate/nsupdate.go index f503bf8..a1c4b36 100644 --- a/internal/nsupdate/nsupdate.go +++ b/internal/nsupdate/nsupdate.go @@ -42,7 +42,7 @@ func (c NsUpdateStruct) UpdateTXT(record, recordType, value string) error { value = sanitizeTXT(value) - command := fmt.Sprintf("dig +shord TXT %s", record) + command := fmt.Sprintf("dig +short TXT %s", record) cmd := exec.Command("/usr/bin/env", "sh", "-c", command) cmd.Stdout = &stdout cmd.Stderr = &stderr