Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
KIT-CA
acme4netvs
Commits
6a57045f
Verified
Commit
6a57045f
authored
Oct 21, 2022
by
heiko.reese
💤
Browse files
Set UDP packet site limit as recommended by
https://www.dnsflagday.net/2020//#dns-flag-day-2020
parent
666d7e16
Pipeline
#242764
passed with stages
in 2 minutes and 8 seconds
Changes
2
Pipelines
2
Hide whitespace changes
Inline
Side-by-side
VERSION
View file @
6a57045f
0.5.
6
0.5.
7
dns_utils.go
View file @
6a57045f
...
...
@@ -51,8 +51,8 @@ func NameserverHasChallenge(nameserver, fqdn, challenge string) bool {
// build request
var
msg
dns
.
Msg
msg
.
SetQuestion
(
dns
.
CanonicalName
(
challengeName
),
dns
.
TypeTXT
)
//
Raise MTU limit from 512 to 4096 which is the default used by dig.
msg
.
SetEdns0
(
4096
,
false
)
//
Set packet size limit as recommended by https://www.dnsflagday.net/2020//#dns-flag-day-2020
msg
.
SetEdns0
(
1232
,
false
)
// request all TXT records
TXTAnswer
,
_
,
err
:=
client
.
Exchange
(
&
msg
,
nameserver
)
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment