K3D and blocked DNS

> sudo apt-get install -y knot-dnsutils
&& kdig -d @1.1.1.1 +tls-ca +tls-host=cloudflare-dns.com www.bpk.go.id
;; SNIP
;; ANSWER SECTION:
www.bpk.go.id. 13456 IN A 103.11.179.32
> kubectl edit cm -n kube-system coredns
# forward . /etc/resolv.conf
forward . tls://1.1.1.1 tls://1.0.0.1 {
tls_servername cloudflare-dns.com
health_check 5s
}
> kubectl -n kube-system rollout restart deployment coredns

--

--

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store