Some of you probably know the errors that throw error messages similar to
get_tag() | ERROR: '// bind Data BEGIN.' ne '// bind Data END.', '// bind Data BEGIN.' or '// bind Data END.' missing in src !
I had this bug for quite a while in my running VHCS 2.4.7.1 installation after I made some changes to my /etc/bind/named.conf to support a Secondary DNS. I know the usual fix would have been to roll back the changes and set the domains' statuses to 'change'. Unforunately, I already overwrote that backup file.
I tried literally everything - I checked my bind config format nearly a thousand times: All the tags are in their correct place. I even replaced my config file with the one that comes with the original VHCS package, set the domain statuses to 'change' and executed /var/www/vhcs2/engine/vhcs2-rqst-mngr - same error.
I almost got used to this problem - I'm creating all domains manually now, just wanted to report it, in case you wanna do something about it (what about some sort of template engine instead of that get_tag sh*t?)
Here are the relevant settings in my vhcs.conf:
BIND_CONF_FILE=/etc/bind/vhcs.conf
BIND_DB_DIR=/var/cache/bind
SECONDARY_DNS=87.230.10.2xx
I'm running Debian Sarge on a VPS, using bind9
Going to attach my /etc/bind/vhcs.conf for you, so you can see all the tags are in place.