<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:x="urn:schemas-microsoft-com:office:excel" xmlns:p="urn:schemas-microsoft-com:office:powerpoint" xmlns:a="urn:schemas-microsoft-com:office:access" xmlns:dt="uuid:C2F41010-65B3-11d1-A29F-00AA00C14882" xmlns:s="uuid:BDC6E3F0-6DA3-11d1-A2A3-00AA00C14882" xmlns:rs="urn:schemas-microsoft-com:rowset" xmlns:z="#RowsetSchema" xmlns:b="urn:schemas-microsoft-com:office:publisher" xmlns:ss="urn:schemas-microsoft-com:office:spreadsheet" xmlns:c="urn:schemas-microsoft-com:office:component:spreadsheet" xmlns:odc="urn:schemas-microsoft-com:office:odc" xmlns:oa="urn:schemas-microsoft-com:office:activation" xmlns:html="http://www.w3.org/TR/REC-html40" xmlns:q="http://schemas.xmlsoap.org/soap/envelope/" xmlns:rtc="http://microsoft.com/officenet/conferencing" xmlns:D="DAV:" xmlns:Repl="http://schemas.microsoft.com/repl/" xmlns:mt="http://schemas.microsoft.com/sharepoint/soap/meetings/" xmlns:x2="http://schemas.microsoft.com/office/excel/2003/xml" xmlns:ppda="http://www.passport.com/NameSpace.xsd" xmlns:ois="http://schemas.microsoft.com/sharepoint/soap/ois/" xmlns:dir="http://schemas.microsoft.com/sharepoint/soap/directory/" xmlns:ds="http://www.w3.org/2000/09/xmldsig#" xmlns:dsp="http://schemas.microsoft.com/sharepoint/dsp" xmlns:udc="http://schemas.microsoft.com/data/udc" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:sub="http://schemas.microsoft.com/sharepoint/soap/2002/1/alerts/" xmlns:ec="http://www.w3.org/2001/04/xmlenc#" xmlns:sp="http://schemas.microsoft.com/sharepoint/" xmlns:sps="http://schemas.microsoft.com/sharepoint/soap/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:udcs="http://schemas.microsoft.com/data/udc/soap" xmlns:udcxf="http://schemas.microsoft.com/data/udc/xmlfile" xmlns:udcp2p="http://schemas.microsoft.com/data/udc/parttopart" xmlns:wf="http://schemas.microsoft.com/sharepoint/soap/workflow/" xmlns:dsss="http://schemas.microsoft.com/office/2006/digsig-setup" xmlns:dssi="http://schemas.microsoft.com/office/2006/digsig" xmlns:mdssi="http://schemas.openxmlformats.org/package/2006/digital-signature" xmlns:mver="http://schemas.openxmlformats.org/markup-compatibility/2006" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns:mrels="http://schemas.openxmlformats.org/package/2006/relationships" xmlns:spwp="http://microsoft.com/sharepoint/webpartpages" xmlns:ex12t="http://schemas.microsoft.com/exchange/services/2006/types" xmlns:ex12m="http://schemas.microsoft.com/exchange/services/2006/messages" xmlns:pptsl="http://schemas.microsoft.com/sharepoint/soap/SlideLibrary/" xmlns:spsl="http://microsoft.com/webservices/SharePointPortalServer/PublishedLinksService" xmlns:Z="urn:schemas-microsoft-com:" xmlns:st="" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv=Content-Type content="text/html; charset=us-ascii">
<meta name=Generator content="Microsoft Word 12 (filtered medium)">
<style>
<!--
/* Font Definitions */
@font-face
{font-family:Calibri;
panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0in;
margin-bottom:.0001pt;
font-size:11.0pt;
font-family:"Calibri","sans-serif";}
a:link, span.MsoHyperlink
{mso-style-priority:99;
color:blue;
text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
{mso-style-priority:99;
color:purple;
text-decoration:underline;}
span.EmailStyle17
{mso-style-type:personal-compose;
font-family:"Calibri","sans-serif";
color:windowtext;}
.MsoChpDefault
{mso-style-type:export-only;}
@page Section1
{size:8.5in 11.0in;
margin:1.0in 1.0in 1.0in 1.0in;}
div.Section1
{page:Section1;}
-->
</style>
<!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
</head>
<body lang=EN-US link=blue vlink=purple>
<div class=Section1>
<p class=MsoNormal>Hi.<o:p></o:p></p>
<p class=MsoNormal><o:p> </o:p></p>
<p class=MsoNormal>I am using Authoritative server 3.0 and Recursor 3.3 that I
just installed on Ubuntu 11.04 from source, using the gymsql backend.<o:p></o:p></p>
<p class=MsoNormal><o:p> </o:p></p>
<p class=MsoNormal>Years ago I used PowerDNS and was able to set it up so that
if a query couldn’t be answered by the local MySQL database, it would
forward the request on to another server, even if the query was for a host inside
the domain that Power DNS was authoritative over.<o:p></o:p></p>
<p class=MsoNormal>I can’t seem to get that behavior working again, wasn’t
sure if that’s because I still haven’t figured out the right “magic”
for my config files (and/or domain records!), or if this behavior has changed
in PowerDNS?<o:p></o:p></p>
<p class=MsoNormal><o:p> </o:p></p>
<p class=MsoNormal>For example: our “example.com” domain has a
subdomain called “pc.example.com”.<o:p></o:p></p>
<p class=MsoNormal>example.com is served by PowerDNS, but pc.example.com is
served by Windows DNS.<o:p></o:p></p>
<p class=MsoNormal><o:p> </o:p></p>
<p class=MsoNormal>The real kicker is that there are host records that share space
in the same IP range.<o:p></o:p></p>
<p class=MsoNormal>For example:<o:p></o:p></p>
<p class=MsoNormal><o:p> </o:p></p>
<p class=MsoNormal>desktop.pc.example.com 10.10.10.10 <=
Served in pc.example.com by Windows DNS<o:p></o:p></p>
<p class=MsoNormal>server.example.com 10.10.10.11
<= Served in example.com by PowerDNS<o:p></o:p></p>
<p class=MsoNormal><o:p> </o:p></p>
<p class=MsoNormal>I’d like to be able to point everything to PowerDNS.<o:p></o:p></p>
<p class=MsoNormal>If the record I am searching for is located in PowerDNS,
great – serve it up.<o:p></o:p></p>
<p class=MsoNormal>If the record is not in the PowerDNS database, forward the
query on to the Windows DNS, no matter what the domain or PTR record is.<o:p></o:p></p>
<p class=MsoNormal>e.g.<o:p></o:p></p>
<p class=MsoNormal> If I am looking for foo.example.com, and it lives in
PowerDNS database – return that A record.<o:p></o:p></p>
<p class=MsoNormal> If I am looking for foo.pc.example.com and it does not
live in PowerDNS, forward the request to Windows DNS.<o:p></o:p></p>
<p class=MsoNormal> If I am looking for 10.10.10.10 and it lives in
PowerDNS, serve it. If not, forward to Windows DNS.<o:p></o:p></p>
<p class=MsoNormal><o:p> </o:p></p>
<p class=MsoNormal>The zones are a bit muddled. <o:p></o:p></p>
<p class=MsoNormal>Almost all of example.com does live in the PowerDNS database
and pc.example.com in Windows.<o:p></o:p></p>
<p class=MsoNormal>But when it comes to IP’s (for PTR records), they are
all over the map and there are no clear zones. That’s why I really
want PowerDNS to forward on the requests, even if the IP being queried falls
within the reverse zone hosted in PowerDNS (like above, both of those
10.10.10.x IP’s would be in the same reverse 10.10.10-in-addr.arpa
zone)<o:p></o:p></p>
<p class=MsoNormal><o:p> </o:p></p>
<p class=MsoNormal>I hope I explained it enough to make sense!<o:p></o:p></p>
<p class=MsoNormal><o:p> </o:p></p>
<p class=MsoNormal>I’m open for ideas. I couldn’t seem to
make it work pointing first to PowerDNS, and somehow handing off all requests
to the recursor. Lookups for pc.example.com where not forwarded on, it seemed
like PowerDNS thought itself to be authoritative for all *.example.com.<o:p></o:p></p>
<p class=MsoNormal>I currently point to the recursor first, with this in the
recursor.conf file:<o:p></o:p></p>
<p class=MsoNormal style='text-indent:.5in'>forward-zones-recurse=example.com=10.10.10.100,pc.example.com=10.10.10.101<o:p></o:p></p>
<p class=MsoNormal>(where 10.10.10.100 is powerdns and 10.10.10.101 is windows)<o:p></o:p></p>
<p class=MsoNormal>That works for the forward lookups, at least the ones that
are kept where they should be (e.g. no parent domain example.com hosts in the
Windows DNS) but the reverse lookups break, only getting a valid reply if the
PTR record is in PowerDNS, and a NXDOMAIN if it’s a record found in
Windows.<o:p></o:p></p>
<p class=MsoNormal><o:p> </o:p></p>
<p class=MsoNormal>Many thanks!<o:p></o:p></p>
<p class=MsoNormal>Brent<o:p></o:p></p>
<p class=MsoNormal><o:p> </o:p></p>
<p class=MsoNormal><o:p> </o:p></p>
<p class=MsoNormal><o:p> </o:p></p>
<p class=MsoNormal><o:p> </o:p></p>
</div>
</body>
</html>