<html>
<head>
<meta content="text/html; charset=windows-1252"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<b>Hi Bert,<br>
<br>
</b><b><b><i>This are the congituration files, they're on production
from 4 years ago with bind9 without problems and the
named-checkconf and named-checkzone works correctly.<br>
(For confidentiality, names w</i><i>ent replaced and cut 4
zones of 450)</i></b><br>
<br>
root@powerdns:/etc/bind# cat named.conf<br>
<br>
</b>// This is the primary configuration file for the BIND DNS
server named.<br>
//<br>
// Please read /usr/share/doc/bind9/README.Debian.gz for information
on the <br>
// structure of BIND configuration files in Debian, *BEFORE* you
customize <br>
// this configuration file.<br>
//<br>
// If you are just adding zones, please do that in
/etc/bind/named.conf.local<br>
<br>
include "/etc/bind/named.conf.options";<br>
include "/etc/bind/named.conf.local";<br>
include "/etc/bind/named.conf.default-zones";<br>
include "/etc/bind/named.conf.dominios";<br>
<br>
logging {<br>
channel "querylog" { file "/var/log/bind9.log"; print-time
yes; };<br>
category queries { querylog; };<br>
};<br>
<br>
key "TRANSFER" {<br>
algorithm hmac-md5;<br>
secret "<i>REPLACEDFORCONFIDENCIALITY</i>==";<br>
};<br>
<br>
server 192.168.25.158 {<br>
keys {<br>
TRANSFER;<br>
};<br>
};<br>
<br>
<b># cat named.conf.dominios<br>
</b><br>
zone "domainOne.es" {<br>
type master;<br>
file "/etc/bind/dominios/db.domainOne.es";<br>
also-notify {192.168.25.159;};<br>
allow-transfer {192.168.25.159;};<br>
};<br>
<br>
zone "domainTwo.es" {<br>
type master;<br>
file "/etc/bind/dominios/db.domainTwo.es";<br>
also-notify {192.168.25.159;};<br>
allow-transfer {192.168.25.159;};<br>
};<br>
<br>
zone "domainThree.es" {<br>
type master;<br>
file "/etc/bind/dominios/db.domainThree.es";<br>
also-notify {192.168.25.159;};<br>
allow-transfer {192.168.25.159;};<br>
};<br>
<br>
zone "domainFour.es" {<br>
type master;<br>
file "/etc/bind/dominios/db.domainFour.es";<br>
also-notify {192.168.25.159;};<br>
allow-transfer {192.168.25.159;};<br>
};<br>
<br>
<b># cat dominios/db.domainOne.es<br>
</b>$TTL 43200<br>
@ IN SOA ns1.mywork.es. sistemas.mywork.es. (<br>
2016050203 ; Serial<br>
14400 ; Refresh<br>
1800 ; Retry<br>
1209600 ; Expire<br>
3600 ) ; Negative Cache TTL<br>
;<br>
@ IN NS ns1.mywork.es. <br>
@ IN NS ns2.mywork.es. <br>
<br>
@ IN MX 50 mail.domainOne.es.<br>
@ IN TXT "v=spf1 a mx a:3948.submission.antispamcloud.com
-all"<br>
@ IN A 39.81.220.16<br>
www IN CNAME domainOne.es.<br>
empleados IN A 39.81.220.16<br>
mail IN A 39.83.220.16<br>
pop3 IN CNAME mail.domainOne.es.<br>
imap IN CNAME mail.domainOne.es.<br>
smtp IN CNAME mail.domainOne.es.<br>
webmail IN CNAME mail.domainOne.es.<br>
@ IN MX 10 mx.spamexperts.com.<br>
@ IN MX 20 fallbackmx.spamexperts.eu.<br>
@ IN MX 30 astmx.spamexperts.net.<br>
<br>
<br>
Best regards, and sorry for my english.<b><br>
<br>
</b><br>
<div class="moz-cite-prefix">On 18/05/16 11:12, bert hubert wrote:<br>
</div>
<blockquote cite="mid:20160518091221.GA19885@server.ds9a.nl"
type="cite">
<pre wrap="">On Wed, May 18, 2016 at 10:51:58AM +0200, @lbertosolorzano wrote:
</pre>
<blockquote type="cite">
<pre wrap="">Hi,
At work are thinking to migrate our nsX servers to PowerDNS from bind,
all its ok, but when we went to use zone2sql show this error:
</pre>
</blockquote>
<pre wrap="">
Hi Alberto,
Can you make an exact set of files that fails? So an named.conf & the
included file named.conf.dominios.
We don't want to have to work before we actually see your problem.
So we need two files that fail for you and that will fail for us too. Then
we can help you.
Thanks!
Bert
</pre>
</blockquote>
<br>
</body>
</html>