dns zone in ispconfig3

Discussion in 'General' started by sv102, Mar 6, 2016.

  1. sv102

    sv102 New Member

    Hello. I have webserver (debian8) whith confugured DNS zone (example "site.ru") in webgui ispconfig3.
    but I see *.err name zone configured file in path /etc/bind
    Code:
    -rw-r--r-- 1 root root 2389 jan 17 21:59 bind.keys
    -rw-r--r-- 1 root root  237 jan 17 21:59 db.0
    -rw-r--r-- 1 root root  271 jan 17 21:59 db.127
    -rw-r--r-- 1 root root  237 jan 17 21:59 db.255
    -rw-r--r-- 1 root root  353 jan 17 21:59 db.empty
    -rw-r--r-- 1 root root  270 jan 17 21:59 db.local
    -rw-r--r-- 1 root root 3048 jan 17 21:59 db.root
    -rw-r--r-- 1 root bind  463 jan 17 21:59 named.conf
    -rw-r--r-- 1 root bind  490 jan 17 21:59 named.conf.default-zones
    -rw-r--r-- 1 root bind    1 mar  6 23:42 named.conf.local
    -rw-r--r-- 1 root bind  890 feb  9 19:05 named.conf.options
    -rw-r--r-- 1 root bind  757 mar  6 23:42 pri.site.ru.err
    -rw-r----- 1 bind bind   77 feb  9 19:05 rndc.key
    d-ws-w--wT 2 root bind 4096 feb  9 19:16 slave
    -rw-r--r-- 1 root root 1317 jan 17 21:59 zones.rfc1918
    
    I rename "pri.site.ru.err" in "pri.site.ru", and restart bind9, but system creat "pri.site.ru.err" :( This error?
    nano pri.site.ru
    Code:
    nano /etc/bind/pri.sv-projekt.ru
    
    $TTL        3600
    @       IN      SOA     ns1.site.ru. admin.site.ru. (
                            2016030114       ; serial, todays date + todays serial #
                            7200              ; refresh, seconds
                            540              ; retry, seconds
                            604800              ; expire, seconds
                            86400 )            ; minimum, seconds
    ;
    mail 3600 A        90.107.106.90
    ns1 86400 A        90.107.106.90
    ns2 86400 A        90.107.106.90
    site.ru. 3600 A        90.107.106.90
    site.ru. 3600      MX    10   mail.site.ru.
    site.ru. 3600      NS        ns1.site.ru.
    webhost 86400 A        90.107.106.90
    www 3600 A        90.107.106.90
    
    /etc/init.d/bind9 restart
     
    
     
  2. florian030

    florian030 Well-Known Member HowtoForge Supporter

    You need fqdn for the a-records. i.e. mail.site.ru. and ns1.site.ru.
     

Share This Page