Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions main.go
Original file line number Diff line number Diff line change
Expand Up @@ -284,6 +284,10 @@ All long form (--) flags can be toggled with the dig-standard +[no]flag notation
rrType, typeFound := dns.StringToType[strings.ToUpper(arg)]
if typeFound {
rrTypes[rrType] = true
if rrType == dns.TypeNS {
opts.ShowAuthority = true
opts.ShowAdditional = true
}
}

// Set qname if not set by flag
Expand Down
Loading