/[smeserver]/rpms/e-smith-dnscache/sme7/e-smith-dnscache-1.0.0.validateNameServer.patch2
ViewVC logotype

Annotation of /rpms/e-smith-dnscache/sme7/e-smith-dnscache-1.0.0.validateNameServer.patch2

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph


Revision 1.1 - (hide annotations) (download)
Wed Jun 18 20:41:55 2008 UTC (16 years, 4 months ago) by bytegw
Branch: MAIN
CVS Tags: e-smith-dnscache-1_0_0-13_el4_sme, e-smith-dnscache-1_0_0-12_el4_sme, e-smith-dnscache-1_0_0-11_el4_sme
Updates

1 bytegw 1.1 diff -Nur -x '*.orig' -x '*.rej' e-smith-dnscache-1.0.0/root/var/service/dnscache/run mezzanine_patched_e-smith-dnscache-1.0.0/root/var/service/dnscache/run
2     --- e-smith-dnscache-1.0.0/root/var/service/dnscache/run 2008-06-18 15:01:04.000000000 -0400
3     +++ mezzanine_patched_e-smith-dnscache-1.0.0/root/var/service/dnscache/run 2008-06-18 15:00:45.000000000 -0400
4     @@ -69,6 +69,12 @@
5     }
6     my $tinydns_ip = $tinydns->prop('ListenIP') || "127.0.0.1";
7    
8     +$ENV{FORWARDONLY} = '1';
9     +$ENV{IP} = $dnscache->prop('ListenIP') || $localip->value;
10     +$ENV{IPSEND} = $dnscache->prop('SendIP') || '0.0.0.0';
11     +$ENV{CACHESIZE} = 200000;
12     +$ENV{ROOT} = '/service/dnscache/root';
13     +
14     my $domains = esmith::DomainsDB->open or die "Could not open Domains db.";
15     my $nets = esmith::NetworksDB->open or die "Could not open Networks db.";
16    
17     @@ -116,11 +122,6 @@
18     ));
19    
20     my $datalimit = $dnscache->prop('DataLimit') || 3000000;
21     -$ENV{FORWARDONLY} = '1';
22     -$ENV{IP} = $dnscache->prop('ListenIP') || $localip->value;
23     -$ENV{IPSEND} = $dnscache->prop('SendIP') || '0.0.0.0';
24     -$ENV{CACHESIZE} = 200000;
25     -$ENV{ROOT} = '/service/dnscache/root';
26    
27     # http://marc.theaimsgroup.com/?l=djbdns&m=104812086607532&w=2
28     $SIG{'PIPE'} = 'IGNORE';
29     exec("envuidgid", "dnscache", "softlimit", "-o250", "-d", "$datalimit",
30     "/usr/local/bin/dnscache")

admin@koozali.org
ViewVC Help
Powered by ViewVC 1.2.1 RSS 2.0 feed