What's new
  • 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!

User Script for routing changes

jernau

Regular Contributor
I currently run an additional DNSMASQ process to provide customized internal DNS for selected connect clients to the router via the DNSFiltering feature. This additional DNSMASQ process runs on an additional virtual IP address I create in the start-up script for the new process. I've noticed that if I change certain features for example static routing the new virtual interface is taken down causing the custom DNSMASQ process to stop. Is there somewhere I can hook in a user script to restart the interface/customer DNSMASQ or could one possibly be added to enable custom scripts to be run during network changes?
 
There's a good chance that those network changes are also causing the regular dnsmasq instance to be restarted, so you could try using a dnsmasq.postconf script to do all your required configurations.
 

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!
Back
Top