Current time: 12-28-2024, 08:33 PM Hello There, Guest! (LoginRegister)


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

Posts: 8
Joined: Jan 2009
Reputation: 0
Post: #51
RE: Manual lines in DNS zone file
sorry but error

File to patch: basic-dns-support-trunk-checks.patch.txt
patching file basic-dns-support-trunk-checks.patch.txt
Hunk #1 FAILED at 80.
Hunk #2 FAILED at 350.
Hunk #3 FAILED at 393.
Hunk #4 FAILED at 409.
Hunk #5 FAILED at 456.
5 out of 5 hunks FAILED -- saving rejects to file basic-dns-support-trunk-checks.patch.txt.rej

explain me plz ?
01-10-2009 07:27 AM
Find all posts by this user Quote this message in a reply
Mister_K Offline
Newbie
*

Posts: 8
Joined: Jan 2009
Reputation: 0
Post: #52
Question RE: Manual lines in DNS zone file
plz i want install for modified my zone DNS domain... for install since the begin plz explain me
01-13-2009 02:55 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: #53
RE: Manual lines in DNS zone file
(01-10-2009 07:27 AM)Mister_K Wrote:  sorry but error

File to patch: basic-dns-support-trunk-checks.patch.txt
patching file basic-dns-support-trunk-checks.patch.txt
Hunk #1 FAILED at 80.
Hunk #2 FAILED at 350.
Hunk #3 FAILED at 393.
Hunk #4 FAILED at 409.
Hunk #5 FAILED at 456.
5 out of 5 hunks FAILED -- saving rejects to file basic-dns-support-trunk-checks.patch.txt.rej

explain me plz ?

hi,
on what version do you apply patch?
did you apply patch from this post first?
paste basic-dns-support-trunk-checks.patch.txt.rej
01-13-2009 05:56 PM
Visit this user's website Find all posts by this user Quote this message in a reply
Mister_K Offline
Newbie
*

Posts: 8
Joined: Jan 2009
Reputation: 0
Post: #54
RE: Manual lines in DNS zone file
hi,
on what version do you apply patch?
did you apply patch from this post first?

I have rc7
In first i have modified SQL with
Installation :
1-
Code:
CREATE TABLE IF NOT EXISTS `domain_dns` (
`domain_dns_id` int(11) NOT NULL auto_increment,
`domain_id` int(11) NOT NULL,
`alias_id` int(11) default NULL,
`domain_dns` varchar(50) NOT NULL,
`domain_class` enum('IN','CH','HS') NOT NULL default 'IN',
`domain_type` enum('A','AAAA','CERT','CNAME','DNAME','GPOS','KEY','KX','MX','NAPTR','NSAP','NS​ ','NXT','PTR','PX','SIG','SRV','TXT') NOT NULL default 'A',
`domain_text` varchar(128) NOT NULL,
PRIMARY KEY (`domain_dns_id`)
);

2- patch -p1< [FILENAME]
http://www.isp-control.net/forum/attachment.php?aid=529


3- Patch rc7
patch -p1< [FILENAME]
http://www.isp-control.net/forum/attachment.php?aid=548

its not good ?
01-13-2009 09:20 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: #55
RE: Manual lines in DNS zone file
1 - OK
2 - patch -p1 < basic-dns-support-trunk.patch.txt
3 - patch -p1 < basic-dns-support-trunk-checks.patch.txt
optional if you want also allow MX record type
4 - patch -p1 < basic-dns-support-MX.patch.txt

than patch what you need
01-14-2009 04:47 AM
Visit this user's website Find all posts by this user Quote this message in a reply
Mister_K Offline
Newbie
*

Posts: 8
Joined: Jan 2009
Reputation: 0
Post: #56
RE: Manual lines in DNS zone file
Quote:ks353896:~# patch -p1 < basic-dns-support-trunk-checks.patch.txt
can't find file to patch at input line 3
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|--- blondak/gui/client/edit_dns.php 2008-11-06 14:12:34.000000000 +0100
|+++ trunk/gui/client/edit_dns.php 2008-11-09 22:59:40.000000000 +0100
--------------------------
File to patch: basic-dns-support-trunk-checks.patch.txt patching file basic-dns-support-trunk-checks.patch.txt
Hunk #1 FAILED at 80.
Hunk #2 FAILED at 350.
Hunk #3 FAILED at 393.
Hunk #4 FAILED at 409.
Hunk #5 FAILED at 456.
5 out of 5 hunks FAILED -- saving rejects to file basic-dns-support-trunk-checks.patch.txt.rej
ks353896:~#
ks353896:~#
ks353896:~# ls
basic-dns-support-trunk-checks.patch.txt
basic-dns-support-trunk-checks.patch.txt.orig
basic-dns-support-trunk-checks.patch.txt.rej
basic-dns-support-trunk.patch.txt
configs
install_rtm.sh
ks353896:~#
ks353896:~# mv basic-dns-support-trunk.patch.txt lol.txt
ks353896:~# patch -p1 < lol.txt
The next patch would create the file configs/centos/bind/parts/db_dns_entry_b.tpl,
which already exists! Assume -R? [n] n
Apply anyway? [n] n
Skipping patch.
1 out of 1 hunk ignored -- saving rejects to file configs/centos/bind/parts/db_dns_entry_b.tpl.rej
The next patch would create the file configs/centos/bind/parts/db_dns_entry_e.tpl,
which already exists! Assume -R? [n] n
Apply anyway? [n] n
Skipping patch.
1 out of 1 hunk ignored -- saving rejects to file configs/centos/bind/parts/db_dns_entry_e.tpl.rej
The next patch would create the file configs/centos/bind/parts/db_dns_entry.tpl,
which already exists! Assume -R? [n] n
Apply anyway? [n] n
Skipping patch.
1 out of 1 hunk ignored -- saving rejects to file configs/centos/bind/parts/db_dns_entry.tpl.rej
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 trunk.backup/configs/centos/bind/parts/db_e.tpl trunk/configs/centos/bind/parts/db_e.tpl
|--- trunk.backup/configs/centos/bind/parts/db_e.tpl 2008-11-08 17:54:13.000000000 +0100
|+++ trunk/configs/centos/bind/parts/db_e.tpl 2008-11-08 17:57:00.000000000 +0100
--------------------------
File to patch:
ks353896:~# ls
basic-dns-support-trunk-checks.patch.txt configs
basic-dns-support-trunk-checks.patch.txt.orig install_rtm.sh
basic-dns-support-trunk-checks.patch.txt.rej lol.txt
ks353896:~#
ks353896:~# nano basic-dns-support-trunk-checks.patch.txt lol1.txt
ks353896:~# ls
basic-dns-support-trunk-checks.patch.txt configs
basic-dns-support-trunk-checks.patch.txt.orig install_rtm.sh
basic-dns-support-trunk-checks.patch.txt.rej lol.txt
ks353896:~#
ks353896:~# mv basic-dns-support-trunk-checks.patch.txt lol.txt
ks353896:~# patch -p1 < lol1.txt
-bash: lol1.txt: Aucun fichier ou répertoire de ce type
ks353896:~# patch -p1 < lol.txt
can't find file to patch at input line 3
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|--- blondak/gui/client/edit_dns.php 2008-11-06 14:12:34.000000000 +0100
|+++ trunk/gui/client/edit_dns.php 2008-11-09 22:59:40.000000000 +0100
--------------------------
File to patch: lol1.txt
lol1.txt: No such file or directory
Skip this patch? [y]
01-16-2009 06:15 AM
Find all posts by this user Quote this message in a reply
itanium Offline
Junior Member
*

Posts: 35
Joined: Apr 2007
Reputation: 0
Post: #57
RE: Manual lines in DNS zone file
I have a problem with domain alias and your patch:

When i add a domain alias:

Quote:Global symbol "$als_data" requires explicit package name at /var/www/ispcp/engine/ispcp-als-mngr line 528.
Global symbol "$als_data" requires explicit package name at /var/www/ispcp/engine/ispcp-als-mngr line 529.
Global symbol "$rs" requires explicit package name at /var/www/ispcp/engine/ispcp-als-mngr line 549.
Global symbol "$rs" requires explicit package name at /var/www/ispcp/engine/ispcp-als-mngr line 550.
Global symbol "%tag_hash" requires explicit package name at /var/www/ispcp/engine/ispcp-als-mngr line 555.
Global symbol "$rs" requires explicit package name at /var/www/ispcp/engine/ispcp-als-mngr line 562.
Global symbol "%tag_hash" requires explicit package name at /var/www/ispcp/engine/ispcp-als-mngr line 563.
Global symbol "$db_dns_entry" requires explicit package name at /var/www/ispcp/engine/ispcp-als-mngr line 564.
Global symbol "$db_dns_entry_b" requires explicit package name at /var/www/ispcp/engine/ispcp-als-mngr line 565.
Global symbol "$db_dns_entry_e" requires explicit package name at /var/www/ispcp/engine/ispcp-als-mngr line 567.
Global symbol "$db_dns_entry_b" requires explicit package name at /var/www/ispcp/engine/ispcp-als-mngr line 568.
Global symbol "$db_dns_entry_e" requires explicit package name at /var/www/ispcp/engine/ispcp-als-mngr line 568.
Global symbol "$rs" requires explicit package name at /var/www/ispcp/engine/ispcp-als-mngr line 569.
Global symbol "$db_dns_entry_b" requires explicit package name at /var/www/ispcp/engine/ispcp-als-mngr line 569.
Global symbol "$db_dns_entry_e" requires explicit package name at /var/www/ispcp/engine/ispcp-als-mngr line 569.
Global symbol "$entry" requires explicit package name at /var/www/ispcp/engine/ispcp-als-mngr line 569.
Global symbol "$rs" requires explicit package name at /var/www/ispcp/engine/ispcp-als-mngr line 570.
Global symbol "$entry" requires explicit package name at /var/www/ispcp/engine/ispcp-als-mngr line 571.
Execution of /var/www/ispcp/engine/ispcp-als-mngr aborted due to compilation errors.

An idea?

Ps: Last trunk, debian lenny.
(This post was last modified: 01-19-2009 01:22 AM by itanium.)
01-19-2009 12:59 AM
Find all posts by this user Quote this message in a reply
xinefnarg Offline


Posts: 2
Joined: Jan 2009
Reputation: 0
Post: #58
RE: Manual lines in DNS zone file
Blondak, this is wonderful
It took me some time to check that everything was working ok, though i'm skilled and thus i did not have any problem patching bit by bit, and it worked just fine, the dns records i added are working ok.
I think as soon as i finish setting up all my clients in the new environment i will join the dev team to help, this CP is becoming just wonderful

Regards!
Leonardo
01-28-2009 01:49 AM
Find all posts by this user Quote this message in a reply
xister Offline
Member
*
Beta Team

Posts: 405
Joined: Oct 2006
Reputation: 6
Post: #59
RE: Manual lines in DNS zone file
(01-28-2009 01:49 AM)xinefnarg Wrote:  I think as soon as i finish setting up all my clients in the new environment i will join the dev team to help, this CP is becoming just wonderful

nice to hear Smile
01-28-2009 02:42 AM
Find all posts by this user Quote this message in a reply
sci2tech Away
Senior Member
****

Posts: 1,285
Joined: Jan 2007
Reputation: 23
Post: #60
RE: Manual lines in DNS zone file
How to use:
First we need some sql query to execute:
Code:
CREATE TABLE IF NOT EXISTS `domain_dns` (
`domain_dns_id` int(11) NOT NULL auto_increment,
`domain_id` int(11) NOT NULL,
`alias_id` int(11) default NULL,
`domain_dns` varchar(50) NOT NULL,
`domain_class` enum('IN','CH','HS') NOT NULL default 'IN',
`domain_type` enum('A','AAAA','CERT','CNAME','DNAME','GPOS','KEY','KX','MX','NAPTR','NSAP','NS​ ','NXT','PTR','PX','SIG','SRV','TXT') NOT NULL default 'A',
`domain_text` varchar(128) NOT NULL,
PRIMARY KEY (`domain_dns_id`)
);

ALTER TABLE `domain` ADD `domain_dns` VARCHAR( 15 ) NOT NULL DEFAULT 'no';
Then
Code:
cd /patch/where/we/have/ispcp/trunk
patch -p0< [FILENAME]
where file name is the name of the following patch:
.gz  patch.txt.gz (Size: 33.21 KB / Downloads: 47) . this include all previous patches and some bug fixes. The perform an update / install or whatever you want, and you will have dns support
(This post was last modified: 02-09-2009 07:23 AM by sci2tech.)
02-09-2009 02:06 AM
Visit this user's website Find all posts by this user Quote this message in a reply
Post Reply 


Forum Jump:


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