What Is DNS Lookup?
A DNS lookup is the process of querying DNS servers to find the IP address or other records associated with a domain name. It's the first step that happens when you type a domain into your browser.
Why It Matters
Every time someone visits your domain, a DNS lookup happens first. The browser needs to find the IP address of the server to connect to. For forwarded domains, this means finding Domain Forward’s server — then the redirect happens.
DNS lookup speed directly affects how fast visitors experience the redirect.
How It Works
- Browser checks its local DNS cache: “Do I already know the IP for example.com?”
- If not cached, asks the operating system’s resolver
- Resolver checks its cache, then queries root → TLD → authoritative nameserver
- Authoritative nameserver responds with the A record IP address
- Browser connects to that IP address
You can also perform a reverse DNS lookup — starting with an IP address and finding the associated domain name. Modern privacy-focused resolvers use DNS-over-HTTPS to encrypt these queries.
Browser → "What's the IP for example.com?"
← "93.184.216.34" (from A record)
Browser → Connects to 93.184.216.34
← 301 Redirect to new-domain.com
DNS Lookup and Redirect Speed
| Phase | Typical Time |
|---|---|
| DNS lookup (cached) | 1-5ms |
| DNS lookup (uncached) | 20-100ms |
| TCP connection | 10-50ms |
| TLS handshake (HTTPS) | 10-30ms |
| Redirect response | <5ms (Domain Forward) |
| Total | ~40-190ms |
The DNS lookup is often the slowest part. A good TTL setting ensures repeat visitors skip the full lookup.
How Domain Forward Handles This
Domain Forward uses globally distributed servers to minimize the connection and redirect time. Once DNS points to our servers, the redirect response itself takes under 5ms. We recommend a TTL of 300-3600 seconds for forwarded domains — this balances fast propagation with efficient caching.
Related Terms
Related Features
Frequently
asked questions
A cached DNS lookup takes 1-5ms. An uncached lookup (querying authoritative nameservers) takes 20-100ms. This happens before the redirect, so it adds to the total time before a visitor reaches the destination.
Use a DNS provider with a global network (Cloudflare, Route53, Google DNS). Lower TTL values mean more frequent lookups; higher TTL values mean more caching. For domain forwarding, the redirect itself is fast (<5ms) — DNS lookup time is the main variable.
Use dig example.com (Mac/Linux), nslookup example.com (Windows), or online tools like whatsmydns.net. Our redirect tester tool also shows DNS resolution details.
Still Confused? Try It Free.
Set up your first domain forward in under 5 minutes. Free plan includes 5 domains.