I’m running a local DNS server on my laptop, best idea. Why is that not a common practice?
@yyp not really (well YMMV), basically follow a DNS server install instructions for your OS and limit it to queries from localhost like https://www.linuxbabe.com/ubuntu/set-up-local-dns-resolver-ubuntu-18-04-16-04-bind9
@julienxx because many systems have something like a hosts file which is basically it, and most homes have a router which is also a DNS?
@reto @julienxx normally you have a hosts file where you can add names and ips manually. It's technically not using DNS, but works in a similar manner for the local pc. Some use it to filter out spotify ads, for example, or to make short names for servers. On linux it's /etc/hosts and on windows it's inside the system32 directory, I think.
check out Stubby, available on some distributions, local dns server running only encrypted queries, been using it for some years and works fine with no config required!
A Plan 9 oriented server.