Bind DNS in-addr.arpa zones replication problem

Discussion in 'Installation/Configuration' started by lucani, May 31, 2012.

  1. lucani

    lucani Member HowtoForge Supporter

    Hello,

    I have a problem with in-addr.arpa zone replication on two BIND servers.

    I start with another small problem which is connected with main topic.
    I noticed that zone can't be transferred correctly because secondary server can't save temporary zone file from axfr transfer to /etc/bind/slave. In syslog there are lines about insufficient permissions of bind to do it. Both /etc/bind with subpaths and /usr/sbin/named are chowned by root:bind. I forced bind to run as bind:bind and chown recursively both bind paths. Now it works without problem. Is it normal/bug/my wrong configuration?

    Main problem is zone file on master server. I don't know how it's generated but bind don't want to answer anything about this zone when I ask it using dig, nslookup or intodns.com. It's very strange because, on the other hand, the same zone is correctly transferred to secondary server but data is generated with other template. So finally master server looks down for this reverse domain and secondary looks up, but with other (I think default, not from axfr transfer) zone settings (data in refresh, retry, expire and ttl fields; records are correct).

    I have to notice that this problem only occurs with in-addr.arpa zones, rest zones are ok.

    This can be corrected manually using
    "$ORIGIN ."
    for main zone settings and ns records and
    "$ORIGIN xxx.xxx.xxx.in-addr.arpa."
    before records
    "xxx PTR server.domain.com."

    where xxx are parts of IPv4 address.

    Will it work if I save full IP address into PTR record?
    I didn't do that because in ISPConfig manual it's presented solution with
    "xxx PTR server.domain.com."
    not "xxx.xxx.xxx.xxx PTR server.domain.com."
     
  2. lucani

    lucani Member HowtoForge Supporter

    * * * bump * * *
     

Share This Page