NOERROR with bind backend, NXDOMAIN with gmysql #17705
Short descriptionA mail operator pointed out a DKIM reccord without any selector (i.e _domainkey.domain.com) should return a NOERROR code, not a NXDOMAIN (no mention of this in RFC 6376, but Google, Microsoft and Yahoo respect that). This mail operator checks _domainkey.domain.com before selector._domainkey.domain.com. PowerDNS returns NOERROR with bind backend, but NXDOMAIN with gmysql backend Environment
Steps to reproduceWith bind backend:
Expected behaviourGet a NOERROR answer in both cases Actual behaviourGetting a NOERROR with bind backend, but a NXDOMAIN with gmysql backend Other information
|
Replies: 4 comments
|
did you rectify the zone in the database after modifying it? See: https://doc.powerdns.com/authoritative/backends/generic-sql.html#handling-dnssec-signed-zones |
I runned domain1.com is on gmysql backend > Still get NXDOMAIN on no-selector-DKIM record |
|
The database results are cached for a minute or so (query cache), so please retry :). Also, please let us know the real domains (as mentioned in our support policy) so we can query/test this ourselves? |
|
Hmmm, ok just saw that rectify-zone adds a NULL _domainkey.domain.com record. Is it mandatory only for subdomains starting with an underscore? Anyway thank you very much! |
did you rectify the zone in the database after modifying it? See: https://doc.powerdns.com/authoritative/backends/generic-sql.html#handling-dnssec-signed-zones