Skip to content

Instantly share code, notes, and snippets.

View pannal's full-sized avatar

pannal

  • Germany
View GitHub Profile
@slowpeek
slowpeek / dropbear-netplan-fix
Last active February 12, 2024 04:20
Clean up netplan stuff after dropbear-initramfs
#!/bin/sh
: <<'README'
This is a fix for a well-known problem [1] with dropbear-initramfs+netplan
combo.
When dropbear starts, it enables networking [2]. This results in netplan configs
for available ifaces created under /run/netplan. After unlocking, the configs
are still there preventing networkmanager from picking ifaces up: by default,
@BigSully
BigSully / DNS over TLS for unbound
Last active October 1, 2024 10:20
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"