Block Local Network Addresses allows a 192.168.1.1 A record on a clean profile - no rebinding protection
Hello all,
I stumbled across the following behavior just now: I noticed that an external domain returned a private IP which was supposed to be caught by the "Local Network Addresses" feature. To validate this behavior, I've created a new profile, just with the following setting enabled and no further list/allowed/denied domains:

In the terminal I used the following commands to test the blocking behavior.
Setup a test domain to lookup with the current time to avoid caching:
host="check-$(date +%s)-192.168.1.1.nip.io."
This results in something like "check-1795940104-192.168.1.1.nip.io" which resolves to 192.168.1.1.
Then I used doggo (any others like knot work as well) as the DNS client tool to query the new NextDNS profile with:
doggo "$host" A @https://dns.nextdns.io/{PROFILE_ID}/Doggo-direct
Which returns the local IP unexpectedly:

The logs also confirm that this request was not blocked:

Has anyone else observed this? How do I ensure the setting to block local IP resolutions works as expected?
Thanks!
5 replies
-
Not reassuring.
Same for me with the ControlD rebind test (NextDNS does not provide a test page)
I think it would be great to test with the "DNS Rebind Toolkit" front-end JavaScript toolkit for creating DNS rebinding attacks availaible on github.
-
This domain is excluded because it is a known safe domain that can’t be used for rebinding attacks.
Content aside
-
2
Votes
- 50 min agoLast active
- 5Replies
- 28Views
-
3
Following

