ispconfig 3 and dns problem, please help

Discussion in 'Installation/Configuration' started by rezaie, Aug 26, 2013.

  1. rezaie

    rezaie New Member

    hello
    I have installed ubuntu 12.04 and ispconfig 3, by following The "Perfect Server - Ubuntu 12.04 LTS (Apache2, BIND, Dovecot, ISPConfig 3)" instructions.i have a host only network on wmware and want to serve local domain for my virtual lan.and i use 192.168.206.10 ip for my all in one servers.now everything work well,exept i have problem with dns.when i create a website with domain (teseh.lab) and then create a dns zone for it and also a dns reverse zone 206.168.192.in-addr.arpa with a PTR record on it (10 ,teseh.lab.) i can not access the site by domain name . when i use nslookup teseh.lab the result is ok, but when i use nslookup 192.168.206.10 the result is fail .
    [email protected]:/home/administrator# nslookup teseh.lab
    ;; Got recursion not available from 127.0.0.1, trying next server
    Server: ::1
    Address: ::1#53

    Name: teseh.lab
    Address: 192.168.206.10

    [email protected]:/home/administrator#
    ----------------------------
    [email protected]:/home/administrator# nslookup 192.168.206.10
    ;; Got recursion not available from 127.0.0.1, trying next server
    ;; Got recursion not available from 127.0.0.1, trying next server
    Server: ::1
    Address: ::1#53

    ** server can't find 10.206.168.192.in-addr.arpa: REFUSED

    [email protected]:/home/administrator#
    --------------------------------------

    this is my /etc/bind/named.conf.local and /etc/bind/pri.teseh.lab files
    zone "teseh.lab" {
    type master;
    allow-transfer {none;};
    file "/etc/bind/pri.teseh.lab";
    };

    /etc/bind/pri.teseh.lab file:

    $TTL 3600
    @ IN SOA server1.teseh.lab. admin.teseh.lab. (
    2013082309 ; serial, todays date + todays serial #
    7200 ; refresh, seconds
    540 ; retry, seconds
    604800 ; expire, seconds
    86400 ) ; minimum, seconds
    ;

    mail 3600 A 192.168.206.10
    server1 86400 A 192.168.206.10
    server2 86400 A 192.168.206.10
    teseh.lab. 3600 A 192.168.206.10
    teseh.lab. 3600 MX 10 mail.teseh.lab.
    teseh.lab. 3600 NS server1.teseh.lab.
    teseh.lab. 3600 NS server2.teseh.lab.
    www 3600 A 192.168.206.10
    -------------------------------------

    also when i list the /etc/bind directory, i dont have pri.206.168.192.in-addr.arpa file in it. instead i have pri.206.168.192.in-addr.arpa.err containing:

    $TTL 3600
    @ IN SOA server1.teseh.lab. admin.teseh.lab. (
    2013082601 ; serial, todays date + todays serial #
    7200 ; refresh, seconds
    540 ; retry, seconds
    604800 ; expire, seconds
    86400 ) ; minimum, seconds
    ;

    10 86400 PTR teseh.lab.
    ---------------------------------------------------------
    can anybody help me correct this problem please?
    is this ispconfig 3 bug or i do anything wrong?
     
  2. till

    till Super Moderator Staff Member ISPConfig Developer

    Check /var/log/syslog, the named errors that caused the reverse zone fle to be rejected are listed there.
     

Share This Page