Current setup:
PDNS version= pdns-3.0.20110720.2246
Sql backend:  gmysql

I am currently not setup yet to do dnssec.

While trying to setup ALSO-NOTIFY support, I have found via searching the 
lists, etc. that this is to be configured via the domainmetadata table where 
the puts in the domain_id, ALSO-NOTIFY for the kind and the ip address to 
notify for the content.  The issue that I have is that this appears to be not 
working for me.

After looking through the source it appears that dnssec queries have to be 
enabled to get data out of the domainMetadata table.  In the code file 
gsqlbackend.cc , the method alsoNotifies has a test for the dnssecQueries.  (I 
have included the the full method below:

void GSQLBackend::alsoNotifies(const string &domain, set<string> *ips)
{
  if(!d_dnssecQueries)
    return;
  vector<string> meta;
  getDomainMetadata(domain, "ALSO-NOTIFY", meta);
  BOOST_FOREACH(string& str, meta) {
    ips->insert(str);
  }
}

Also, a little later on in the file, the method getDomainMetadata (line 491) 
has the same test for dnssec queries.

So, if I understand it correctly, the also-notify only works when the server is 
setup for dnssec.  Was this the intended to be that way or am I doing something 
wrong?

Thanks!

Steve
_______________________________________________
Pdns-users mailing list
Pdns-users@mailman.powerdns.com
http://mailman.powerdns.com/mailman/listinfo/pdns-users

Reply via email to