ispCP - Board - Support
Manual lines in DNS zone file - Printable Version

+- ispCP - Board - Support (http://www.isp-control.net/forum)
+-- Forum: ispCP Omega Development Area (/forum-1.html)
+--- Forum: General discussion (/forum-11.html)
+--- Thread: Manual lines in DNS zone file (/thread-3727.html)

Pages: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17


RE: Manual lines in DNS zone file - pongraczi - 05-09-2009 11:25 PM

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


RE: Manual lines in DNS zone file - pongraczi - 05-13-2009 01:39 AM

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!


RE: Manual lines in DNS zone file - tuxStyle - 05-14-2009 12:19 AM

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.


RE: Manual lines in DNS zone file - Haeber - 05-14-2009 03:14 AM

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


RE: Manual lines in DNS zone file - Blondak - 05-15-2009 02:36 PM

(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


RE: Manual lines in DNS zone file - sfera - 05-22-2009 10:24 PM

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


RE: Manual lines in DNS zone file - Blondak - 05-22-2009 10:55 PM

(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


RE: Manual lines in DNS zone file - sfera - 05-23-2009 01:43 AM

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.


RE: Manual lines in DNS zone file - ephigenie - 05-23-2009 05:13 AM

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...


RE: Manual lines in DNS zone file - sfera - 05-25-2009 11:55 PM

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.