First, change your dns-ip of IspCP
Attantion! This is not officially supported by IspCP and I will not take care of emerging problems.
Code:
sed -i "s/192.168.x.x/xxx.xxx.xxx.xxx/g" /var/cache/bind/xyz.domain.tld.db
sed -i "s/192.168.x.x/xxx.xxx.xxx.xxx/g" /var/cache/bind/xyz.domain.tld.db
/etc/init.d/bind9 reload
Then change the template files for Bind
Code:
cp /etc/ispcp/bind/parts/ /etc/ispcp/bind/parts_bck -R
sed -i "s/{DMN_IP}/xxx.xxx.xxx.xxx/g" /etc/ispcp/bind/parts/*
sed -i "s/{BASE_SERVER_IP}/xxx.xxx.xxx.xxx/g" /etc/ispcp/bind/parts/*
#sed -i "s/{SECONDARY_DNS_IP}/xxx.xxx.xxx.xxx/g" /etc/ispcp/bind/parts/*
If I were you, I would make a backup first.
For rebuilding all bind files, have a look into the wiki. You should find it with the search function. If not, write here a post again
Best Regards
Fluser
Edit:
Quote:dude I have NEVER playe with DNS, this is a first for me, I don't know what file where was line, or if it needs to be on every domain or just one main file, instead of think about it, just say es and it's x file on x line or these files on these lines. this is ment to be a help forum.
Maybe you should think about your behaviour... I only told you that you gave the answer by yourself. And you didn't ask for a solution, you only asked for a "why does it not work".