1
0
mirror of synced 2026-10-23 00:48:56 +03:00
Files
Carl Tashian 69d3c36fa1 Use port 53 when --resolver has no port (#2818)
* Use port 53 when --resolver has no port

Before this change, step-ca passed the --resolver value directly to
net.Dial. An address without a port, such as 1.1.1.1, caused all DNS
queries to fail with "missing port in address". ACME dns-01
validation then failed with a general DNS error.

Now, if the address has no port, step-ca adds port 53. Bare and
bracketed IPv6 addresses are supported. Addresses that include a
port do not change.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

* Remove the default port from the --resolver help text

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

---------

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-10 08:30:54 -07:00
..
2026-09-03 14:28:33 -07:00