source: npl/internetserver/djbdns/patches/0011-datalimit.patch @ 37aaf89

Last change on this file since 37aaf89 was 37aaf89, checked in by Edwin Eefting <edwin@datux.nl>, 3 years ago

djbdns patches, so it works correctly with twitter etc

  • Property mode set to 100644
File size: 1.4 KB
RevLine 
[37aaf89]1Description: Raise the axfrdns, dnscache, and tinydns data limit.
2Bug-Debian: https://bugs.debian.org/996807
3Author: Peter Pentchev <roam@ringlet.net>
4Last-Update: 2021-11-13
5
6--- a/axfrdns-conf.c
7+++ b/axfrdns-conf.c
8@@ -50,7 +50,7 @@
9 
10   start("run");
11   outs("#!/bin/sh\nexec 2>&1\nexec envdir ./env sh -c '\n  exec envuidgid "); outs(user);
12-  outs(" softlimit -d300000 tcpserver -vDRHl0 -x tcp.cdb -- \"$IP\" 53 ");
13+  outs(" softlimit -d400000 tcpserver -vDRHl0 -x tcp.cdb -- \"$IP\" 53 ");
14   outs(auto_home); outs("/sbin/axfrdns\n'\n");
15   finish();
16   perm(0755);
17--- a/dnscache-conf.c
18+++ b/dnscache-conf.c
19@@ -118,7 +118,7 @@
20   seed_addtime(); perm(0644);
21   seed_addtime(); start("env/CACHESIZE"); outs("1000000\n"); finish();
22   seed_addtime(); perm(0644);
23-  seed_addtime(); start("env/DATALIMIT"); outs("3000000\n"); finish();
24+  seed_addtime(); start("env/DATALIMIT"); outs("4000000\n"); finish();
25   seed_addtime(); perm(0644);
26   seed_addtime(); start("run");
27   outs("#!/bin/sh\nexec 2>&1\nexec <seed\nexec envdir ./env sh -c '\n  exec envuidgid "); outs(user);
28--- a/tinydns-conf.c
29+++ b/tinydns-conf.c
30@@ -46,7 +46,7 @@
31 
32   start("run");
33   outs("#!/bin/sh\nexec 2>&1\nexec envuidgid "); outs(user);
34-  outs(" envdir ./env softlimit -d300000 ");
35+  outs(" envdir ./env softlimit -d400000 ");
36   outs(auto_home); outs("/sbin/tinydns\n");
37   finish();
38   perm(0755);
Note: See TracBrowser for help on using the repository browser.