KISS approach to DNS resolution: 1. Primary: Use Google DNS API (https://dns.google/resolve) - Most reliable, bypasses local resolver issues 2. Fallback: nslookup with tail -1 to skip DNS server line 3. Fallback: host command The bug was parsing nslookup output which includes DNS server address (127.0.0.1) before the actual resolved IP. Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| rpcd | ||