diff --git a/main.go b/main.go index 9c3dd2d..cdbdece 100644 --- a/main.go +++ b/main.go @@ -41,7 +41,6 @@ func main() { do := os.Getenv("DNSSEC") == "1" subnetOpt := getSubnet() ednsOpt := getEDNSOpt() - question := getQuestion() if verbose { log.SetLevel(log.DEBUG) @@ -72,6 +71,8 @@ func main() { os.Exit(1) } + question := getQuestion() + if timeoutStr != "" { i, err := strconv.Atoi(timeoutStr) if err != nil {