Update docs/guides/dns/unbound.md

Co-authored-by: MichaIng <micha@dietpi.com>
Signed-off-by: Nick J Lange <nick.lange@gmail.com>
This commit is contained in:
Nick J Lange
2023-01-22 15:42:51 -05:00
committed by GitHub
parent 3eb45fee75
commit bcce73a47b
+1 -1
View File
@@ -219,7 +219,7 @@ sudo systemctl stop unbound-resolvconf.service
Disable the file resolvconf_resolvers.conf from being generated when resolvconf is invoked elsewhere.
```bash
sudo cat /etc/resolvconf.conf | sed -E 's/^unbound_conf=(.*)/#unbound_conf=\1/' > /etc/resolvconf.conf
sudo sed -Ei 's/^unbound_conf=/#unbound_conf=/' /etc/resolvconf.conf
sudo rm /etc/unbound/unbound.conf.d/resolvconf_resolvers.conf
```