Bug beim Generieren der Reverse Zones

Discussion in 'Installation/Configuration' started by jmroth, Mar 23, 2006.

  1. jmroth

    jmroth New Member

    Bug generating the reverse zones

    Oups, sorry for my previous posting in German :p

    every time ISPConfig updates my reverse zones, the following happens:

    Code:
    Mar 23 04:21:11 new named[25006]: pri.88.177.195.in-addr.arpa:27: file does not end with newline
    Mar 23 04:21:11 new named[25006]: zone 88.177.195.in-addr.arpa/IN: loaded serial 2006032301
    Mar 23 04:21:11 new named[25006]: dns_master_load: pri.89.177.195.in-addr.arpa:25: extra input text
    makes dig -x ... say SERVFAIL

    vi displays those files with the remark [noeol]... not that good as it seems

    oh and yes I am actually using "MAKE MANUAL ENTRIES BELOW THIS LINE!" :) and if I append something below that line (including a newline at the end) the newline will be missing the next time ISPConfig touches it
     
    Last edited: Mar 24, 2006
  2. falko

    falko Super Moderator Howtoforge Staff

    Please post this in English so that everyone can understand!
     
  3. jmroth

    jmroth New Member

    english version online now :)
     
  4. falko

    falko Super Moderator Howtoforge Staff

    We must check if this is a bug. For now, you can change line 126 in /root/ispconfig/scripts/lib/classes/ispconfig_bind.lib.php from

    Code:
    $mod->file->wf($mod->system->server_conf["server_bind_named_conf"], $named_text);
    to

    Code:
    $mod->file->wf($mod->system->server_conf["server_bind_named_conf"], $named_text."\n");
     

Share This Page