Update dnsmasq in OpenWRT for unRAID

I’ve been having some router issues and have temporarily moved from dd-wrt to Open-WRT. Since I have https turned on for my unRAID server, I needed to modify the dnsmasq file so that I can access the unRAID GUI, as DNS rebinding protection is turned on by default in OpenWRT. Spaceinvader One shows how to do this for pfSense and dd-wrt, which is pretty easy, as you can add the required text directly into the GUI for those. Not true with OpenWRT. You will need to ssh into OpenWRT and then locate the file:

/etc/dnsmasq.conf

Open this file using vi and add the following line to the bottom of the file:

rebind-domain-ok=unraid.net

Save and quit. Then restart dnsmasq with the following command:

/etc/init.d/dnsmasq restart

All should be good.

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.