Script sample: allow private addresses for public DNS name space


Note: This script is no longer required for 5xx or 6.x firmware. It is here for historical purposes only.

This script configures the DNS server on each node to allow public DNS names (e.g. to resolve to private IP addresses like 192.168.x.x which usually results in a lookup failure for security reasons. 


# allow private addresses for public DNS name space 
# ( => 192.168.x.x.)
uci set dhcp.conf.rebind_protection=0
uci commit

# restart the dns server to apply the settings
/etc/init.d/dnsmasq restart

Was this article helpful?

0 out of 0 found this helpful

You must sign in before voting on this article.

Want to talk about it? Have a feature request?

Head on over to our Datto Community Forum or the Datto Community Online.

For more Business Management resources, see the Datto RMM Online Help and the Autotask PSA Online Help .

Still have questions? Get live help.

Datto Homepage