What's new

DNSMASQ configuration

  • 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!

duds007

New Around Here
Is there a way to insert a command to DNSMASQ configuration on the command page instead of use the JFFS and telnet on AC66U??

I just want to add this command in the DNSMasq
address=/mydomain/xxx.xxx.xxx.xxx



Thanks
 
Last edited:
Is there a way to insert a command to DNSMASQ configuration on the command page instead of use the JFFS and telnet on AC66U??

I just want to add this command in the DNSMasq
address=/mydomain/xxx.xxx.xxx.xxx

You have to use the JFFS partition and custom scripts, since the dnsmasq.conf file used by the firmware is dynamically generated, and doesn't survive reboots.
 
You have to use the JFFS partition and custom scripts, since the dnsmasq.conf file used by the firmware is dynamically generated, and doesn't survive reboots.

Since the ip will be changed frequently put in the dynamically generated file will work for me.

So I can just type the command below in "run command" web page it will put in dynamically generated file in the router?
echo "address/mydomain/xxx.xxx.xxx.xxx" > /jffs/configs/dnsmasq.conf.add

Thanks
 
So I can just type the command below in "run command" web page it will put in dynamically generated file in the router?
echo "address/mydomain/xxx.xxx.xxx.xxx" > /jffs/configs/dnsmasq.conf.add
Yes. If you enabled and formatted JFFS partition before.
 

Similar threads

Latest threads

Support SNBForums w/ Amazon

If you'd like to support SNBForums, just use this link and buy anything on Amazon. Thanks!

Sign Up For SNBForums Daily Digest

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