Jan 29, 2021
#mac
#dns
To flush DNS on macOS:
sudo killall -HUP mDNSResponder;sudo killall mDNSResponderHelper;sudo dscacheutil -flushcache
…
Feb 15, 2019
#dns
#http
Open firefox and type:
about:config Search for:
network.trr.uri Probably you already have:
https://mozilla.cloudflare-dns.com/dns-query If not add it or use something like:
https://cloudflare-dns.com/dns-query https://dns.quad9.net/dns-query Then enable network.trr.mode by setting it to 2
Set network.trr.mode to 2 make DNS Over HTTPS the browser’s first choice but use regular DNS as a fallback (0 is “off by default”, 1 lets Firefox pick whichever is faster, 3 for TRR only mode, 5 to explicitly turn it off).
…
Jun 1, 2018
#dns
#tcp
#unbound
Sep 30, 2016
#dnsmasq
#dns
#ubuntu
dnsmasq forwarding zones If you are using dnsmasq and need to forward a DNS zone to a specific DNS server, add this to your /etc/dnsmasq.conf
server=/test/10.10.0.4 server=/sopas/10.20.0.4 If you don’t have the file /etc/dnsmasq.conf check for directory /etc/dnsmasq.d and there create a file named /etc/dnsmasq.d/my-zones with the content of your zones
That means that requests made do *.test will be forwarded to 10.10.0.4 for *.sopas to 10.20.0.4 and so on
…