Current time: 06-26-2024, 12:01 PM Hello There, Guest! (LoginRegister)


Post Reply 
DNS issue
Author Message
fluser Offline
Documentation Team
***
Docu Team

Posts: 246
Joined: May 2010
Reputation: 1
Post: #4
RE: DNS issue
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 Wink

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".
(This post was last modified: 02-04-2011 06:53 AM by fluser.)
02-04-2011 06:47 AM
Find all posts by this user Quote this message in a reply
Post Reply 


Messages In This Thread
DNS issue - shaggy - 02-03-2011, 03:59 PM
RE: DNS issue - fluser - 02-03-2011, 08:11 PM
RE: DNS issue - shaggy - 02-04-2011, 06:24 AM
RE: DNS issue - fluser - 02-04-2011 06:47 AM

Forum Jump:


User(s) browsing this thread: 1 Guest(s)