<html>
<head>
<style>
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
FONT-SIZE: 10pt;
FONT-FAMILY:Tahoma
}
</style>
</head>
<body class='hmmessage'><div style="text-align: left;">I ran zone2sql and i got something like the query below.<br>
<br>
As you can see "name" is empty. I'm not sure if this is correct and it
seems to me that It will not be seen as a wild card and simply throwout
an error.<br>
<br>
insert into domains (name,type) values ('','NATIVE');<br>
insert into records (domain_id, name,type,content,ttl,prio) select id
,'', 'SOA', 'ns1.mynameservers.com hostmaster.mynameservers.com 1
604800 86400 2419200 604800', 604800, 0 from domains where name='';<br>
insert into records (domain_id, name,type,content,ttl,prio) select id
,'www', 'A', '89.248.170.77', 604800, 0 from domains where name='';<br>
<br>
Marcin Krol wrote:
<blockquote cite="mid:511444243.20071124095052@domeny.pl" type="cite">
<pre wrap="">Hello <br><br></pre>
<blockquote type="cite"><pre wrap=""> So how exactly would the zone provided below translate into a proper mysql table for the mysql backend?<br></pre></blockquote>
<pre wrap=""><!----><br>I don't know (I am new user of powerdns), but there's a program "zone2sql" or smth in powerdns software, try translating bind zones to sql this way and simply look it up. I've seen description how to do that is in manual somewhere.<br><br><br><br>--<br>Marcin Krol<br><br><br>_______________________________________________<br>Pdns-users mailing list<br>Pdns-users@mailman.powerdns.com<br>http://mailman.powerdns.com/mailman/listinfo/pdns-users<br><br><br></pre>
</blockquote>
<br>
</div><br /><hr />Express yourself instantly with MSN Messenger! <a href='http://clk.atdmt.com/AVE/go/onm00200471ave/direct/01/' target='_new'>MSN Messenger</a></body>
</html>