View Single Post
  #1  
Old 26th January 2007, 13:13
martinfst martinfst is offline
Senior Member
 
Join Date: Dec 2006
Location: Hilversum, The Netherlands
Posts: 880
Thanks: 1
Thanked 18 Times in 17 Posts
Send a message via MSN to martinfst Send a message via Skype™ to martinfst
Default DNS manager faults when having custom directives

I added some extra DNS configuration parameters in my pri.site.tld file at the end of the file, below where is says:
Code:
;;;; MAKE MANUAL ENTRIES BELOW THIS LINE! ;;;;
Restarting Bind 1st gave me problems, because it needs a seperate blank line at the end (there are multiple in the default: oke).

Then after making another change with ISPConfig in this domain, it removes the blank lines at the end (below my custom entries). As a result, this domain gives an error like:
Code:
Jan 26 11:47:37 xxxxxx01 named[29638]: dns_master_load: pri.obfuscated.tld:43: isc_lex_gettoken() failed: unexpected end of input
Jan 26 11:47:37 xxxxxx01 named[29638]: dns_master_load: pri.obfuscated.tld:43: unexpected end of input
Jan 26 11:47:37 xxxxxx01 named[29638]: zone obfuscated.tld/IN: loading master file pri.obfuscated.tld: unexpected end of input
Of course the changes are not committed in the upstream DNS servers.
I tried to add another MAKE MANUAL ... line below my custom entries (+ empty lines), but that failed also.
After completely removing the custom entries, ISPConfig was able to generate a valid pri.domain.tld file again and the restart of Bind went oke.

Sorry, but I don't have time at the moment to fix this myself or do more investigations, but thought I'd bring this to the dev forum anyway, maybe someone stumbles over the same issue (and maybe even someone has the time to look into this
Reply With Quote
Sponsored Links