Intercept DNS resolution in any process and redirect specified domains to your SNI proxy. No system-level changes required.
# PowerShell {{installCmd}}
# Terminal curl -fsSL {{origin}}/install.sh | bash
# Use dhook to wrap any command dhook curl https://httpbin.org/ip dhook ping google.com dhook ./your-app --flag # Verbose mode: show DNS resolution details dhook -V curl https://httpbin.org/ip
/usr/bin/. Use Homebrew-installed tools instead, e.g. dhook /opt/homebrew/bin/curl ...| Name | IP | Priority | Status | Latency | Last Check | |
|---|---|---|---|---|---|---|
| {{p.name}} | {{p.ip}} |
{{p.priority}} | disabled healthy down | {{p.last_latency != null ? p.last_latency + 'ms' : '-'}} | {{p.last_check || '-'}} |
| Pattern | Status | |
|---|---|---|
{{d.pattern}} |
{{d.enabled ? 'active' : 'disabled'}} |
{{rulesText || 'No rules generated'}}
{{myIp || '...'}}
In list
Not in list
{{origin}}/api/whitelist/merged
| IP Address | Source | |
|---|---|---|
{{ip}} |
both local remote |