Skip to content

Conversation

@cxxcoder
Copy link

Allow specifying a hostname instead of an IP adress by the dns_rfc2136_server option in the credentials .ini file.

The current state that only IP addresses are supported is not satisfactory because there might be DNS providers whose servers periodically change their IP address or might have different IPs due to load balancing.

There is also an open issue for that (#6282) and a very old PR (#5664) but this PR used socket.gethostbyname() which does not support IPv6.

Pull Request Checklist

  • The Certbot team has recently expressed interest in reviewing a PR for this. If not, this PR may be closed due our limited resources and need to prioritize how we spend them.
  • [ x] If the change being made is to a distributed component, edit the main section of certbot/CHANGELOG.md to include a description of the change being made.
  • Add or update any documentation as needed to support the changes in this PR.
  • Include your name in AUTHORS.md if you like.

@cxxcoder
Copy link
Author

cxxcoder commented Nov 28, 2024

Sphinx build fails but to me it seems to be caused by the build system and not my code changes.

@cxxcoder cxxcoder force-pushed the main branch 3 times, most recently from a87cfd6 to 3864504 Compare November 28, 2024 20:32
support dns_rfc2136_ip_family config parameter with ipv4 or ipv6 to limit DNS lookup to IPv4 or IPv6
@zoracon zoracon requested a review from bmw February 6, 2025 22:41
@bmw bmw self-assigned this Feb 6, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants