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

Otto Moerbeek otto at drijf.net
Fri Mar 31 05:28:10 UTC 2023


On Thu, Mar 30, 2023 at 11:15:10PM +0000, 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 <dnsdist-bounces at mailman.powerdns.com> on behalf of Bradley Minamoto via dnsdist <dnsdist at mailman.powerdns.com>
> Sent: Thursday, March 30, 2023 12:11 PM
> To: dnsdist at mailman.powerdns.com <dnsdist at 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 at mailman.powerdns.com
> https://mailman.powerdns.com/mailman/listinfo/dnsdist



More information about the dnsdist mailing list