new dns-zone not created properly after upgrade to 3.0.4.2

Discussion in 'Installation/Configuration' started by giftsnake, Jan 20, 2012.

  1. giftsnake

    giftsnake New Member

    similar to http://www.howtoforge.com/forums/showthread.php?t=55816, my dns does not work anymore.

    running debian squeeze with bind on ispconfig 3.0.4.2.
    I created a new zone (first after upgrade, existant domain, but not on my server) with the wizard, the zone-file gets created, but
    Code:
    dig @my.server.com domain.com
    just gives:
    Code:
    ->>HEADER<<- opcode: QUERY, status: REFUSED
    
    on the server itself, it gives the result for the old configuration:
    Code:
    dig @localhost domain.com
    
    ; <<>> DiG 9.7.3 <<>> @localhost domain.com
    ; (1 server found)
    ;; global options: +cmd
    ;; Got answer:
    ;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 56020
    ;; flags: qr rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 2, ADDITIONAL: 0
    
    ;; QUESTION SECTION:
    ;domain.com.			IN	A
    
    ;; ANSWER SECTION:
    domain.com.		3600	IN	A	IP.IP.IP.IP
    
    ;; AUTHORITY SECTION:
    domain.com.		3600	IN	NS	ns2.domain2.com.
    domain.com.		3600	IN	NS	ns.domain2.com.
    the zone does not get transfered to secondary nameservers as well...
    thanks for help in advance :)
     
  2. till

    till Super Moderator Staff Member ISPConfig Developer

    Check syslog on master and slave for bind / named errors.
     
  3. giftsnake

    giftsnake New Member

    nothing there, except for the request...
    Code:
    Jan 20 10:08:05 hostname named[25989]: client IP#60326: query (cache) 'domain.com/A/IN' denied
    
     
  4. till

    till Super Moderator Staff Member ISPConfig Developer

    Please check that you added the IP address of the slave server(s) in the filed "Allow zone transfers to these IPs (comma separated list)" of the DNS zone.
     
  5. giftsnake

    giftsnake New Member

    checked, its all in there.
     
  6. falko

    falko Super Moderator ISPConfig Developer

    Are there any other errors in your syslog (both on the master and the slave)?
     
  7. giftsnake

    giftsnake New Member

    not that i am aware of. even when i restart bind or change something in the zone file

    edit: looks like the entry in 'named.conf.local' was mising.
     
    Last edited: Jan 22, 2012
  8. till

    till Super Moderator Staff Member ISPConfig Developer

  9. giftsnake

    giftsnake New Member

    /usr/local/ispconfig/server/server.sh
    Code:
    23.01.2012-07:39 - DEBUG - Set Lock: /usr/local/ispconfig/server/temp/.ispconfig_lock
    23.01.2012-07:39 - DEBUG - Found 9 changes, starting update process.
    23.01.2012-07:39 - DEBUG - Calling function 'soa_insert' from plugin 'bind_plugin' raised by event 'dns_soa_insert'.
    23.01.2012-07:39 - DEBUG - Writing BIND domain file: /etc/bind/pri.testdomain.info
    PHP Warning:  file_put_contents(/etc/bind): failed to open stream: Is a directory in /usr/local/ispconfig/server/plugins-available/bind_plugin.inc.php on line 361
    23.01.2012-07:39 - DEBUG - Writing BIND named.conf.local file: /etc/bind
    23.01.2012-07:39 - DEBUG - Processed datalog_id 2431
    23.01.2012-07:39 - DEBUG - Calling function 'rr_insert' from plugin 'bind_plugin' raised by event 'dns_rr_insert'.
    23.01.2012-07:39 - DEBUG - Writing BIND domain file: /etc/bind/pri.testdomain.info
    PHP Warning:  file_put_contents(/etc/bind): failed to open stream: Is a directory in /usr/local/ispconfig/server/plugins-available/bind_plugin.inc.php on line 361
    23.01.2012-07:39 - DEBUG - Writing BIND named.conf.local file: /etc/bind
    23.01.2012-07:39 - DEBUG - Processed datalog_id 2432
    23.01.2012-07:39 - DEBUG - Calling function 'rr_insert' from plugin 'bind_plugin' raised by event 'dns_rr_insert'.
    23.01.2012-07:39 - DEBUG - Writing BIND domain file: /etc/bind/pri.testdomain.info
    PHP Warning:  file_put_contents(/etc/bind): failed to open stream: Is a directory in /usr/local/ispconfig/server/plugins-available/bind_plugin.inc.php on line 361
    23.01.2012-07:39 - DEBUG - Writing BIND named.conf.local file: /etc/bind
    23.01.2012-07:39 - DEBUG - Processed datalog_id 2433
    23.01.2012-07:39 - DEBUG - Calling function 'rr_insert' from plugin 'bind_plugin' raised by event 'dns_rr_insert'.
    23.01.2012-07:39 - DEBUG - Writing BIND domain file: /etc/bind/pri.testdomain.info
    PHP Warning:  file_put_contents(/etc/bind): failed to open stream: Is a directory in /usr/local/ispconfig/server/plugins-available/bind_plugin.inc.php on line 361
    23.01.2012-07:39 - DEBUG - Writing BIND named.conf.local file: /etc/bind
    23.01.2012-07:39 - DEBUG - Processed datalog_id 2434
    23.01.2012-07:39 - DEBUG - Calling function 'rr_insert' from plugin 'bind_plugin' raised by event 'dns_rr_insert'.
    23.01.2012-07:39 - DEBUG - Writing BIND domain file: /etc/bind/pri.testdomain.info
    PHP Warning:  file_put_contents(/etc/bind): failed to open stream: Is a directory in /usr/local/ispconfig/server/plugins-available/bind_plugin.inc.php on line 361
    23.01.2012-07:39 - DEBUG - Writing BIND named.conf.local file: /etc/bind
    23.01.2012-07:39 - DEBUG - Processed datalog_id 2435
    23.01.2012-07:39 - DEBUG - Calling function 'rr_insert' from plugin 'bind_plugin' raised by event 'dns_rr_insert'.
    23.01.2012-07:39 - DEBUG - Writing BIND domain file: /etc/bind/pri.testdomain.info
    PHP Warning:  file_put_contents(/etc/bind): failed to open stream: Is a directory in /usr/local/ispconfig/server/plugins-available/bind_plugin.inc.php on line 361
    23.01.2012-07:39 - DEBUG - Writing BIND named.conf.local file: /etc/bind
    23.01.2012-07:39 - DEBUG - Processed datalog_id 2436
    23.01.2012-07:39 - DEBUG - Calling function 'rr_insert' from plugin 'bind_plugin' raised by event 'dns_rr_insert'.
    23.01.2012-07:39 - DEBUG - Writing BIND domain file: /etc/bind/pri.testdomain.info
    PHP Warning:  file_put_contents(/etc/bind): failed to open stream: Is a directory in /usr/local/ispconfig/server/plugins-available/bind_plugin.inc.php on line 361
    23.01.2012-07:39 - DEBUG - Writing BIND named.conf.local file: /etc/bind
    23.01.2012-07:39 - DEBUG - Processed datalog_id 2437
    23.01.2012-07:39 - DEBUG - Calling function 'rr_insert' from plugin 'bind_plugin' raised by event 'dns_rr_insert'.
    23.01.2012-07:39 - DEBUG - Writing BIND domain file: /etc/bind/pri.testdomain.info
    PHP Warning:  file_put_contents(/etc/bind): failed to open stream: Is a directory in /usr/local/ispconfig/server/plugins-available/bind_plugin.inc.php on line 361
    23.01.2012-07:39 - DEBUG - Writing BIND named.conf.local file: /etc/bind
    23.01.2012-07:39 - DEBUG - Processed datalog_id 2438
    23.01.2012-07:39 - DEBUG - Calling function 'rr_insert' from plugin 'bind_plugin' raised by event 'dns_rr_insert'.
    23.01.2012-07:39 - DEBUG - Writing BIND domain file: /etc/bind/pri.testdomain.info
    PHP Warning:  file_put_contents(/etc/bind): failed to open stream: Is a directory in /usr/local/ispconfig/server/plugins-available/bind_plugin.inc.php on line 361
    23.01.2012-07:39 - DEBUG - Writing BIND named.conf.local file: /etc/bind
    23.01.2012-07:39 - DEBUG - Processed datalog_id 2439
    23.01.2012-07:39 - DEBUG - Calling function 'restartBind' from module 'dns_module'.
    23.01.2012-07:39 - DEBUG - Remove Lock: /usr/local/ispconfig/server/temp/.ispconfig_lock
    finished.
    
    changing the configuration in 'system->server config->dns' to the full path including each filename fixed it.
     
    Last edited: Jan 23, 2012
  10. BrainyForge

    BrainyForge New Member

    I've also had the same problem,
    in the different tests I've done the research to figure out why my DNS stopped working, I found the same problem, somehow reverberates also on installations with MyDNS.
    I have a feeling the source of the problem is the same, I show my link http://www.howtoforge.com/forums/showthread.php?t=55914 maybe you can give some useful details.
     

Share This Page