<div dir="ltr">Hi!<div><br></div><div>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.</div>
<div>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.</div><div><br></div><div><div>check_indicator(mResultTypeInd, false);</div>
<div> if (strcasecmp(mResultType, "NATIVE") == 0) {</div><div> di.kind = DomainInfo::Native;</div><div> } else if (strcasecmp(mResultType, "MASTER") == 0) {</div><div> di.kind = DomainInfo::Master;</div>
<div> check_indicator(notified_serial_ind, false);</div><div> di.notified_serial = notified_serial;</div><div> } else if (strcasecmp(mResultType, "SLAVE") == 0) {</div><div> di.kind = DomainInfo::Slave;</div>
<div> check_indicator(last_check_ind, true);</div><div> di.last_check = last_check;</div><div> di.masters = getDomainMasters(mResultName, zone_id);</div><div> } else {</div><div> throw OracleException("Unknown zone type in Oracle backend");</div>
<div> }</div></div><div><br></div><div>I also did not find any information about this in powerdns documentation.</div><div><br></div><div>Could you nice people help me with the problem?</div><div><br></div><div>Thanks in advance!</div>
<div>Margus Kiting</div><div><br></div><div><br></div><div><br></div><div> </div></div>