Skip to content

Upd. Updated CleanTalk resolve.#67

Open
alexandergull wants to merge 5 commits into
devfrom
ipresolve-upd.ag
Open

Upd. Updated CleanTalk resolve.#67
alexandergull wants to merge 5 commits into
devfrom
ipresolve-upd.ag

Conversation

@alexandergull
Copy link
Copy Markdown
Member

@Glomberg Glomberg removed their request for review April 6, 2026 17:49
Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR updates CleanTalk server URL resolution during request failover by introducing an IP-to-hostname resolver with forward-confirmed reverse DNS (FCrDNS) checks, and wiring it into the HTTP request flow.

Changes:

  • Reworked failover URL construction in httpRequest() to use a new ipResolve() helper for resolving server IPs.
  • Added ipResolve(), ipValidate(), ipV6Normalize(), and ipV6Reduce() utilities to support IPv4/IPv6 validation and FCrDNS verification.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread cleantalk/antispam/model/Cleantalk.php Outdated
Comment thread cleantalk/antispam/model/Cleantalk.php
Comment thread cleantalk/antispam/model/Cleantalk.php
Comment thread cleantalk/antispam/model/Cleantalk.php Outdated
Glomberg and others added 3 commits May 5, 2026 08:26
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
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.

6 participants