What's new

dnsmasq and saving /etc/hosts on reboot

  • SNBForums Code of Conduct

    SNBForums is a community for everyone, no matter what their level of experience.

    Please be tolerant and patient of others, especially newcomers. We are all here to share and learn!

    The rules are simple: Be patient, be nice, be helpful or be gone!

wstrange

New Around Here
I have a RT-N66U with the latest ASUS firmware (3.0.0.4.220)

I'd like to have it act as a dns server for local machines on my LAN. To be clear - I still want it to use my ISP dns, but to also resolve machine names that I manually add.

dnsmasq does this nicely. If I login to the router, edit /etc/hosts, and then kill -HUP dnsmasq - it all works.

However - the changes to /etc/hosts do not persist across reboots.

How can I make /etc/host changes permanent?

Thanks

Warren
 
You would have to run a custom firmware for this.
 

Latest threads

Sign Up For SNBForums Daily Digest

Get an update of what's new every day delivered to your mailbox. Sign up here!
Top