IPSECKEY Lookup
Lookup IPSECKEY records and validate IPsec DNS key data publication, gateway targets, and deployment consistency checks. Run fast checks, interpret results,…
Use IPSECKEY Lookup in 4 Steps
What is IPSECKEY Lookup?
IPSECKEY records publish keying material hints for IPsec endpoint discovery via DNS. They allow IPsec peers to bootstrap secure tunnel configuration by looking up gateway addresses and public keys for a target host in DNS.
IPSECKEY records specify a precedence value (for priority when multiple records exist), a gateway type (none, IPv4, IPv6, or hostname), a public key algorithm (DSA, RSA, ECDSA), and the base64-encoded public key. DNS-based IPsec endpoint discovery is defined in RFC 4025 and is used primarily in mesh VPN and IPSEC bootstrapping scenarios.
Quick Interpretation Table
Use this reference to diagnose common outcomes when running IPSECKEY Lookup.
| Observed Result | Likely Cause | Next Step |
|---|---|---|
| No IPSECKEY record | DNS-based IPsec endpoint discovery unavailable | Publish IPSECKEY record if using DNS-based IPsec bootstrapping |
| Gateway hostname doesn't resolve | IPsec peers cannot locate endpoint | Ensure gateway hostname has current A/AAAA records |
| Key data is outdated | Authentication bootstrap will fail with current keys | Re-export current public key and update the IPSECKEY record |
CLI Examples
Run these commands directly from a terminal to verify IPSECKEY records without relying on a browser-based tool.
dig IPSECKEY example.comnslookup -type=IPSECKEY example.comdig IPSECKEY host.example.comdig IPSECKEY example.com +dnssecTroubleshooting Workflow
- Run this record check first for a scoped signal on the target hostname.
- Validate nameserver authority and SOA context if results are unexpected.
- Use propagation checks when different regions return different values.
- Re-run after applying fixes and compare values against your expected configuration.
Frequently Asked Questions
Get guides like this by email
DNS, email auth, and security playbooks delivered when they publish. No spam.