The problem is none of the above. You need to look at your PC and find out how/why it's getting the wrong DNS server address. Have you set it manually?
What "tables"? Where are you seeing this exactly?I do see in the tables 8.8.8.8 for primary DNS and 8.8.4.4 for alt.
Probably.This is my problem?
Thats what the blacklist does in your chosen method. Read that part again.I'm currently using the advanced method but there are still advertisements being missed that I want blocked, how do I go about adding those extra addresses in without losing them after a reboot?
sleep 10
cru a UpdateHosts "00 00 * * 5 /jffs/scripts/update-hosts.sh"
#!/bin/bash
sleep 5
source /jffs/scripts/update-hosts.sh
A subtle reminder to be careful when copy-pasting content from various sources perhaps?Am I missing something subtle?
I have that update at startup long since omitted on my router as it eats up too many resources during boot. But since I have no idea where the files are stored on other systems I can't just add a check now to the tutorial without doing a search of the file on the router. Too much hassle.On that bit of services-start, it might be better to run the update script only if hosts.blocked doesn't exist, and leave the updating to the chron job. Sounds like you are going that direction with the automated script.
Ah, yes. Maybe, though, you leave it out of the startup script, but run update.hosts as a last step of the install script to create the file, leaving updates to the cron.I have that update at startup long since omitted on my router as it eats up too many resources during boot. But since I have no idea where the files are stored on other systems I can't just add a check now to the tutorial without doing a search of the file on the router. Too much hassle.
Can anyone help with my questions above?
Thread starter | Title | Forum | Replies | Date |
---|---|---|---|---|
D | How to restrict VPN network access to certain IP Range or Hosts for specific VPN client | Asuswrt-Merlin | 8 |
Welcome To SNBForums
SNBForums is a community for anyone who wants to learn about or discuss the latest in wireless routers, network storage and the ins and outs of building and maintaining a small network.
If you'd like to post a question, simply register and have at it!
While you're at it, please check out SmallNetBuilder for product reviews and our famous Router Charts, Ranker and plenty more!