mirror of
https://github.com/freedombox/FreedomBox.git
synced 2026-11-29 08:25:10 +00:00
bind: Set default forwarder as systemd-resolved
Closes: #1196. - systemd-resolved always contains the current list of known DNS servers taken from systemd-networkd, network-manager, or by other means. It also has fallback DNS servers. Forwarding requests to it allows correct and failsafe way to reach external DNS servers. Tests: - Freshly install bind and notice that the fowarders list is set to 127.0.0.53. - Install without the patch. Apply patch. Restart service. bind is upgraded to new version and forwarder is set to 127.0.0.53 if it is blank. Otherwise, it remains as is. Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org> Reviewed-by: Veiko Aasa <veiko17@disroot.org>
This commit is contained in:
1 parent
96b052432a
commit
939f122fb5
2 files changed
+9
-4
No files matched your search
@@ -30,7 +30,7 @@ class BindApp(app_module.App):
|
||||
|
||||
app_id = 'bind'
|
||||
|
||||
_version = 3
|
||||
_version = 4
|
||||
|
||||
def __init__(self) -> None:
|
||||
"""Create components for the app."""
|
||||
|
||||
Reference in new issue
Block a user