<html><head>
<meta http-equiv="Content-Type" content="text/html; charset=Windows-1252"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; color: rgb(0, 0, 0); font-size: 14px; font-family: Calibri, sans-serif; "><div>Hi All,</div><div><br></div><div>I am setting up a new PowerDNS installation which I intend on running the MySQL backend for, but also am considering writing a custom backend to provide some additional functionality that allows responses to specific A records to be dynamically generated.</div><div><br></div><div>What I'd like to achieve is this:</div><div><span class="Apple-tab-span" style="white-space:pre"> </span>1. Attempt to resolve the requested record from the MySQL backend.</div><div><span class="Apple-tab-span" style="white-space:pre"> </span>2. If a record doesn’t exist, attempt to resolve it using the custom (piped) backend.</div><div><br></div><div>I see that PDNS supports multiple backends, but it's not clear as to whether or not there's some form of precedence that takes place in resolving the records.</div><div><br></div><div>So, in essence, I'd like something like this to take place:</div><div><span class="Apple-tab-span" style="white-space:pre"> </span>SOA<span class="Apple-tab-span" style="white-space:pre"> </span><from the MySQL Backend></div><div><span class="Apple-tab-span" style="white-space:pre"> </span>A <span class="Apple-tab-span" style="white-space:pre"> </span><custom backend generated IP></div><div>www<span class="Apple-tab-span" style="white-space:pre"> </span>A<span class="Apple-tab-span" style="white-space:pre"> </span><custom backend generated IP></div><div>subdomain1 A <span class="Apple-tab-span" style="white-space:pre"> </span>127.0.0.1</div><div>subdomain2 A<span class="Apple-tab-span" style="white-space:pre"> </span>127.0.0.2</div><div><span class="Apple-tab-span" style="white-space:pre"> </span>MX<span class="Apple-tab-span" style="white-space:pre"> </span>mx1.my</div><div><span class="Apple-tab-span" style="white-space:pre"> </span>MX<span class="Apple-tab-span" style="white-space:pre"> </span>mx2.my</div><div><br></div><div>I'd prefer to use the custom backend as the last resort for these records and use the MySQL backend by default.</div><div><br></div><div>Thoughts anyone?</div><div><br></div><div>Kind Regards,</div><div>Jonathan</div></body></html>