Skip to content

Conversation

@lordixir
Copy link
Collaborator

@lordixir lordixir commented Dec 6, 2025

No description provided.

- Add HTTP/HTTPS/SOCKS5 proxy support via config.ProxyURL
- Implement custom DNS resolver using config.DNSServers
- Replace init() with lazy initialization via GetHTTPClient()
- Auto-recreate HTTP client when proxy or DNS config changes
- Add proper fallback mechanisms for DNS resolution
- Create rate limiter based on config.RateLimit value
- Call rateLimiter.Wait() before each request
- Add verbose logging for rate limit status
- Use burst size of 2x rate limit
- Use config.DNSServers for reverse DNS lookups
- Try each configured DNS server with fallback
- Add proper port handling (default :53)
…conditions

- Convert IPBlocks, IPAddress, Websites from global to local variables
- Use lowercase naming convention (ipBlocks, ipAddress, websites)
- Prevents data accumulation across multiple runs
- Eliminates potential race condition risk
@sercanarga sercanarga merged commit 795952e into sercanarga:main Dec 6, 2025
9 checks passed
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