diff --git a/main.go b/main.go index 025123f..b4b1828 100644 --- a/main.go +++ b/main.go @@ -424,7 +424,7 @@ All long form (--) flags can be toggled with the dig-standard +[no]flag notation } // Set qname if not set by flag - if opts.Name == "" && !containsAny(arg, []string{"@", "/", ".exe", "-", "+"}) && !typeFound { + if opts.Name == "" && !containsAny(arg, []string{"@", "/", "\\", ".exe", "-", "+"}) && !typeFound { opts.Name = arg } }