feat: Add support for extra protocol tweaks
Adds support to set protocol tweaks like aa,ad,cd flags to be set when preparing a dns.Message
This commit is contained in:
parent
18078cdb7c
commit
6c3b17ba0d
5 changed files with 31 additions and 8 deletions
|
@ -24,7 +24,7 @@ func prepareMessages(q dns.Question, opts Options) []dns.Msg {
|
|||
Authoritative: opts.Authoritative,
|
||||
AuthenticatedData: opts.AuthenticatedData,
|
||||
CheckingDisabled: opts.CheckingDisabled,
|
||||
RecursionDesired: opts.RecursionDesired,
|
||||
RecursionDesired: true,
|
||||
},
|
||||
}
|
||||
// It's recommended to only send 1 question for 1 DNS message.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue