From 4f9da48075a98bab166b0590bfbceef6430dca9c Mon Sep 17 00:00:00 2001 From: Alexandre <44178713+alexbelgium@users.noreply.github.com> Date: Sat, 1 May 2021 21:37:06 +0200 Subject: [PATCH] Set dns to 8.8.8.8 for qbittorrent --- qbittorrent/rootfs/etc/cont-init.d/90-DNS_set.sh | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 qbittorrent/rootfs/etc/cont-init.d/90-DNS_set.sh diff --git a/qbittorrent/rootfs/etc/cont-init.d/90-DNS_set.sh b/qbittorrent/rootfs/etc/cont-init.d/90-DNS_set.sh new file mode 100644 index 000000000..f4623bcdc --- /dev/null +++ b/qbittorrent/rootfs/etc/cont-init.d/90-DNS_set.sh @@ -0,0 +1,8 @@ +#!/usr/bin/with-contenv bashio + +############### +# DNS SETTING # +############### + +printf "nameserver 8.8.8.8 1.1.1.1" > /etc/resolv.conf +chmod 644 /etc/resolv.conf