Bind server templates corupt host files

3 posts / 0 new
Last post
#1 Wed, 11/07/2007 - 10:17

Bind server templates corupt host files

Hello, so after letting this problem go on longer then I wanted I think I have found out what my problem is. I use a custom BIND server template to setup extra records for any domain setup through VirtMin. Problem is, however, that these records don't fit in nicely to the host file.

The error I'm getting is this: [code:1]named[8661]: dns_master_load: /var/cache/bind/ unexpected end of line named[8661]: dns_master_load: /var/cache/bind/ unexpected end of input named[8661]: zone loading master file /var/cache/bind/ unexpected end of input[/code:1]

The template text, even though I put it in correctly with tabs, turns in to this when I hit save on the templates and what gets added to the host files. [code:1] bara.${DOM} IN A ${DOM} IN MX 3 bara.${DOM}[/code:1]

So my question: How can I make Virtualmin save the right formatting for the host file so the DNS zone actually loads?

Mon, 11/12/2007 - 06:36

So, I'm assuming by the lack of replys that this is a bug.

Thu, 01/24/2008 - 04:35 (Reply to #2)

I've just found this too. I've filed a bug report.

Topic locked