You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
What happened:
After the MatchParent function was added to PowerDNS provider in #2040, --domain-filter no longer produces results consistently with other providers. In case multiple sub-zones exist, it is not possible to select just ONE sub-zone by using --domain-filter or any other filter combinations. In case different API keys are set for zones, the setup always results in errors and fails to update DNS.
What you expected to happen:
Using --domain-filter sub1.example.com should just match the exact zone (no matching of parent zones like example.com), same as all other providers.
How to reproduce it (as minimally and precisely as possible):
Create PowerDNS zones:
example.com
sub1.example.com
sub2.example.com
Try to match just sub1.example.com.
Options:
Use --domain-filter sub1.example.com - matches sub1.example.com AND example.com
Use --domain-filter .sub1.example.com - matches 0 zones
Use --domain-filter .example.com - matches sub1.example.com AND sub2.example.com
We would expect option 1 to work for this scenario (as it worked before adding the MatchParent function), as option 2 and 3 are working correctly, but cannot be used for this scenario.
Anything else we need to know?: MatchParent functionality is not needed, as same results can be achieved by using --domain-filter multiple times.
No other providers use MatchFilter function, so behavior is inconsistent and unexpected.
Environment:
External-DNS version (use external-dns --version): v0.13.5
DNS provider: pdns
Others: different PowerDNS API keys for each zone
The text was updated successfully, but these errors were encountered:
Isn't this the same as #3948, thus not exclusively related to PDNS?
I believe #3948 is a different issue of selecting just records (in zones), as compared to this issue, which was related to zones selection only (so basically "one level up").
What happened:
After the MatchParent function was added to PowerDNS provider in #2040,
--domain-filter
no longer produces results consistently with other providers. In case multiple sub-zones exist, it is not possible to select just ONE sub-zone by using--domain-filter
or any other filter combinations. In case different API keys are set for zones, the setup always results in errors and fails to update DNS.What you expected to happen:
Using
--domain-filter sub1.example.com
should just match the exact zone (no matching of parent zones likeexample.com
), same as all other providers.How to reproduce it (as minimally and precisely as possible):
Create PowerDNS zones:
example.com
sub1.example.com
sub2.example.com
Try to match just
sub1.example.com
.Options:
--domain-filter sub1.example.com
- matchessub1.example.com
ANDexample.com
--domain-filter .sub1.example.com
- matches 0 zones--domain-filter .example.com
- matchessub1.example.com
ANDsub2.example.com
We would expect option 1 to work for this scenario (as it worked before adding the
MatchParent
function), as option 2 and 3 are working correctly, but cannot be used for this scenario.Anything else we need to know?:
MatchParent
functionality is not needed, as same results can be achieved by using--domain-filter
multiple times.No other providers use
MatchFilter
function, so behavior is inconsistent and unexpected.Environment:
external-dns --version
):v0.13.5
pdns
The text was updated successfully, but these errors were encountered: