I use internet (personal connection from ISP). My operating System is Ubuntu 18.4. I am aware of /etc/hosts file, but it has limitation with wild card entries (to block websites).
I wanted to know if Ubuntu does caching of DNS or do I need to install some other tool? There is a Network Manager installed. And Systemd is the daemon manager. Do these tools have ways of managing DNS? Do, I need to use Dnsmasq?
I have read that many people prefer Dnsmasq, but I am not sure why is it preferable? I am not sure if this can already be done by Networkmanager or systemd.
My goal, is to block websites and do caching of DNS if it is significantly beneficial? Also, I am not a web developer.
Can I use wildcards to block websites without dnsmasq?
@earthmeLon questioned: Also, are you trying to block or allow access to more of the Internet? Should you be blacklisting or whitelisting?
- I am trying to blacklist, as I don't know if I might need to access some other websites in the future.