What's new

dnsmasq.conf.add and DNS filtering

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

rbirkby

New Around Here
I'm on 376.49_2

I have noticed that adding a DNS entry into the dnsmasq.conf.add alongside setting DNS filtering to ON in Parental Controls will ignore the dnsmasq.conf.add.

Specifically, I wanted to have OpenDNS family search in parental controls alongside setting forcesafesearch using dnsmasq as described here: https://github.com/RMerl/asuswrt-merlin/wiki/Enforce-Safesearch

I can't see anything in the changelog since 376.49_2 - so is this still an issue?
 
It's not an issue, that's how it's designed to work. By enabling parental controls you are telling the router to bypass other DNS servers (including dnsmasq) and only use the one specified.
 
Thanks. That wasn't clear. Instead, I've pointed to the OpenDNS servers using the dnsmasq.conf.add file itself.
 
Thanks. That wasn't clear. Instead, I've pointed to the OpenDNS servers using the dnsmasq.conf.add file itself.

But remember that is not as fool proof as the parental controls ...
The child can just point their machine to a different DNS server.
Parental controls blocks the child from using any other DNS server.
 
But remember that is not as fool proof as the parental controls ...
The child can just point their machine to a different DNS server.
Parental controls blocks the child from using any other DNS server.
Good point. It would have been more accurate if I had said, "By enabling parental controls you are forcing the client to ignore other DNS servers (including dnsmasq) and only use the one specified"
 
I have noticed that adding a DNS entry into the dnsmasq.conf.add alongside setting DNS filtering to ON in Parental Controls will ignore the dnsmasq.conf.add.
As a workaround, you may turn off DNS filtering and do it manually:
Code:
# cat /jffs/configs/dnsmasq.conf.add
### Samsung S3 mini
dhcp-host=E4:40:E2:AA:BB:CC,set:kids

### Samsung Tab 3
dhcp-host=64:B3:10:AA:BB:CC,set:kids

### SkyDNS for kids
dhcp-option=tag:kids,option:dns-server,193.58.251.251
 
As a workaround, you may turn off DNS filtering and do it manually:
Code:
# cat /jffs/configs/dnsmasq.conf.add
### Samsung S3 mini
dhcp-host=E4:40:E2:AA:BB:CC,set:kids

### Samsung Tab 3
dhcp-host=64:B3:10:AA:BB:CC,set:kids

### SkyDNS for kids
dhcp-option=tag:kids,option:dns-server,193.58.251.251
Does this override client dns settings?

I presume only works for dhcp.
 
Last edited:

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