Current time: 11-27-2024, 05:01 PM Hello There, Guest! (LoginRegister)


Post Reply 
admin.domain.tdl - false IP in Bind9
Author Message
fluser Offline
Documentation Team
***
Docu Team

Posts: 246
Joined: May 2010
Reputation: 1
Post: #1
Exclamation admin.domain.tdl - false IP in Bind9
Hello all

I've got a small problem.

My IspCP-Server is behind a firewall. Now i've got the problem, that the master-Bind-File every time takes the internally IP-Adress.

At the moment, I've got this workarround:
Code:
sed -i "s/192.168.2.51/xxx.xxx.xxx.xxx/g" /var/cache/bind/admin.domain.tdl.db
sed -i "s/192.168.2.151/xxx.xxx.xxx.xxx/g" /var/cache/bind/admin.domain.tdl.db
/etc/init.d/bind9 reload

I found the script, which recreates this file, but I can't edit it, because I'm not able to write in Perl.

The other domain files in bind are correct created, because I changed the templates.

Maybe someone can help me.

Best Regards
Fluser
12-02-2010 05:05 AM
Find all posts by this user Quote this message in a reply
fluser Offline
Documentation Team
***
Docu Team

Posts: 246
Joined: May 2010
Reputation: 1
Post: #2
RE: admin.domain.tdl - false IP in Bind9
Nobody any idea?

Best Regards
Fluser
12-04-2010 12:19 AM
Find all posts by this user Quote this message in a reply
motokochan Offline
Member
***

Posts: 274
Joined: Jul 2008
Reputation: 1
Post: #3
RE: admin.domain.tdl - false IP in Bind9
ispCP doesn't really support NAT all that well. To get it somewhat working, you'll need to edit a few template files, the configuration file, and the database. Basically, you'll have to switch to using the external IP within the control panel and edit the Apache configuration to listen on the correct IPs. This will only work if you have a static external IP. Is this the case?
12-04-2010 01:50 AM
Visit this user's website Find all posts by this user Quote this message in a reply
fluser Offline
Documentation Team
***
Docu Team

Posts: 246
Joined: May 2010
Reputation: 1
Post: #4
RE: admin.domain.tdl - false IP in Bind9
I've done all changes on the /etc/ispcp/bind/parts/ Template files. And all worked fine with IspCP 1.0.6
But since Version 1.0.7, the admin.domain.tdl is changed every time, I add a new customer.
All other bind-files are created correctly with the external (static) IP.

IspCP works great behind a firewall with NAT. The only change what is needed is to change all files in /etc/ispcp/bind/parts/

Best Regards
Fluser
12-04-2010 02:05 AM
Find all posts by this user Quote this message in a reply
motokochan Offline
Member
***

Posts: 274
Joined: Jul 2008
Reputation: 1
Post: #5
RE: admin.domain.tdl - false IP in Bind9
Did you change the server IP in both the database and ispcp.conf?
12-04-2010 03:16 AM
Visit this user's website Find all posts by this user Quote this message in a reply
fluser Offline
Documentation Team
***
Docu Team

Posts: 246
Joined: May 2010
Reputation: 1
Post: #6
RE: admin.domain.tdl - false IP in Bind9
Please, I only need to know how to change /var/www/ispcp/engine/ispcp-dmn-mngr at section: "Add DNS record in master db file for customer domain alias"

I didn't change the ip since installation. As I already said, with version 1.0.6 it worked. But the new mod of Laurent Declercq changed the management of the master db file.

Best Regards
Fluser
12-04-2010 04:36 AM
Find all posts by this user Quote this message in a reply
Post Reply 


Forum Jump:


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