0

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!

Reply

null

Content aside

  • 49 min agoLast active
  • 3Views
  • 1 Following