summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Breunig <christian@breunig.cc>2023-04-14 08:29:50 +0200
committerChristian Breunig <christian@breunig.cc>2023-04-14 08:29:50 +0200
commit42775f287cca3e08dc8b2e58958018ecd1c626c9 (patch)
tree0c15c12527311093be2c1fd8b737cf90605f3645
parent2a876059826927ef204e359a40395955f27503ce (diff)
downloadvyos-1x-42775f287cca3e08dc8b2e58958018ecd1c626c9.tar.gz
vyos-1x-42775f287cca3e08dc8b2e58958018ecd1c626c9.zip
container: T5082: enable aardvark-dns support
With commit 0ea3e1420 ("container: T5082: switch to netavark network stack") moving to a new network stack we should also enable the new DNS plugin provided by default. TODO: add CLI nodes to manually disable DNS and/or supply external DNS servers to the container.
-rw-r--r--debian/control1
-rwxr-xr-xsrc/conf_mode/container.py2
2 files changed, 2 insertions, 1 deletions
diff --git a/debian/control b/debian/control
index 856f57030..3126e6ad9 100644
--- a/debian/control
+++ b/debian/control
@@ -34,6 +34,7 @@ Package: vyos-1x
Architecture: amd64 arm64
Depends:
${python3:Depends},
+ aardvark-dns,
accel-ppp,
auditd,
avahi-daemon,
diff --git a/src/conf_mode/container.py b/src/conf_mode/container.py
index cb39f19b6..aceb27fb0 100755
--- a/src/conf_mode/container.py
+++ b/src/conf_mode/container.py
@@ -380,7 +380,7 @@ def generate(container):
'subnets': [],
'ipv6_enabled': False,
'internal': False,
- 'dns_enabled': False,
+ 'dns_enabled': True,
'ipam_options': {
'driver': 'host-local'
}