Page MenuHomeVyOS Platform

Add support for disabling built-in DNS for containers
In progress, LowPublicFEATURE REQUEST

Description

In the current 1.5 code base, the container network sets dns_enable to true by default. This binds UDP port 53 to the network interface created for the container network. If a container wanted to run a DNS server using that port you would need to have dns_enable set to false when the container network is created.

I propose added a new configuration for the container network "disable-dns" to set the dns_enable to false (defaulting to true for backwards compatibility).

set container network PODNET disable-dns

I've make changes on my forked version of vyos-1x and have tested it to work. I will also submit a PR with the change.

Details

Version
-
Is it a breaking change?
Perfectly compatible
Issue type
Feature (new functionality)

Event Timeline

dvogel created this object in space S1 VyOS Public.
c-po changed the task status from Open to In progress.Sep 6 2024, 5:29 AM
c-po assigned this task to dvogel.
Viacheslav changed the subtype of this task from "Task" to "Feature Request".Sep 6 2024, 6:54 AM
dmbaturin renamed this task from Containers - disable container network built in DNS plugin to Add support for disabling built-in DNS for containers.Dec 6 2024, 12:01 PM
dmbaturin changed Issue type from improvement to Feature (new functionality).