source: npl/internetserver/djbdns/patches/0011-datalimit.patch @ 9c06000

Last change on this file since 9c06000 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
  • axfrdns-conf.c

    Description: Raise the axfrdns, dnscache, and tinydns data limit.
    Bug-Debian: https://bugs.debian.org/996807
    Author: Peter Pentchev <roam@ringlet.net>
    Last-Update: 2021-11-13
    
    a b  
    5050
    5151  start("run");
    5252  outs("#!/bin/sh\nexec 2>&1\nexec envdir ./env sh -c '\n  exec envuidgid "); outs(user);
    53   outs(" softlimit -d300000 tcpserver -vDRHl0 -x tcp.cdb -- \"$IP\" 53 ");
     53  outs(" softlimit -d400000 tcpserver -vDRHl0 -x tcp.cdb -- \"$IP\" 53 ");
    5454  outs(auto_home); outs("/sbin/axfrdns\n'\n");
    5555  finish();
    5656  perm(0755);
  • dnscache-conf.c

    a b  
    118118  seed_addtime(); perm(0644);
    119119  seed_addtime(); start("env/CACHESIZE"); outs("1000000\n"); finish();
    120120  seed_addtime(); perm(0644);
    121   seed_addtime(); start("env/DATALIMIT"); outs("3000000\n"); finish();
     121  seed_addtime(); start("env/DATALIMIT"); outs("4000000\n"); finish();
    122122  seed_addtime(); perm(0644);
    123123  seed_addtime(); start("run");
    124124  outs("#!/bin/sh\nexec 2>&1\nexec <seed\nexec envdir ./env sh -c '\n  exec envuidgid "); outs(user);
  • tinydns-conf.c

    a b  
    4646
    4747  start("run");
    4848  outs("#!/bin/sh\nexec 2>&1\nexec envuidgid "); outs(user);
    49   outs(" envdir ./env softlimit -d300000 ");
     49  outs(" envdir ./env softlimit -d400000 ");
    5050  outs(auto_home); outs("/sbin/tinydns\n");
    5151  finish();
    5252  perm(0755);
Note: See TracBrowser for help on using the repository browser.