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: dns_master_load: /var/cache/bind/XXXXXXXX.com.hosts:17: unexpected end of line
named: dns_master_load: /var/cache/bind/XXXXXXXX.com.hosts:16: unexpected end of input
named: zone XXXXXXXX.com/IN: loading master file /var/cache/bind/XXXXXXXX.com.hosts: 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.
So my question: How can I make Virtualmin save the right formatting for the host file so the DNS zone actually loads?