At some point this week, you may have searched for an incorrect IP address and found advice to restart your router. That fixes one of four unrelated problems, and it almost certainly isn't yours.
“Incorrect IP address” can describe four different faults. Your device may have the wrong local address. DNS may send visitors to a server you retired. Email may leave from an IP that receiving systems do not trust. Or a geolocation database may place your address in a city you have never visited.
These problems sit at different layers, so their fixes do not overlap. A sysadmin tracing a routing fault needs a different check than a founder whose cold email stopped landing, or an analyst trying to explain why an IP lookup reports Finland. A correct IP can still be the wrong one for the job, especially in email, where the sending address and its mail identity both matter.
Start by matching the symptom to the layer responsible. From there, the right check is straightforward.
Table of Contents
ToggleTable of Contents
- Match Your Symptom to the Right Kind of Wrong
- How to Confirm the Address Your Device Really Uses
- Reserved Ranges That Can Never Be Public Addresses
- When DNS Sends Visitors to the Wrong Server
- Why Mail Servers Reject a Sending IP With Broken Reverse DNS
- Why a Clean Sending IP Can Still Hurt Your Email
- Why Location Lookups Show the Wrong City
- Run a Free Spam Test to Confirm the Fix
Match Your Symptom to the Right Kind of Wrong
Say a six-person agency signs a lease on a new office, plugs in the router the building provides, and runs an IP lookup out of curiosity. The result places them in a datacenter three countries away. Someone opens a ticket, someone else blames the ISP, and the network is fine. They're looking at the carrier's shared egress address, used by thousands of other subscribers in the same block.
That false alarm costs an afternoon. A real fault costs a campaign. The table below sorts symptoms into the four categories.
| Symptom | What It Usually Means | First Check |
|---|---|---|
| Lookup shows a public IP that differs from the device address | Normal NAT or shared carrier egress | Compare local and public address with the VPN off |
| Email rejected for reverse DNS or invalid sending IP | The sending IP has no matching PTR record | Run dig -x on the egress IP and compare hostnames |
| Site opens at the old server after a move | Stale cached DNS answer or wrong A record | Compare authoritative and public resolver answers |
| City or country looks wrong but internet works | Carrier egress or a geolocation database error | Switch from mobile data to fixed broadband and retest |
| Address looks valid but will not connect | Reserved or special-use range | Check the address against the special-purpose registry |
The same four categories, sorted by the layer that produces them:
Practical rule: if a lookup disagrees with reality but pages still load, stop touching the router. Nothing on the device is broken when the public address simply belongs to someone else's egress point.
Work from the row that matches what you're seeing and skip everything else. A bounce with a reverse-DNS message is never a local configuration problem, and a stale page after a migration is never an email reputation problem. Treating an incorrect IP address as one universal bug sends people down three dead ends before they reach the right one.
How to Confirm the Address Your Device Really Uses
Before blaming a network, capture what the machine holds. The private address identifies the device on its own network; the public address is what outside servers see, and the two are supposed to differ.
- Read the local configuration. Run
ipconfig /allin a Windows command prompt, orifconfig/ip addron macOS and Linux. Write down the IPv4 address, the IPv6 address and the default gateway, because you'll compare all three later. - Classify the address. Anything beginning 10., 172.16 through 172.31, or 192.168 is private. It's correct inside the network and unreachable from the internet, which is why publishing it anywhere public creates a fault.
- Compare it against a public lookup. Open a browser-based IP checker and note the result. A difference is the normal signature of NAT, where one router address fronts every device in the building.
- Check both address families separately. IPv4 and IPv6 often leave through different paths and can report different locations. Testing one and assuming the other matches is how IPv6 faults hide for weeks.
- Remove the VPN, then remove the wifi. With the VPN on, the lookup returns the provider's exit point, not your connection. Switching from wifi to phone tethering shows whether the network changes the answer, which separates a device fault from an egress point that lives somewhere else entirely.
- Restart only when the evidence asks for it. A local address starting 169.254 or a missing default gateway means the device never got a DHCP lease. That's the one scenario where rebooting is the correct first move rather than a reflex.
If the local address is sane and the public address shifts when you change networks or drop the VPN, the device is healthy. The fault lives in DNS, mail configuration or a lookup database.
Reserved Ranges That Can Never Be Public Addresses
An address can be formatted perfectly and still be unusable. Four numbers separated by dots pass every format check ever written while sitting in a range the public internet will never route. The IANA special-purpose address registry is the reference: it records each reserved prefix, the RFC that created it, its assignment date, its intended routing scope, and where relevant the date its designation ends (RFC 6890).
Picture a mail server configured to announce 10.20.4.8 as its public sending IP. The address is syntactically valid. No receiving system can connect back to it across the internet, because 10.0.0.0 through 10.255.255.255 is reserved for private networks.
| Range | Intended Use | Typical Mistake |
|---|---|---|
| 10.0.0.0/8 | Private networks | Published as a public server or sending IP |
| ::1/128 | IPv6 loopback | Set as a public server address |
| fe80::/10 | IPv6 link-local | Entered into a public AAAA record |
| fc00::/7 | IPv6 unique local | Treated as globally routable |
IPv6 has the same trap in a different shape. RFC 5156 describes its collection of special-use IPv6 addresses as a checklist for filtering invalid routing prefixes in routes and IP packets (RFC 5156). Copying a link-local or unique local address into a public AAAA record produces something that looks well formed in a zone file and fails to route for anyone outside your building.
The check is quick: paste the address into a special-purpose registry lookup and read its stated scope. If it falls in a private, loopback, link-local or documentation range, replace it with the public address your provider or server holds.
When DNS Sends Visitors to the Wrong Server
DNS behaves like a phone book that thousands of resolvers copy and keep. Each copy carries an expiry date set by the record's TTL, and until that expires the resolver keeps handing out the old number. After a server move, part of your audience reaches the new host while the rest reaches a machine you decommissioned on Tuesday.
Cloudflare's guide to common DNS issues names the three usual causes: a stale or misconfigured A or AAAA record, an erroneous entry at the authoritative nameserver, and a cached answer whose TTL hasn't expired (Cloudflare Learning Center). The same page notes that very high TTL values slow change propagation, that 86,400 seconds is often treated as an absolute maximum, and that many operational records use six hours or less.
That's why lowering the TTL belongs on the calendar a day or two before a migration, not during the outage.
Read the Answers, Not the Rumor
Diagnosis is a comparison, not a single command. Query the record type directly with dig A example.com and dig AAAA example.com, then trace the delegation path with dig +trace example.com. Run the same queries against two or three independent public resolvers and hold the results side by side.
| Authoritative Answer | Public Resolver Answer | Diagnosis | Action |
|---|---|---|---|
| New IP | Old IP | Cache hasn't expired | Wait out the TTL, and lower it before the next move |
| Wrong IP | Same wrong IP | Zone record is wrong | Correct the A record at the DNS provider |
| Correct IPv4 | Wrong or missing AAAA | Bad IPv6 record | Fix or remove the AAAA record |
| Correct | Correct | DNS is fine | Check the origin server, load balancer, CDN or firewall IP |
A wrong AAAA record is the quietest failure of the set. IPv6-capable clients often try it first, so a bad quad-A produces connection errors or long fallback delays even when the A record is perfect. Before closing the ticket, confirm that the load balancer, CDN, firewall and origin server all point at the same address, and that both IPv4 and IPv6 records were updated in the same change.
Why Mail Servers Reject a Sending IP With Broken Reverse DNS
A mail server can reject a message before a content filter reads its subject line or body. Microsoft says it may refuse mail when a sender fails a reverse-DNS lookup or identifies itself with a non-routable IP (Microsoft Defender for Office 365 troubleshooting). Rewriting the email will not fix a connection-level rejection.
Check that the sending IP and its hostname agree in both directions. The IP's PTR record should resolve to a hostname, and that hostname's A record should resolve to the same IP.
- Find the actual egress IP. Check the headers of a delivered message or your sending platform's settings. NAT and relays can conceal the outbound address, so the IP shown in a control panel may differ from the one recipients see.
- Query the PTR. Run
dig -xon the egress IP and note the returned hostname. - Resolve the hostname. Run
dig Aon that hostname. If it does not return the original IP, the reverse and forward records do not match. - Compare the HELO name. Your server's SMTP greeting should use a hostname consistent with its PTR record. A mismatch can lead to rejection.
- Ask the IP owner to update reverse DNS. The owner of the address block, such as a cloud provider, ISP, or hosting company, usually controls the PTR record. A domain administrator generally cannot change it through the domain registrar.
- Check the MAIL FROM domain and SPF record. SPF checks the record for the MAIL FROM domain. If the domain is malformed or its SPF record is missing or does not authorize the sending service, SPF cannot authorize that service. Confirm that an address such as
[email protected]uses a real domain and that its SPF record lists the exact sending service. Use an SPF and DKIM checker to review SPF setup and authentication alignment.
A corrected PTR does not resolve every sending-identity problem. SPF may still authorize an obsolete service, DKIM may sign with the wrong domain, or DMARC alignment may fail. Verify the records, then send a fresh test through the actual sending path after DNS changes have propagated.
Why a Clean Sending IP Can Still Hurt Your Email
Take an agency running cold outreach on a fresh domain. SPF, DKIM and DMARC all pass. Deliverability is still terrible at one mailbox provider, and the domain swap they tried changed nothing. The problem sits at the IP level: shared hosting and shared ESP pools assign one address to many senders, so an abusive or blacklisted neighbor damages unrelated businesses sending through the same infrastructure (shared IP reputation analysis).
Authentication Proves Permission, Not Reputation
Passing SPF and DKIM proves you were allowed to send from that domain. It says nothing about whether the IP has a clean history, a stable identity or a neighbor who annoyed the wrong spam filter last month. That's the gap between a correctly formatted address and an address that works.
Work the checks in this order:
- Identify the outbound IP recipients observe, using the header and PTR method already covered.
- Establish whether it's dedicated or shared. A dedicated IP you control can be warmed and repaired. A shared one you don't control means routing around someone else's behavior.
- Compare placement at Gmail, Outlook and Yahoo separately. Filtering differs by provider, and a drop confined to one tells you more than an average across all three.
Watch for an inbox-placement slide at a single provider, a fresh listing from an email blacklist checker, or a complaint spike that coincides with a new tenant on your platform. Move to a dedicated IP only when volume supports a warm-up schedule, because a cold dedicated address can perform worse than a warm shared one.
Why Location Lookups Show the Wrong City
An IP address can identify a network exit point without identifying the city where a person is. Carrier-grade NAT, VPN exits and mobile networks route many subscribers through shared addresses, so a lookup may show the network's location rather than the user's. The IETF notes that IP addresses are not reliably static or tied to users' geography, and recommends application-layer signals for many use cases (IETF IP geolocation paper).
Mobile and carrier networks generally produce much larger location errors than fixed broadband. IP-based postal-level location is also unreliable, so a city or postal code from a lookup should be treated as an estimate, not a precise address.
An apparently foreign address is not evidence of account compromise. Shared network egress is a common reason for the mismatch.
Use a network swap to narrow down the cause: switch from mobile data to fixed broadband, then compare the reported locations. If the result changes, the public IP or its location mapping changed. Your device may be working correctly; the lookup is reflecting a different exit point or database entry.
For decisions that depend on location, use information the account holder provides, such as a billing address or declared region. Treat IP location as one weak signal among several, not as proof of where someone lives. This is especially important for email troubleshooting: a sending IP can be correct for delivering mail while its mapped city is inaccurate.
Run a Free Spam Test to Confirm the Fix
Every fix above is a hypothesis until a real message proves it. You don't need to guess at inbox placement, and you don't need to mail your whole list to find out.
- Open the homepage of the free email spam checker and copy the test address on screen.
- Send a genuine campaign email to that address from the same platform and sending path you use in production, not from your personal inbox.
- Click See Your Score and read the report.
- Work through what comes back: inbox versus spam placement, SPF, DKIM and DMARC pass or fail, content triggers, formatting flags and sender reputation notes.
- Open the blacklist section for your domain and sending IP. It names the list involved, why it matters, and the removal and prevention steps.
Tests run in a closed environment on a unique inbox, so they don't touch your real domain or IP reputation. If your fix involved a PTR record, re-run the forward and reverse lookups first, and retest after DNS caches expire. Old answers can persist for hours, and a test fired off five minutes after an edit reports the state of the cache, not the state of your configuration.
An incorrect IP address is rarely a typo, and it's almost never the thing a router reboot repairs. MailGenius gives you the evidence to tell which fault you're dealing with: we confirm that your sending IP matches the HELO fully qualified domain name, check your IP and domain against dozens of known blacklists, and show which list is involved and why it matters. Copy the address MailGenius provides, send a real email to it, and click See Your Score to see inbox placement, authentication results and reputation notes in one report. Visit MailGenius and run the free test before you assume the fix worked.



