Quantcast
Viewing all articles
Browse latest Browse all 60861

Re: How can I manually block dns hosts for LAN on EdgeRouter X without complex scripts?

Yeah, as can be seen from .diff snippet, I'm editing /opt/vyatta/sbin/vyatta-dns-forwarding.pl

 

The set command is configure mode command, and should be in between these snippets

configure
set service dns forwarding cache-size 301
commit
save
exit

Key here is to increment or decrement cache size, so perl script fires of, making the altered dnsmasq.bl active

 


Viewing all articles
Browse latest Browse all 60861

Trending Articles