DNS questions and errors

Discussion in 'ISPConfig 3 Priority Support' started by dgeho1, May 18, 2016.

  1. dgeho1

    dgeho1 Member HowtoForge Supporter

    I know there have been similar posts in the past, but after exploring them, they didn't appear to apply completly to my situation.

    ISPConfig Version: 3.0.5.4p9
    Debian 7 Squeeze/Sid

    mirrored servers (all services)

    I am working toward migrating away from using my registrar's DNS servers to my own. (ISPCONFIG)

    In previous discussions it was recomended that both servers be on the same physical location to avoid DB corruption via poor quality connections.

    It would appear to be challenging to have the slave server be on the same private network and not have it public facing.

    Is it possible to create an offsite ISPCONFIG slave for secondary DNS at a different physical location with a high reliability connection via the same ISP on a 100mb down/7mb up connection?

    Webserver0 (public via NAT) Private address10.3.192.20
    Webserver2 Behind Firwall (private address 10.3.192.21)

    on another note here is the error log when I try to add a domain.

    Writing BIND domain file failed: /etc/bind/pri.dmgenterprises.xxx zone dmgenterprises.xxx/IN: NS 'ns0.dmgenterprises.xxx' has no address records (A or AAAA) zone dmgenterprises.xxx/IN: not loaded due to errors.

    here is the template I used to create the record (default)
    [ZONE]
    origin={DOMAIN}.
    ns={NS1}.
    mbox={EMAIL}.
    refresh=7200
    retry=540
    expire=604800
    minimum=86400
    ttl=3600

    [DNS_RECORDS]
    A|{DOMAIN}.|{IP}|0|3600
    A|www|{IP}|0|3600
    A|mail|{IP}|0|3600
    NS|{DOMAIN}.|{NS1}.|0|3600
    NS|{DOMAIN}.|{NS2}.|0|3600
    MX|{DOMAIN}.|mail.{DOMAIN}.|10|3600
     
  2. till

    till Super Moderator Staff Member ISPConfig Developer

    This does not matter for dns only mirrors as a dns mirrror does not use any mysql based db mirroring and the ispconfig mirroring does not suffer from latency issues. So you can have dns servers located all arounf the world in different data ceters with ispconfig. There is neither a high speec nor low latency connection required.

    You missed to add A-Records for the NS records.
     
  3. dgeho1

    dgeho1 Member HowtoForge Supporter

    Here is screen shot of my records, it appears that there is an "A" entry
    [​IMG]
     
  4. dgeho1

    dgeho1 Member HowtoForge Supporter

    are you saying that I need to add a zone entry for ns0.dmgenterprises.xxxx?
     
  5. till

    till Super Moderator Staff Member ISPConfig Developer

    You have to add a A-Record for ns0.
     
  6. dgeho1

    dgeho1 Member HowtoForge Supporter

    I added an "A" record same error Writing BIND domain file failed: /etc/bind/pri.dmgenterprises.xxx zone dmgenterprises.xxx/IN: NS 'ns0.dmgenterprisesxxx' has no address records (A or AAAA) zone dmgenterprises.xxx/IN: not loaded due to errors.
    [​IMG]
     

    Attached Files:

  7. till

    till Super Moderator Staff Member ISPConfig Developer

    The A-Record is just "ns0". Edit the A-Record, change the content of the name field to "ns0" and press save.
     
  8. dgeho1

    dgeho1 Member HowtoForge Supporter

    Same Error... Writing BIND domain file failed: /etc/bind/pri.dmgenterprises.xxx zone dmgenterprisesxxx/IN: NS 'ns0.dmgenterprises.xxx' has no address records (A or AAAA) zone dmgenterprises.xxx/IN: not loaded due to errors.

    [​IMG]
     
  9. till

    till Super Moderator Staff Member ISPConfig Developer

    Then there must be a typo somewhere in one of the records or you mixed 0 and O or something like that. The error message is clear, the A-record for ns0 is missing and Bind will not load this zone until you add it. You can also check that in the zone file directly.
     
  10. dgeho1

    dgeho1 Member HowtoForge Supporter

    here is the text from the zone file (x's replace real data for privacy)
    $TTL 3600
    @ IN SOA ns0.dmgenterprises.xxx. dave.valleywebsystems.com. (
    2016051805 ; serial, todays date + todays serial #
    7200 ; refresh, seconds
    540 ; retry, seconds
    604800 ; expire, seconds
    86400 ) ; minimum, seconds
    ;

    dmgenterprises.xxx. 3600 A xx.189.179.34
    mail 3600 A xx.189.179.34
    ns0 86400 A xx.189.179.34
    www 3600 A xx.189.179.34
    dmgenterprises.xxx. 3600 MX 10 mail.dmgenterprises.xxx.
    dmgenterprises.xxx. 3600 NS ns0.dmgenterprises.xxx.
     
  11. dgeho1

    dgeho1 Member HowtoForge Supporter

    It appears to be working now
     

Share This Page