dns dosnt work

Discussion in 'Installation/Configuration' started by Camran, Sep 3, 2008.

  1. Camran

    Camran New Member

    after i upgrade to 2.2.25 when i add a website in ispconfig then /etc/init.d/named faild to start and said;

    [root@cp etc]# /etc/init.d/named restart
    Stopping named: [ OK ]
    Starting named:
    Error in named configuration:
    zone 0.0.127.in-addr.arpa/IN: loaded serial 1997022700
    zone examplenet.com/IN: loaded serial 2008090216
    zone examplesteel.com/IN: loaded serial 2008062201
    zone exampledoor.com/IN: loaded serial 2008090201
    zone exampleart.com/IN: loading master file pri.exampleart.com: file not found
    _default/exampleart.com/IN: file not found
    [FAILED]
    [root@cp etc]#
    [root@cp etc]#

    by the way in my ISPCONFIG control panle Management > Setting > dns:
    i have
    BIND User: named
    BIND Group: named
    named.conf: /var/named/chroot/etc/named.conf
    Zonefiles Dir.: /var/named
    Default Ns1: ns1.examplenet.com
    Default Ns2:
    Admin Email: root@localhost
    Default MX: checked

    Thanks for your help
     
    Last edited: Sep 3, 2008
  2. till

    till Super Moderator Staff Member ISPConfig Developer

    do you have any errors in the file /home/admispconfig/ispconfig/ispconfig.log ?
     
  3. Camran

    Camran New Member

    it just info not error

    it was no error just info

     
  4. Camran

    Camran New Member

    now i see some error

    04.09.2008 - 03:04:52 => INFO - /root/ispconfig/scripts/lib/classes/ispconfig_postfix.lib.php, Line 289: postmap hash:/etc/postfix/virtusertable
    04.09.2008 - 03:04:52 => INFO - /root/ispconfig/scripts/lib/config.lib.php, Line 1265: cp -fr /etc/httpd/conf/vhosts/Vhosts_ispconfig.conf /etc/httpd/conf/vhosts/Vhosts_ispconfig.conf~
    04.09.2008 - 03:04:52 => INFO - /root/ispconfig/scripts/lib/classes/ispconfig_bind.lib.php, Line 287: cp -fr /var/named/pri.exampleart.com /var/named/pri.venoosvahidiart.com~
    04.09.2008 - 03:04:57 => WARN - /root/ispconfig/scripts/lib/classes/ispconfig_system.lib.php, Line 728: WARNING: could not /etc/rc.d/init.d/named restart &> /dev/null
    04.09.2008 - 03:04:57 => INFO - /root/ispconfig/scripts/lib/config.lib.php, Line 2056: cp -fr /etc/proftpd_ispconfig.conf /etc/proftpd_ispconfig.conf~
     
  5. falko

    falko Super Moderator Howtoforge Staff

    Does the zone file pri.exampleart.com exist? What's in your named.conf?
     
  6. Camran

    Camran New Member

    Thanks falko, :X your're great ;)
     
  7. Camran

    Camran New Member

    found the problem

    Hi,
    I found the problem, because

    in my ISPCONFIG control panel > Management > Setting > dns:

    Zonefiles Dir.: /var/named should be:
    /var/named/chroot/var/named
     
    Last edited: Sep 4, 2008

Share This Page