Notices


Reply
Thread Tools
Posts: 638 | Thanked: 1,692 times | Joined on Aug 2009
#11
I have just tried the dnsmasq way to add a custom hosts file without change /etc/hosts and it works fine. Probably this would be the best option to avoid configuration dialogs or changes to users previous customizations.
 

The Following 2 Users Say Thank You to xes For This Useful Post:
Posts: 3,328 | Thanked: 4,476 times | Joined on May 2011 @ Poland
#12
Well, /etc/hosts always worked just fine for me, so I always sticked with it.
__________________
If you want to support my work, you can donate by PayPal or Flattr

Projects no longer actively developed: here
 

The Following User Says Thank You to marmistrz For This Useful Post:
Halftux's Avatar
Posts: 862 | Thanked: 2,511 times | Joined on Feb 2012 @ Germany
#13
Originally Posted by peterleinchen View Post
@halftux
I think this is a huge list, or?
Yes it is a huge list but it doesn't matter so much like the ip blacklist which is working with iptables rules instead to have a file for dnsmasq.

With too many iptable rules the speed and memory decrease.
A huge file for look up will also decrease the speed but noot so much.

And there is no big difference to save hosts in /etc/hosts or in a dnsmasq related file only that services who also look in /etc/hosts are faster and you can have a personal /etc/hosts file and the blocking in a different file. In my eyes it is more structured, clean and save that nothing get over written in /etc/hosts.
 

The Following 2 Users Say Thank You to Halftux For This Useful Post:
Reply


 
Forum Jump


All times are GMT. The time now is 12:00.