<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">
<META content="MSHTML 6.00.2800.1170" name=GENERATOR></HEAD>
<BODY>
<DIV><SPAN class=179434521-02072003><FONT face=Arial color=#0000ff size=2>Sorry
everybody, this seems to be working now... not exactly sure why, as I didn't
change anything..... but hey</FONT></SPAN></DIV>
<DIV><SPAN class=179434521-02072003><FONT face=Arial color=#0000ff
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=179434521-02072003><FONT face=Arial color=#0000ff size=2>- ryan
baldwin.</FONT></SPAN></DIV>
<BLOCKQUOTE dir=ltr style="MARGIN-RIGHT: 0px">
<DIV class=OutlookMessageHeader dir=ltr align=left><FONT face=Tahoma
size=2>-----Original Message-----<BR><B>From:</B> Ryan Baldwin
<BR><B>Sent:</B> Wednesday, July 02, 2003 3:42 PM<BR><B>To:</B>
'pdns-users@mailman.powerdns.com'<BR><B>Subject:</B> Using "Blank" A
Records<BR><BR></FONT></DIV>
<DIV><SPAN class=851332821-02072003><FONT face=Arial size=2>Hi. I'm
recently new to PDNS and so far I really, really like what I see. Now,
I've briefly gone through the archive of the mailman archives, but I couldn't
find anything related to my problem, hence, my first message on the PDNS mail
list (can you feel the excitement?).</FONT></SPAN></DIV>
<DIV><SPAN class=851332821-02072003><FONT face=Arial
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=851332821-02072003><FONT face=Arial size=2>Here's the
deal: I'm migrating to PDNS from Microsoft DNS. The PDNS is using
ODBC to an SQL Server 2000 back end, and PDNS server itself sits on a WIN2K
Server box. Now, for each Zone in our Microsoft DNS servers we have 2 A
Type records. one for "www" and one that's "Same as Parent" (ie, a blank
A record). The blank A record is used to resolve requests made without
the "www" (such as </FONT><A href="http://test.com"><FONT face=Arial
color=#000000 size=2>http://test.com</FONT></A><FONT face=Arial
size=2> </FONT></SPAN><SPAN class=851332821-02072003><FONT face=Arial
size=2>instead of <A
href="http://www.test.com">http://www.test.com</A>)</FONT></SPAN></DIV>
<DIV><SPAN class=851332821-02072003></SPAN><FONT face=Arial
size=2></FONT> </DIV>
<DIV><SPAN class=851332821-02072003><FONT face=Arial size=2>I'm wondering if
it's at all possible to have these "blank" A records in PDNS. I mean, if
I want to add a </FONT><A href="http://www.test.com"><FONT face=Arial
color=#000000 size=2>www.test.com</FONT></A><FONT face=Arial size=2> A
record, I populate the records.name db field with </FONT><A
href="http://www.test.com"><FONT face=Arial color=#000000
size=2>www.test.com</FONT></A><FONT face=Arial
size=2>, </FONT></SPAN><SPAN class=851332821-02072003><FONT face=Arial
size=2>however, this doesn't seem to work as expected if I populate the same
field without the prefixed 'www'... especially since, from my understanding of
the documentaiton, that the records.name field will always have the domain
name regardless of the records.type (I'm looking at section 4.1 of the PDNS
documentation - all insert statements have 'test.com' for the "name"
field).</FONT></SPAN></DIV>
<DIV><SPAN class=851332821-02072003><FONT face=Arial
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=851332821-02072003><FONT face=Arial size=2>To try and mimic
microsoft's "Same as Parent" setting I've tried leaving the records.name field
blank, as well as supplying it with the 'test.com' value... neither of these
would work.</FONT></SPAN></DIV>
<DIV><SPAN class=851332821-02072003><FONT face=Arial
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=851332821-02072003><FONT face=Arial size=2>Can anybody help a
brotha out?</FONT></SPAN></DIV>
<DIV><SPAN class=851332821-02072003><FONT face=Arial
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=851332821-02072003><FONT face=Arial size=2>To recap, the
specs are:</FONT></SPAN></DIV>
<DIV><SPAN class=851332821-02072003><FONT face=Arial size=2>- PDNS backed by a
remote Sql Server 2k</FONT></SPAN></DIV>
<DIV><SPAN class=851332821-02072003><FONT face=Arial size=2>- PDNS running on
Win2k Server w/ all service packs</FONT></SPAN></DIV>
<DIV><SPAN class=851332821-02072003><FONT face=Arial size=2>- Connecting via
ODBC (of course).</FONT></SPAN></DIV>
<DIV><SPAN class=851332821-02072003><FONT face=Arial
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=851332821-02072003><FONT face=Arial size=2>TIA everybody, I'm
excited to be getting on board with this.</FONT></SPAN></DIV>
<P><FONT size=2>- Ryan Baldwin</FONT></P></BLOCKQUOTE></BODY></HTML>