Current time: 11-06-2024, 09:42 AM Hello There, Guest! (LoginRegister)


Post Reply 
Manual lines in DNS zone file
Author Message
quash Offline
Newbie
*

Posts: 8
Joined: Mar 2009
Reputation: 0
Post: #81
RE: Manual lines in DNS zone file
(03-25-2009 12:27 AM)Blondak Wrote:  
(03-25-2009 12:18 AM)quash Wrote:  Sorry, i dont make new sql table, and alter Smile

Now works without a mistake now, but i can't to add new DNS zone record.

You wrote a link (/reseller/domain_edit.php?edit_id=1) recently, but I was not worth his function entirely.
What I have to add to it how let me be able to record a new entry ?

Ok, i was http://admin.deszka.quash.hu/reseller/do...edit_id=1, buu now is it http://admin.deszka.quash.hu/reseller/do...edit_id=3, eg: http://admin.deszka.quash.hu/reseller/users.php and click "Edit Domain" and enable "Manual DNS support"

okay, i see, but unfortunately Edit domain / Manual DNS support not working. I change "Manual DNS support" to "Yes" - not changed.
(03-25-2009 12:53 AM)quash Wrote:  
(03-25-2009 12:27 AM)Blondak Wrote:  
(03-25-2009 12:18 AM)quash Wrote:  Sorry, i dont make new sql table, and alter Smile

Now works without a mistake now, but i can't to add new DNS zone record.

You wrote a link (/reseller/domain_edit.php?edit_id=1) recently, but I was not worth his function entirely.
What I have to add to it how let me be able to record a new entry ?

Ok, i was http://admin.deszka.quash.hu/reseller/do...edit_id=1, buu now is it http://admin.deszka.quash.hu/reseller/do...edit_id=3, eg: http://admin.deszka.quash.hu/reseller/users.php and click "Edit Domain" and enable "Manual DNS support"

okay, i see, but unfortunately Edit domain / Manual DNS support not working. I change "Manual DNS support" to "Yes" - not changed.

and i see in email alert:
ispCP Log

Server: deszka.quash.hu (193.224.159.142)
Version: ispCP 1.0.0 OMEGA (20090225)

Message: ----------------[BEGIN]--------------------------

TRAFFIC WARNING: manages incorrect number of domains: 0
User IP: xxxxx

Message: ----------------[END]----------------------------
(This post was last modified: 03-25-2009 12:56 AM by quash.)
03-25-2009 12:53 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: #82
RE: Manual lines in DNS zone file
(03-25-2009 12:53 AM)quash Wrote:  
(03-25-2009 12:27 AM)Blondak Wrote:  
(03-25-2009 12:18 AM)quash Wrote:  Sorry, i dont make new sql table, and alter Smile

Now works without a mistake now, but i can't to add new DNS zone record.

You wrote a link (/reseller/domain_edit.php?edit_id=1) recently, but I was not worth his function entirely.
What I have to add to it how let me be able to record a new entry ?

Ok, i was http://admin.deszka.quash.hu/reseller/do...edit_id=1, buu now is it http://admin.deszka.quash.hu/reseller/do...edit_id=3, eg: http://admin.deszka.quash.hu/reseller/users.php and click "Edit Domain" and enable "Manual DNS support"

okay, i see, but unfortunately Edit domain / Manual DNS support not working. I change "Manual DNS support" to "Yes" - not changed.
(03-25-2009 12:53 AM)quash Wrote:  
(03-25-2009 12:27 AM)Blondak Wrote:  
(03-25-2009 12:18 AM)quash Wrote:  Sorry, i dont make new sql table, and alter Smile

Now works without a mistake now, but i can't to add new DNS zone record.

You wrote a link (/reseller/domain_edit.php?edit_id=1) recently, but I was not worth his function entirely.
What I have to add to it how let me be able to record a new entry ?

Ok, i was http://admin.deszka.quash.hu/reseller/do...edit_id=1, buu now is it http://admin.deszka.quash.hu/reseller/do...edit_id=3, eg: http://admin.deszka.quash.hu/reseller/users.php and click "Edit Domain" and enable "Manual DNS support"

okay, i see, but unfortunately Edit domain / Manual DNS support not working. I change "Manual DNS support" to "Yes" - not changed.

and i see in email alert:
ispCP Log

Server: deszka.quash.hu (193.224.159.142)
Version: ispCP 1.0.0 OMEGA (20090225)

Message: ----------------[BEGIN]--------------------------

TRAFFIC WARNING: manages incorrect number of domains: 0
User IP: xxxxx

Message: ----------------[END]----------------------------

I found a problem, here is fix (basic-dns-support-1.0.0-fix.patch.txt) for this and also complete patch against clear 1.0.0 (basic-dns-support-1.0.0.patch.txt)


Attached File(s)
.txt  basic-dns-support-1.0.0-fix.patch.txt (Size: 661 bytes / Downloads: 19)
.txt  basic-dns-support-1.0.0.patch.txt (Size: 81.93 KB / Downloads: 52)
03-25-2009 01:55 AM
Visit this user's website Find all posts by this user Quote this message in a reply
quash Offline
Newbie
*

Posts: 8
Joined: Mar 2009
Reputation: 0
Post: #83
RE: Manual lines in DNS zone file
(03-25-2009 01:55 AM)Blondak Wrote:  
(03-25-2009 12:53 AM)quash Wrote:  
(03-25-2009 12:27 AM)Blondak Wrote:  
(03-25-2009 12:18 AM)quash Wrote:  Sorry, i dont make new sql table, and alter Smile

Now works without a mistake now, but i can't to add new DNS zone record.

You wrote a link (/reseller/domain_edit.php?edit_id=1) recently, but I was not worth his function entirely.
What I have to add to it how let me be able to record a new entry ?

Ok, i was http://admin.deszka.quash.hu/reseller/do...edit_id=1, buu now is it http://admin.deszka.quash.hu/reseller/do...edit_id=3, eg: http://admin.deszka.quash.hu/reseller/users.php and click "Edit Domain" and enable "Manual DNS support"

okay, i see, but unfortunately Edit domain / Manual DNS support not working. I change "Manual DNS support" to "Yes" - not changed.
(03-25-2009 12:53 AM)quash Wrote:  
(03-25-2009 12:27 AM)Blondak Wrote:  
(03-25-2009 12:18 AM)quash Wrote:  Sorry, i dont make new sql table, and alter Smile

Now works without a mistake now, but i can't to add new DNS zone record.

You wrote a link (/reseller/domain_edit.php?edit_id=1) recently, but I was not worth his function entirely.
What I have to add to it how let me be able to record a new entry ?

Ok, i was http://admin.deszka.quash.hu/reseller/do...edit_id=1, buu now is it http://admin.deszka.quash.hu/reseller/do...edit_id=3, eg: http://admin.deszka.quash.hu/reseller/users.php and click "Edit Domain" and enable "Manual DNS support"

okay, i see, but unfortunately Edit domain / Manual DNS support not working. I change "Manual DNS support" to "Yes" - not changed.

and i see in email alert:
ispCP Log

Server: deszka.quash.hu (193.224.159.142)
Version: ispCP 1.0.0 OMEGA (20090225)

Message: ----------------[BEGIN]--------------------------

TRAFFIC WARNING: manages incorrect number of domains: 0
User IP: xxxxx

Message: ----------------[END]----------------------------

I found a problem, here is fix (basic-dns-support-1.0.0-fix.patch.txt) for this and also complete patch against clear 1.0.0 (basic-dns-support-1.0.0.patch.txt)

Its working Smile goof job, VERY BIG THX.

Do you remove MX record support ? If I remember well RC7 patch was have MX record support.
We want modify original ispcp DNS templates, remove fix MX and A records, and manage all MX and A record with this patch.
Possibly if not too big work, would lay into the patch MX record support ?
03-27-2009 07:50 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: #84
RE: Manual lines in DNS zone file
(03-27-2009 07:50 AM)quash Wrote:  Its working Smile goof job, VERY BIG THX.

Do you remove MX record support ? If I remember well RC7 patch was have MX record support.
We want modify original ispcp DNS templates, remove fix MX and A records, and manage all MX and A record with this patch.
Possibly if not too big work, would lay into the patch MX record support ?

I think that you can use basic-dns-support-MX.patch.txt patch from post #50
it should apply without problems and should work.
03-27-2009 05:51 PM
Visit this user's website Find all posts by this user Quote this message in a reply
Foggy Offline
Junior Member
*

Posts: 52
Joined: Feb 2009
Reputation: 0
Post: #85
RE: Manual lines in DNS zone file
Hm, i currently trying to do the exactly same thing.
After replacing blondak/ with ispcp-omega-1.0.0/ the MX Patch gaves me that error:
Quote:web2:/usr/local/src/ispcp# patch -p0< patch-mx.txt
patching file ispcp-omega-1.0.0/gui/client/edit_dns.php
patching file ispcp-omega-1.0.0/gui/themes/omega_original/client/edit_dns.tpl
patch unexpectedly ends in middle of line
Hunk #2 succeeded at 176 with fuzz 1.
Probably i patch it in the wrong order, what ive done is the following:
1. Patch the basic-dns-support-1.0.0.patch.txt
2. Patch the MX Stuff with your last posted MX-Patch File...
03-27-2009 07:17 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: #86
RE: Manual lines in DNS zone file
(03-27-2009 07:17 PM)Foggy Wrote:  Hm, i currently trying to do the exactly same thing.
After replacing blondak/ with ispcp-omega-1.0.0/ the MX Patch gaves me that error:
Quote:web2:/usr/local/src/ispcp# patch -p0< patch-mx.txt
patching file ispcp-omega-1.0.0/gui/client/edit_dns.php
patching file ispcp-omega-1.0.0/gui/themes/omega_original/client/edit_dns.tpl
patch unexpectedly ends in middle of line
Hunk #2 succeeded at 176 with fuzz 1.
Probably i patch it in the wrong order, what ive done is the following:
1. Patch the basic-dns-support-1.0.0.patch.txt
2. Patch the MX Stuff with your last posted MX-Patch File...

Hi, I think its OK. This error seems to occur when the patch file ends on a line that includes nothing but whitespace characters. Patch files should always end with a Unix return character. If you encounter this error, check to see that the last line of your patch does not contain whitespace characters.

BTW: Next time you shud use
Code:
patch -p1 < patchfile
in working directory and you dont need to edit patch file Wink
03-27-2009 08:30 PM
Visit this user's website Find all posts by this user Quote this message in a reply
Foggy Offline
Junior Member
*

Posts: 52
Joined: Feb 2009
Reputation: 0
Post: #87
RE: Manual lines in DNS zone file
i do this before installation of ispcp, but thanks i will use -p1 for update Smile
is it correct that i have copy files manually from the destination MX folder into my ispcp-source folder?

Edit: ignore my question, i'll try it first Wink
It works like a charm, thanks thousend Smile
(This post was last modified: 03-27-2009 10:34 PM by Foggy.)
03-27-2009 10:02 PM
Find all posts by this user Quote this message in a reply
Foggy Offline
Junior Member
*

Posts: 52
Joined: Feb 2009
Reputation: 0
Post: #88
RE: Manual lines in DNS zone file
One addition i have.
If you change hosting plan permission to admin instead of reseller, resellers are not permitted to edit domains. Domainediting is work of the admin now. And in the admin panel the domain_edit.php don't have your modifications. But i can good stay with this fact.
Another big thanks Wink
03-27-2009 11:07 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: #89
RE: Manual lines in DNS zone file
(03-27-2009 11:07 PM)Foggy Wrote:  One addition i have.
If you change hosting plan permission to admin instead of reseller, resellers are not permitted to edit domains. Domainediting is work of the admin now. And in the admin panel the domain_edit.php don't have your modifications. But i can good stay with this fact.
Another big thanks Wink

If you change hosting plan permission to admin instead of reseller?
i dont know about this, where or how can i setup this?

Edit: I found it Wink wait a minute
EDIT: Done

basic-dns-support-1.0.0-admin-hp.patch.txt for allready patched version
basic-dns-support-1.0.0.patch.txt against clear version, this patch has allready MX support, if you don't want it, edit /gui/client/edit_dns.php and look in for
PHP Code:
$DNS_allowed_types = array('A','AAAA','SRV','CNAME','MX'); 
and change into
PHP Code:
$DNS_allowed_types = array('A','AAAA','SRV','CNAME'); 
or whatever you want.

Have a nice weekend Wink


Attached File(s)
.txt  basic-dns-support-1.0.0-admin-hp.patch.txt (Size: 7.57 KB / Downloads: 30)
.txt  basic-dns-support-1.0.0.patch.txt (Size: 101.67 KB / Downloads: 52)
(This post was last modified: 03-28-2009 12:46 AM by Blondak.)
03-28-2009 12:12 AM
Visit this user's website Find all posts by this user Quote this message in a reply
Zothos Offline
Release Manager
*****
Dev Team

Posts: 1,262
Joined: Feb 2007
Reputation: 10
Post: #90
RE: Manual lines in DNS zone file
Interessting patch Smile As soon as i get my devserver back i will test it.
In the meantime -> http://www.isp-control.net/documentation...ding_style Smile
Just a bit better styling Big Grin
03-28-2009 01:10 AM
Find all posts by this user Quote this message in a reply
Post Reply 


Forum Jump:


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