Skip to content

Instantly share code, notes, and snippets.

#remove dnsmasq-base without removing network-manager, don't use "apt-get remove"
#but apt-get will be held, so need no do this line
sudo dpkg --remove --force-all dnsmasq-base
#kill dnsmasq to release the port 53
sudo kill -SIGHUP $(cat /var/run/dnsmasq/dnsmasq.pid)
#confirm /etc/resolv.conf is:
nameserver 127.0.0.1
@kittokin
kittokin / DNS over TLS for unbound
Created March 10, 2022 02:54 — forked from BigSully/DNS over TLS for unbound
DNS over TLS configuration for unbound, including Google DNS, Cloudflare DNS and Quad9 DNS
server:
logfile: ""
# verbosity: 2
username: "nobody"
interface: 0.0.0.0
access-control: 0.0.0.0/0 allow
prefetch: yes
# include: "/opt/unbound/local.conf"
# include: "/opt/unbound/customize.conf"
@kittokin
kittokin / clock.html
Created February 8, 2023 05:34 — forked from kirinelf/clock.html
OBS Studio: A HTML page for showing current date and time in the video
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>A simple clock</title>
</head>
<body translate="no" >