[Pdns-users] Oracle backed slave zone nameserver problem.
Margus Kiting
margus.kiting at gmail.com
Thu Mar 27 07:10:19 UTC 2014
Hi!
I noticed in oracle backed schema SQL, there isn't any master nameserver
column available in Zones table. I can specify zone type, but not master
name server if type is set to slave.
I also tried looking in source code, but could not figure out where slave
zones master nameserver should go. I believe zone type check is done in
oraclebackend.cc in code given below.
check_indicator(mResultTypeInd, false);
if (strcasecmp(mResultType, "NATIVE") == 0) {
di.kind = DomainInfo::Native;
} else if (strcasecmp(mResultType, "MASTER") == 0) {
di.kind = DomainInfo::Master;
check_indicator(notified_serial_ind, false);
di.notified_serial = notified_serial;
} else if (strcasecmp(mResultType, "SLAVE") == 0) {
di.kind = DomainInfo::Slave;
check_indicator(last_check_ind, true);
di.last_check = last_check;
di.masters = getDomainMasters(mResultName, zone_id);
} else {
throw OracleException("Unknown zone type in Oracle backend");
}
I also did not find any information about this in powerdns documentation.
Could you nice people help me with the problem?
Thanks in advance!
Margus Kiting
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.powerdns.com/pipermail/pdns-users/attachments/20140327/6295bdd3/attachment.html>
More information about the Pdns-users
mailing list