Page MenuHomeVyOS Platform

get_config_dict() and key_mangling=('-', '_') Broke PowerDNS dns_forwarding config file
Closed, ResolvedPublicBUG

Description

configure
set service dns forwarding domain +us-west-2.rds.amazonaws.com server 10.10.5.2
commit

Leads to wrong config file for PowerDNS
/run/powerdns/recursor.forward-zones.conf

+us_west_2.amazonaws.com=10.10.5.2

Which is wrong and dns forwarding does not work in proper way.
Workaround
https://github.com/vyos/vyos-1x/pull/640

Details

Difficulty level
Normal (likely a few hours)
Version
1.3
Why the issue appeared?
Implementation mistake
Is it a breaking change?
Perfectly compatible
Issue type
Bug (incorrect behavior)

Event Timeline

c-po assigned this task to NEOMorphey.
c-po triaged this task as Normal priority.
c-po changed Why the issue appeared? from Will be filled on close to Implementation mistake.
c-po changed Is it a breaking change? from Unspecified (possibly destroys the router) to Perfectly compatible.
erkin set Issue type to Bug (incorrect behavior).Aug 29 2021, 12:03 PM
erkin removed a subscriber: Active contributors.