Page MenuHomeVyOS Platform

Apply constraint on powerdns forward-zones configuration
Closed, ResolvedPublicENHANCEMENT

Description

Currently, the follow command is allowed.

set service dns forwarding domain 👋 name-server 1.2.3.4

We need to prevent this obviously :)

Note: For now, we can replicate the same constraint we have for authoritative-domain and apply it in domain. The regex constraint for the validation can be improved for both of them later on to comply with RFC5321 (255 character full length and 63 character fragment/label length).

Details

Difficulty level
Easy (less than an hour)
Version
1.4
Why the issue appeared?
Will be filled on close
Is it a breaking change?
Perfectly compatible
Issue type
Bug (incorrect behavior)

Event Timeline

indrajitr changed the task status from Open to In progress.Apr 3 2023, 10:58 PM
indrajitr triaged this task as Normal priority.
indrajitr added a project: VyOS 1.4 Sagitta.
indrajitr changed Version from - to 1.4.
Viacheslav changed the task status from In progress to Needs testing.May 22 2023, 7:49 PM

Implementation complete