BIND-server problems

Discussion in 'Installation/Configuration' started by NejcZ, Aug 31, 2007.

  1. NejcZ

    NejcZ New Member

    Hey, me again. I'm running Fedora core 5, perfect setup with IspConfig, for like 2 years now. My server was down last year, but now i got it online again. There's a problem, when i create any new domain. Bind just won't start.

    Failed to start BIND : Starting named: Error in named configuration: zone 0.0.127.in-addr.arpa/IN: loaded serial 1997022700 zone 242.255.84.in-addr.arpa/IN: loaded serial 2007083104 zone nejcz.net/IN: loaded serial 2007082901 zone test.domain.com/IN: loading master file pri.test.domain.com: file not found _default/test.domain.com/IN: file not found [FAILED]

    Last year everything worked well. Has anyone any ideas what could be wrong? Thanx in advance, Nejc!
     
  2. till

    till Super Moderator Staff Member ISPConfig Developer

    Do you have a domain test.domain.com in the dns-manager?
     
  3. NejcZ

    NejcZ New Member

    Yes, i created it with ISPConfig DNS manager. nejcz.net was also created with dns manager and it works just fine. But when i create any other, bind just won't start.
     
  4. falko

    falko Super Moderator ISPConfig Developer

    What's in your named.conf? Are there any errors in your logs when BIND doesn't restart?
     
  5. NejcZ

    NejcZ New Member

    Yep, like that

    named.conf

     
  6. till

    till Super Moderator Staff Member ISPConfig Developer

    Please try to delete the zone test.domain.com, wait a minute, empty the recycle bin and then recreate the zone to let ISPConfig create new config files for this zone.
     
  7. NejcZ

    NejcZ New Member

    I have tried that, but it didn't work. :confused:
     
  8. till

    till Super Moderator Staff Member ISPConfig Developer

    Which bind config directory is set in ISPConfig under management > server > settings on the dns tab?
     
  9. NejcZ

    NejcZ New Member

    named.conf dir: /etc/named.conf
    zonefiles dir: /var/named
     
  10. till

    till Super Moderator Staff Member ISPConfig Developer

    Ok, thats fine.

    Do you have any errors in the logfile:

    /home/admispconfig/ispconfif/ispconfig.log
     
  11. NejcZ

    NejcZ New Member

    There are some of the last lines..
     
  12. till

    till Super Moderator Staff Member ISPConfig Developer

    Plaese check if you have lines with "WARN" or "ERROR", the "INFO" lines shoaw actions were no error occured.
     
  13. NejcZ

    NejcZ New Member

    Many of these
     
  14. falko

    falko Super Moderator ISPConfig Developer

    What's the output of
    Code:
    ls -la /var/named
    ?
     
  15. NejcZ

    NejcZ New Member

    Here it is:

     
  16. till

    till Super Moderator Staff Member ISPConfig Developer

    Please try to set /var/named/chroot/var/named instead of /var/named as path to your named configuration in ISPConfig.
     
  17. NejcZ

    NejcZ New Member

  18. falko

    falko Super Moderator ISPConfig Developer

    There's no A record for test.nejcz.net:

    Code:
    mh1:~# dig test.nejcz.net
    
    ; <<>> DiG 9.2.1 <<>> test.nejcz.net
    ;; global options:  printcmd
    ;; Got answer:
    ;; ->>HEADER<<- opcode: QUERY, status: NXDOMAIN, id: 6444
    ;; flags: qr rd ra; QUERY: 1, ANSWER: 0, AUTHORITY: 1, ADDITIONAL: 0
    
    ;; QUESTION SECTION:
    ;test.nejcz.net.                        IN      A
    
    ;; AUTHORITY SECTION:
    nejcz.net.              10800   IN      SOA     dns1.nejcz.net. admin.nejcz.net. 2007082901 28800 7200 604800 86400
    
    ;; Query time: 232 msec
    ;; SERVER: 213.191.92.84#53(213.191.92.84)
    ;; WHEN: Mon Sep  3 21:08:29 2007
    ;; MSG SIZE  rcvd: 79
    
    mh1:~#
     
  19. NejcZ

    NejcZ New Member

    Hmm, it should be..

    IP-Adresse Hostname
    84.255.242.214 A
    84.255.242.214 www
    84.255.242.214 mail
     
  20. falko

    falko Super Moderator ISPConfig Developer

    I've tested again, it's still not working.

    Did you create the record for test.nejcz.net on dns1.nejcz.net and dns2.nejcz.net?
     

Share This Page