Current time: 11-29-2024, 02:57 AM Hello There, Guest! (LoginRegister)


Post Reply 
Manual lines in DNS zone file
Author Message
pongraczi Offline
Junior Member
*

Posts: 80
Joined: Jul 2008
Reputation: 2
Post: #111
RE: Manual lines in DNS zone file
Thanks sci2tech, I will. I have some custom modification, I guess, I will lost them every time when I make an upgrade.
But I have a test system, no problem to test it.
Will it work with debian lenny? I will see soon Smile
05-09-2009 11:25 PM
Visit this user's website Find all posts by this user Quote this message in a reply
pongraczi Offline
Junior Member
*

Posts: 80
Joined: Jul 2008
Reputation: 2
Post: #112
RE: Manual lines in DNS zone file
Ok, the super lazy script is working.
And regenerating the config files also eliminated my problem Smile So, it seems it was a PEBCAK.
Thanks again!
05-13-2009 01:39 AM
Visit this user's website Find all posts by this user Quote this message in a reply
tuxStyle Offline
Junior Member
*

Posts: 37
Joined: May 2009
Reputation: 0
Post: #113
RE: Manual lines in DNS zone file
Hi.

My first try with ispCP and is working fine (at least until now) using the nightly build.
I needed this feature because i use gmail for email and also google talk.

I still have an issue.
The default MX server and mail server settings.

I updated the template /etc/ispcp/bind/parts/db_e.tpl with the following changes:

IN MX 10 mail.{DMN_NAME}.
to =>
IN MX 9999 mx.{DMN_NAME}.

mail IN A {DMN_IP}
to =>
mx IN A {DMN_IP}

Added to database (via ispCP GUI) the following records:

IN MX 1 ASPMX.L.GOOGLE.COM.
IN MX 5 ALT1.ASPMX.L.GOOGLE.COM.
IN MX 5 ALT2.ASPMX.L.GOOGLE.COM.
IN MX 10 ASPMX2.GOOGLEMAIL.COM.
IN MX 10 ASPMX3.GOOGLEMAIL.COM.
IN MX 10 ASPMX4.GOOGLEMAIL.COM.
IN MX 10 ASPMX5.GOOGLEMAIL.COM.

mail IN CNAME ghs.google.com.


Now pop3, imap, etc are CNAME for "mail" which is CNAME for ghs.google.com.
Also the default MX server from template have 9999 priority which means gmail servers will have priority 99% of the time (i hope).

Is this correct?

Other way ... can this feature be modified to keep default all the records in DB and not in a template file?

Thank you.
05-14-2009 12:19 AM
Find all posts by this user Quote this message in a reply
Haeber Offline
Junior Member
*****
Dev Team

Posts: 136
Joined: Nov 2007
Reputation: 7
Post: #114
RE: Manual lines in DNS zone file
Hi, some of the new DNS source code is licensed under the MPL instead of the GPL2 (see client/dns_edit.php, client/dns_delete.php). Would it be possible to agree to a relicensing or dual licensing under GPL2?

Regards
Haeber
05-14-2009 03:14 AM
Find all posts by this user Quote this message in a reply
Blondak Offline
Junior Member
*****
Dev Team

Posts: 84
Joined: May 2008
Reputation: 5
Post: #115
RE: Manual lines in DNS zone file
(05-14-2009 03:14 AM)Haeber Wrote:  Hi, some of the new DNS source code is licensed under the MPL instead of the GPL2 (see client/dns_edit.php, client/dns_delete.php). Would it be possible to agree to a relicensing or dual licensing under GPL2?

Regards
Haeber

Hi, yes, you can relicence affected files to GPL2 licence, i have no problem with this, or maybee to we can change to Free As In Beer Wink

With regards Blondak
05-15-2009 02:36 PM
Visit this user's website Find all posts by this user Quote this message in a reply
sfera Offline
Junior Member
*

Posts: 129
Joined: Oct 2008
Reputation: 0
Post: #116
RE: Manual lines in DNS zone file
First thx for the patch.

Second sorry my very bad english.

I try use the patch but i dont get use correctly. I post my screens.

ks202641:/var/www/ispcp# patch -p0< basic-dns-support-1.0.0-admin-hp.patch.txt
can't find file to patch at input line 4
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|diff -bNBru is/gui/admin/hosting_plan_add.php ispcp-omega-1.0.0.patched/gui/admin/hosting_plan_add.php
|--- is/gui/admin/hosting_plan_add.php 2009-02-22 01:36:49.000000000 +0100
|+++ ispcp-omega-1.0.0.patched/gui/admin/hosting_plan_add.php 2009-03-27 15:33:18.000000000 +0100
--------------------------
File to patch:


And

ks202641:/var/www/ispcp# patch -p0< basic-dns-support-1.0.0.patch.txt
patching file ispcp-omega-1.0.0/configs/centos/bind/parts/db_dns_entry_b.tpl
The next patch would create the file ispcp-omega-1.0.0/configs/centos/bind/parts/db_dns_entry_e.tpl,
which already exists! Assume -R? [n] y
patching file ispcp-omega-1.0.0/configs/centos/bind/parts/db_dns_entry_e.tpl
The next patch would create the file ispcp-omega-1.0.0/configs/centos/bind/parts/db_dns_entry.tpl,
which already exists! Assume -R? [n] y
patching file ispcp-omega-1.0.0/configs/centos/bind/parts/db_dns_entry.tpl
can't find file to patch at input line 19
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|diff -bNBru ispcp-omega-1.0.0/configs/centos/bind/parts/db_e.tpl ispcp-omega-1.0.0.patched/configs/centos/bind/parts/db_e.tpl
|--- ispcp-omega-1.0.0/configs/centos/bind/parts/db_e.tpl 2009-02-08 11:58:58.000000000 +0100
|+++ ispcp-omega-1.0.0.patched/configs/centos/bind/parts/db_e.tpl 2009-03-16 16:14:29.000000000 +0100
--------------------------
File to patch:


I dont know what i make now. Thx in advanced
05-22-2009 10:24 PM
Find all posts by this user Quote this message in a reply
Blondak Offline
Junior Member
*****
Dev Team

Posts: 84
Joined: May 2008
Reputation: 5
Post: #117
RE: Manual lines in DNS zone file
(05-22-2009 10:24 PM)sfera Wrote:  First thx for the patch.

Second sorry my very bad english.

I try use the patch but i dont get use correctly. I post my screens.
......
ks202641:/var/www/ispcp# patch -p0< basic-dns-support-1.0.0-admin-
I dont know what i make now. Thx in advanced

try use -p1 instead of -p0
05-22-2009 10:55 PM
Visit this user's website Find all posts by this user Quote this message in a reply
sfera Offline
Junior Member
*

Posts: 129
Joined: Oct 2008
Reputation: 0
Post: #118
RE: Manual lines in DNS zone file
Thx for your responsed dude.

Now the admin patch working perfectly

ks202641:/var/www/ispcp# patch -p1< basic-dns-support-1.0.0-admin-hp.patch.txt
patching file gui/admin/hosting_plan_add.php
patching file gui/admin/hosting_plan_edit.php
patching file gui/themes/omega_original/admin/hosting_plan_add.tpl
patching file gui/themes/omega_original/admin/hosting_plan_edit.tpl


But the normal patch i get some errors

ks202641:/var/www/ispcp# patch -p1< basic-dns-support-1.0.0.patch.txt
patching file configs/centos/bind/parts/db_dns_entry_b.tpl
patching file configs/centos/bind/parts/db_dns_entry_e.tpl
patching file configs/centos/bind/parts/db_dns_entry.tpl
can't find file to patch at input line 19
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|diff -bNBru ispcp-omega-1.0.0/configs/centos/bind/parts/db_e.tpl ispcp-omega-1.0.0.patched/configs/centos/bind/parts/db_e.tpl
|--- ispcp-omega-1.0.0/configs/centos/bind/parts/db_e.tpl 2009-02-08 11:58:58.000000000 +0100
|+++ ispcp-omega-1.0.0.patched/configs/centos/bind/parts/db_e.tpl 2009-03-16 16:14:29.000000000 +0100
--------------------------
File to patch:


Any idea?

thx in advanced.
(This post was last modified: 05-23-2009 01:44 AM by sfera.)
05-23-2009 01:43 AM
Find all posts by this user Quote this message in a reply
ephigenie Offline
Project Leader
*******
Administrators

Posts: 1,578
Joined: Oct 2006
Reputation: 15
Post: #119
RE: Manual lines in DNS zone file
yes you're trying to patch the config files which are below /etc/ispcp not below /var/www/ispcp

thus take a look at your 2nd patch command and you will immediately see what was wrong...
05-23-2009 05:13 AM
Visit this user's website Find all posts by this user Quote this message in a reply
sfera Offline
Junior Member
*

Posts: 129
Joined: Oct 2008
Reputation: 0
Post: #120
RE: Manual lines in DNS zone file
Hi epigenie.

I try yout comment but i get the same error

ks202641:/etc/ispcp# patch -p1< basic-dns-support-1.0.0.patch.txt
patching file configs/centos/bind/parts/db_dns_entry_b.tpl
patching file configs/centos/bind/parts/db_dns_entry_e.tpl
patching file configs/centos/bind/parts/db_dns_entry.tpl
can't find file to patch at input line 19
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|diff -bNBru ispcp-omega-1.0.0/configs/centos/bind/parts/db_e.tpl ispcp-omega-1.0.0.patched/configs/centos/bind/parts/db_e.tpl
|--- ispcp-omega-1.0.0/configs/centos/bind/parts/db_e.tpl 2009-02-08 11:58:58.000000000 +0100
|+++ ispcp-omega-1.0.0.patched/configs/centos/bind/parts/db_e.tpl 2009-03-16 16:14:29.000000000 +0100
--------------------------
File to patch:

any idea? Thx in advanced.
05-25-2009 11:55 PM
Find all posts by this user Quote this message in a reply
Post Reply 


Forum Jump:


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