Re: [dnsdist] DNSDIST 1.8.0 With Cache Enabled Unknown key 'dontAGE'

2023-03-30 Thread Otto Moerbeek via dnsdist
On Thu, Mar 30, 2023 at 11:15:10PM +, Bradley Minamoto via dnsdist wrote:

> Much thanks to Christof who pointed out the upper-case.
> 
> My original configuration contained dontAGE=false. After correcting it to 
> dontAge=false the error cleared. Oddly I did not have this issue with 
> previous versions.

Matching of key names has always been case-sensitive. 1.8.0. added
checking of keys names to discover typos: 
https://github.com/PowerDNS/pdns/pull/10115

Before that, unknown keys were silently ignored. For dontAge that did
not matter as it default value is false.

-Otto

> 
> 
> 
> -Brad
> 
> 
> From: dnsdist  on behalf of Bradley 
> Minamoto via dnsdist 
> Sent: Thursday, March 30, 2023 12:11 PM
> To: dnsdist@mailman.powerdns.com 
> Subject: [dnsdist] DNSDIST 1.8.0 With Cache Enabled Unknown key 'dontAGE'
> 
> Has anyone noticed this error when accessing the DNSDIST console (it's also 
> shows up in /var/log/messages) on Red Hat 8?
> 
>  newPacketCache: Unknown key 'dontAGE' given - ignored
> 
> 
> It seems the dontAGE parameter is not recognized in 1.8.0. This parameter is 
> listed in the example on 
> https://dnsdist.org/guides/cache.html<https://secure-web.cisco.com/1SUclwrojE6m1qKajn1uXYL3hSfOx0IarDIQZOrpnezmHHGiPGaGogxYwMIfNUYMGDQcAyzzPuoIAjfrYVogPqpOEk2GRr_Zq2L0L9hm07ZzswcZuiQCsGYXfGltO2h52lpStx2pkhQwe2RiQhuq2UgHDeMeqC6R-fKp7AoaCpvmohUsD9oez15ykk_2UWflrYXwycxPIWlD3nxSMONAaHxC3eW_VewmcwKM_VBtmC6vzjmfxGvznkqq9F5FXyetOzA-fLxUpE4JFJTKmYk1oCvsE2RER2RC-XZsQa5bFMefoJ0SwS1RlCVHkCgF927Ut/https%3A%2F%2Fdnsdist.org%2Fguides%2Fcache.html>
>  and I did not see any references to it being removed/renamed in the change 
> notes.
> 
> 
> As a workaround, I removed "dontAge=false" from my configuration. Is this 
> option no longer supported in 1.8.0 or is this a bug?
> 
> 
> 
> Thanks,
> 
> Brad

> ___
> dnsdist mailing list
> dnsdist@mailman.powerdns.com
> https://mailman.powerdns.com/mailman/listinfo/dnsdist

___
dnsdist mailing list
dnsdist@mailman.powerdns.com
https://mailman.powerdns.com/mailman/listinfo/dnsdist


Re: [dnsdist] DNSDIST 1.8.0 With Cache Enabled Unknown key 'dontAGE'

2023-03-30 Thread Bradley Minamoto via dnsdist
Much thanks to Christof who pointed out the upper-case.

My original configuration contained dontAGE=false. After correcting it to 
dontAge=false the error cleared. Oddly I did not have this issue with previous 
versions.



-Brad


From: dnsdist  on behalf of Bradley 
Minamoto via dnsdist 
Sent: Thursday, March 30, 2023 12:11 PM
To: dnsdist@mailman.powerdns.com 
Subject: [dnsdist] DNSDIST 1.8.0 With Cache Enabled Unknown key 'dontAGE'

Has anyone noticed this error when accessing the DNSDIST console (it's also 
shows up in /var/log/messages) on Red Hat 8?

 newPacketCache: Unknown key 'dontAGE' given - ignored


It seems the dontAGE parameter is not recognized in 1.8.0. This parameter is 
listed in the example on 
https://dnsdist.org/guides/cache.html<https://secure-web.cisco.com/1SUclwrojE6m1qKajn1uXYL3hSfOx0IarDIQZOrpnezmHHGiPGaGogxYwMIfNUYMGDQcAyzzPuoIAjfrYVogPqpOEk2GRr_Zq2L0L9hm07ZzswcZuiQCsGYXfGltO2h52lpStx2pkhQwe2RiQhuq2UgHDeMeqC6R-fKp7AoaCpvmohUsD9oez15ykk_2UWflrYXwycxPIWlD3nxSMONAaHxC3eW_VewmcwKM_VBtmC6vzjmfxGvznkqq9F5FXyetOzA-fLxUpE4JFJTKmYk1oCvsE2RER2RC-XZsQa5bFMefoJ0SwS1RlCVHkCgF927Ut/https%3A%2F%2Fdnsdist.org%2Fguides%2Fcache.html>
 and I did not see any references to it being removed/renamed in the change 
notes.


As a workaround, I removed "dontAge=false" from my configuration. Is this 
option no longer supported in 1.8.0 or is this a bug?



Thanks,

Brad
___
dnsdist mailing list
dnsdist@mailman.powerdns.com
https://mailman.powerdns.com/mailman/listinfo/dnsdist


[dnsdist] DNSDIST 1.8.0 With Cache Enabled Unknown key 'dontAGE'

2023-03-30 Thread Bradley Minamoto via dnsdist
Has anyone noticed this error when accessing the DNSDIST console (it's also 
shows up in /var/log/messages) on Red Hat 8?

 newPacketCache: Unknown key 'dontAGE' given - ignored


It seems the dontAGE parameter is not recognized in 1.8.0. This parameter is 
listed in the example on https://dnsdist.org/guides/cache.html and I did not 
see any references to it being removed/renamed in the change notes.


As a workaround, I removed "dontAge=false" from my configuration. Is this 
option no longer supported in 1.8.0 or is this a bug?



Thanks,

Brad
___
dnsdist mailing list
dnsdist@mailman.powerdns.com
https://mailman.powerdns.com/mailman/listinfo/dnsdist