Skip to content

Commit

Permalink
Merge pull request #10659 from omoerbeek/rec-fix-dot-to-port-853
Browse files Browse the repository at this point in the history
rec: Fix wrong default value call for dot-to-port-853 setting
  • Loading branch information
omoerbeek committed Aug 23, 2021
2 parents 92f977f + bfb328f commit 8ef1f46
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pdns/pdns_recursor.cc
Expand Up @@ -5928,7 +5928,7 @@ int main(int argc, char **argv)
::arg().set("edns-padding-mode", "Whether to add EDNS padding to all responses ('always') or only to responses for queries containing the EDNS padding option ('padded-queries-only', the default). In both modes, padding will only be added to responses for queries coming from `edns-padding-from`_ sources")="padded-queries-only";
::arg().set("edns-padding-tag", "Packetcache tag associated to responses sent with EDNS padding, to prevent sending these to clients for which padding is not enabled.")="7830";

::arg().set("dot-to-port-853", "Force DoT connection to target port 853 if DoT compiled in")="yes";
::arg().setSwitch("dot-to-port-853", "Force DoT connection to target port 853 if DoT compiled in")="yes";
::arg().set("dot-to-auth-names", "Use DoT to authoritative servers with these names or suffixes")="";

::arg().setCmd("help","Provide a helpful message");
Expand Down

0 comments on commit 8ef1f46

Please sign in to comment.