RE: Manual lines in DNS zone file - Mister_K - 01-10-2009 07:27 AM
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 ?
RE: Manual lines in DNS zone file - Mister_K - 01-13-2009 02:55 AM
plz i want install for modified my zone DNS domain... for install since the begin plz explain me
RE: Manual lines in DNS zone file - Blondak - 01-13-2009 05:56 PM
(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
RE: Manual lines in DNS zone file - Mister_K - 01-13-2009 09:20 PM
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 ?
RE: Manual lines in DNS zone file - Blondak - 01-14-2009 04:47 AM
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
RE: Manual lines in DNS zone file - Mister_K - 01-16-2009 06:15 AM
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]
RE: Manual lines in DNS zone file - itanium - 01-19-2009 12:59 AM
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.
RE: Manual lines in DNS zone file - xinefnarg - 01-28-2009 01:49 AM
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
RE: Manual lines in DNS zone file - xister - 01-28-2009 02:42 AM
(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
RE: Manual lines in DNS zone file - sci2tech - 02-09-2009 02:06 AM
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: [attachment=597]. this include all previous patches and some bug fixes. The perform an update / install or whatever you want, and you will have dns support
|