summaryrefslogtreecommitdiff
path: root/interface-definitions/container.xml.in
diff options
context:
space:
mode:
authorDave Vogel <dave.vogel@fullpower.com>2024-09-03 12:13:04 -0700
committerMergify <37929162+mergify[bot]@users.noreply.github.com>2024-09-12 05:27:43 +0000
commit2ea1152f305354ba0e94ae3dadabf05f1f490989 (patch)
tree4f720a3d8aca07b321b67e07760d9981d7a69366 /interface-definitions/container.xml.in
parenteb9e562c28d2935a3823a5522983697cf76dad52 (diff)
downloadvyos-1x-2ea1152f305354ba0e94ae3dadabf05f1f490989.tar.gz
vyos-1x-2ea1152f305354ba0e94ae3dadabf05f1f490989.zip
container: T6701: add support to disable container network DNS supportmergify/bp/sagitta/pr-4032
Add ability to set the container network with a disable-dns setting to disable the DNS plugin that is on be default. set container network <network> no-name-server (cherry picked from commit 1d5625d572cc25a9d53247b7c41177f17845b052)
Diffstat (limited to 'interface-definitions/container.xml.in')
-rw-r--r--interface-definitions/container.xml.in6
1 files changed, 6 insertions, 0 deletions
diff --git a/interface-definitions/container.xml.in b/interface-definitions/container.xml.in
index 6ea44a6d4..3dd1b3249 100644
--- a/interface-definitions/container.xml.in
+++ b/interface-definitions/container.xml.in
@@ -519,6 +519,12 @@
<multi/>
</properties>
</leafNode>
+ <leafNode name="no-name-server">
+ <properties>
+ <help>Disable Domain Name System (DNS) plugin for this network</help>
+ <valueless/>
+ </properties>
+ </leafNode>
#include <include/interface/vrf.xml.i>
</children>
</tagNode>