Skip to content

Conversation

b-pison
Copy link

@b-pison b-pison commented Jun 11, 2025

Allow IP addresses as DB_HOST and attempt to resolve to hostname

  • Updated parse_url() function to handle IP addresses in DB_HOST.
  • If DB_HOST is an IP, attempts to resolve it to a hostname using getent.
  • If resolution fails, keeps the IP and logs a warning.

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.

1 participant