Skip to content

Internal hostname pointing to private IP is blocked

Many routers and DNS resolvers block public names that resolve to RFC1918 addresses. Meant as a safety, awkward when you need it.

Try this first

  1. 1Test first: does nslookup return the right IP? If you get the IP but no connection, the block is likely at the DNS resolver or firewall.
  2. 2On pfSense, OPNsense, Unifi and many SOHO routers this is called DNS rebind protection. Add the domain to the allow list or disable the protection for that domain.
  3. 3A cleaner fix is split-horizon DNS: let your internal resolver return the private IP and public DNS return nothing. Rebinding protection becomes a non-issue.
  4. 4Document the exception, otherwise a colleague faces the same puzzle six months from now.

When to bring us in

For Let's Encrypt certificates on internally reachable hostnames or a DNS architecture that is not fully crisp yet, we can sketch the split-DNS design.

See also

None of the above fits?

Describe your situation below. We pass your input plus the steps you already saw to our AI and return tailored next-step advice. If it's too risky to DIY, we'll say so.

Who are you?

For the AI question we need your email and company, so we can follow up if the AI gets stuck, and to prevent abuse.

Limited to 2 questions per hour and 5 per day, kept lean so the AI stays useful. For more, contacting us directly works better for you and us.

Or skip the DIY entirely

Our Managed IT clients do not look these things up. One point of contact, a fixed monthly price, resolved within working hours.