[Pdns-users] Trying to migrate form bind9

at lbertosolorzano at lbertosolorzano
Wed May 18 09:36:32 UTC 2016


*Hi Bert,

***/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.
(For confidentiality, names w//ent replaced and cut 4 zones of 450)/*

root at powerdns:/etc/bind# cat named.conf

*// This is the primary configuration file for the BIND DNS server named.
//
// Please read /usr/share/doc/bind9/README.Debian.gz for information on the
// structure of BIND configuration files in Debian, *BEFORE* you customize
// this configuration file.
//
// If you are just adding zones, please do that in
/etc/bind/named.conf.local

include "/etc/bind/named.conf.options";
include "/etc/bind/named.conf.local";
include "/etc/bind/named.conf.default-zones";
include "/etc/bind/named.conf.dominios";

logging {
        channel "querylog" { file "/var/log/bind9.log"; print-time yes; };
        category queries { querylog; };
};

key "TRANSFER" {
        algorithm hmac-md5;
        secret "/REPLACEDFORCONFIDENCIALITY/==";
};

server 192.168.25.158 {
        keys {
        TRANSFER;
    };
};

*# cat named.conf.dominios
*
zone "domainOne.es" {
type master;
        file "/etc/bind/dominios/db.domainOne.es";
        also-notify {192.168.25.159;};
        allow-transfer {192.168.25.159;};
};

zone "domainTwo.es" {
        type master;
        file "/etc/bind/dominios/db.domainTwo.es";
        also-notify {192.168.25.159;};
        allow-transfer {192.168.25.159;};
};

zone "domainThree.es" {
        type master;
        file "/etc/bind/dominios/db.domainThree.es";
        also-notify {192.168.25.159;};
        allow-transfer {192.168.25.159;};
};

zone "domainFour.es" {
        type master;
        file "/etc/bind/dominios/db.domainFour.es";
        also-notify {192.168.25.159;};
        allow-transfer {192.168.25.159;};
};

*# cat dominios/db.domainOne.es
*$TTL    43200
@    IN    SOA    ns1.mywork.es. sistemas.mywork.es. (
            2016050203    ; Serial
            14400    ; Refresh
            1800    ; Retry
            1209600    ; Expire
            3600 )    ; Negative Cache TTL
;
@    IN    NS    ns1.mywork.es.   
@    IN    NS    ns2.mywork.es.   

@    IN    MX    50    mail.domainOne.es.
@    IN    TXT    "v=spf1 a mx a:3948.submission.antispamcloud.com -all"
@    IN    A    39.81.220.16
www    IN    CNAME    domainOne.es.
empleados    IN    A    39.81.220.16
mail    IN    A    39.83.220.16
pop3    IN    CNAME    mail.domainOne.es.
imap    IN    CNAME    mail.domainOne.es.
smtp    IN    CNAME    mail.domainOne.es.
webmail    IN    CNAME    mail.domainOne.es.
@    IN    MX    10    mx.spamexperts.com.
@    IN    MX    20    fallbackmx.spamexperts.eu.
@    IN    MX    30    astmx.spamexperts.net.


Best regards, and sorry for my english.*

*
On 18/05/16 11:12, bert hubert wrote:
> On Wed, May 18, 2016 at 10:51:58AM +0200, @lbertosolorzano wrote:
>> 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:
> 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

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.powerdns.com/pipermail/pdns-users/attachments/20160518/cec467d3/attachment.html>


More information about the Pdns-users mailing list