DNS recordes

Discussion in 'ISPConfig 3 Priority Support' started by rvakili, May 26, 2014.

  1. rvakili

    rvakili Member

    Hi Till et.el,

    Hope you guys doing well.

    I setup a server, client website DNS records are resolving fine. The primary hostname. myhostname.com also setup however it is not resolved. I used DNS tools and it shows they no records exist. However, in the panel I have all the records. Any help will be appreciated.

    Using the most revet panel: 3.0.4p1
    CentOS 6.X

    With many thanks in advance.

    Ramin
     
    Last edited: May 26, 2014
  2. till

    till Super Moderator Staff Member ISPConfig Developer

    ensure that the a-record for myhostname.com ends with a dot:

    incorrect: "myhostname.com"
    correct: "myhostname.com."
     
  3. rvakili

    rvakili Member

    Till,

    Doing so, generated pri.myhostname.com.err in var/named and server start sending email out:

    WARNING - Writing BIND domain file failed: /var/named/pri.ourmanitoba.com zone ourmanitoba.com/IN: NS 'ns1.ourmanitoba.com' has no address records (A or AAAA) zone ourmanitoba.com/IN: NS 'ns2.ourmanitoba.com' has no address records (A or AAAA) zone ourmanitoba.com/IN: not loaded due to errors.
     
  4. till

    till Super Moderator Staff Member ISPConfig Developer

    Then there must be a typo in one of the records or the zone name. Please post the file pri.myhostname.com.err
     
  5. rvakili

    rvakili Member

    $TTL 3600
    @ IN SOA ns1.ourmanitoba.com. itlife.me.com. (
    2014052601 ; serial, todays date + todays serial #
    7200 ; refresh, seconds
    540 ; retry, seconds
    604800 ; expire, seconds
    86400 ) ; minimum, seconds
    ;

    mail 3600 A 205.200.66.139
    ourmanitoba.com. 86400 A 205.200.66.139
    www 3600 A 205.200.66.139
    ourmanitoba.com. 3600 MX 10 mail.ourmanitoba.com.
    ourmanitoba.com. 3600 NS ns1.ourmanitoba.com.
    ourmanitoba.com. 3600 NS ns2.ourmanitoba.com.
     
  6. till

    till Super Moderator Staff Member ISPConfig Developer

    The A-records for the ns records are mising. when the ns records are subdomains of the same zone, then you will have two a-records:

    ns1.ourmanitoba.com. 86400 A 205.200.66.139
    ns2.ourmanitoba.com. 86400 A 205.200.66.139

    in ISPConfig.
     
  7. rvakili

    rvakili Member

    Thanks till.

    I add the records and it is resolving now.

    WhenI do DNS report it says:

    No CNAME record found.
    No PTR record found.

    Do I need them?

    Ramin
     
  8. till

    till Super Moderator Staff Member ISPConfig Developer

    No.

    You should have a ptr record. But this is most likely set by your ISP, the one that assigned you the fixed ip address for your server as this record has to be set in the reverse zone of the IP address and not in the zone of your domain name.
     

Share This Page