From fc349e2b2bc799e7a9f4e8e590838b33f0cf6bcf Mon Sep 17 00:00:00 2001 From: Matheson Steplock Date: Wed, 4 Oct 2023 20:17:52 +0000 Subject: [PATCH] sync resolved.conf with Home Assistant OS version --- homeassistant-supervised/DEBIAN/preinst | 2 ++ .../etc/systemd/resolved.conf | 25 +++++++++++++++++++ 2 files changed, 27 insertions(+) create mode 100644 homeassistant-supervised/etc/systemd/resolved.conf diff --git a/homeassistant-supervised/DEBIAN/preinst b/homeassistant-supervised/DEBIAN/preinst index 3896dc5..b438df1 100755 --- a/homeassistant-supervised/DEBIAN/preinst +++ b/homeassistant-supervised/DEBIAN/preinst @@ -64,3 +64,5 @@ dpkg-divert --package homeassistant-supervised --add --rename \ dpkg-divert --package homeassistant-supervised --add --rename \ --divert /etc/network/interfaces.real /etc/network/interfaces +dpkg-divert --package homeassistant-supervised --add --rename \ + --divert /etc/systemd/resolved.conf.real /etc/systemd/resolved.conf \ No newline at end of file diff --git a/homeassistant-supervised/etc/systemd/resolved.conf b/homeassistant-supervised/etc/systemd/resolved.conf new file mode 100644 index 0000000..db934d0 --- /dev/null +++ b/homeassistant-supervised/etc/systemd/resolved.conf @@ -0,0 +1,25 @@ +# This file is part of systemd. +# +# systemd is free software; you can redistribute it and/or modify it +# under the terms of the GNU Lesser General Public License as published by +# the Free Software Foundation; either version 2.1 of the License, or +# (at your option) any later version. +# +# Entries in this file show the compile time defaults. +# You can change settings by editing this file. +# Defaults can be restored by simply deleting this file. +# +# See resolved.conf(5) for details + +[Resolve] +#DNS= +#FallbackDNS=1.1.1.1 8.8.8.8 1.0.0.1 8.8.4.4 2606:4700:4700::1111 2001:4860:4860::8888 2606:4700:4700::1001 2001:4860:4860::8844 +#Domains= +DNSSEC=no +DNSOverTLS=no +#MulticastDNS=yes +#LLMNR=yes +#Cache=yes +DNSStubListener=no +#ReadEtcHosts=yes +#ResolveUnicastSingleLabel=no \ No newline at end of file