From a638047c39c700524cf2f855237351d1f0f2f1c8 Mon Sep 17 00:00:00 2001 From: root Date: Thu, 26 Jun 2008 21:27:45 -0400 Subject: [PATCH 1/1] Initial commit. --- .gitignore | 3 +++ env/CACHESIZE | 1 + env/DATALIMIT | 1 + env/IP | 1 + env/IPSEND | 1 + env/ROOT | 1 + install | 6 ++++++ log/run | 2 ++ root/ip/127.0.0.2 | 0 root/servers/@ | 13 +++++++++++++ run | 6 ++++++ 11 files changed, 35 insertions(+) create mode 100644 .gitignore create mode 100644 env/CACHESIZE create mode 100644 env/DATALIMIT create mode 100644 env/IP create mode 100644 env/IPSEND create mode 100644 env/ROOT create mode 100644 install create mode 100755 log/run create mode 100644 root/ip/127.0.0.2 create mode 100644 root/servers/@ create mode 100755 run diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..a02e226 --- /dev/null +++ b/.gitignore @@ -0,0 +1,3 @@ +supervise +/log/status +/seed diff --git a/env/CACHESIZE b/env/CACHESIZE new file mode 100644 index 0000000..749fce6 --- /dev/null +++ b/env/CACHESIZE @@ -0,0 +1 @@ +1000000 diff --git a/env/DATALIMIT b/env/DATALIMIT new file mode 100644 index 0000000..d4f015c --- /dev/null +++ b/env/DATALIMIT @@ -0,0 +1 @@ +3000000 diff --git a/env/IP b/env/IP new file mode 100644 index 0000000..588d1ba --- /dev/null +++ b/env/IP @@ -0,0 +1 @@ +127.0.0.2 diff --git a/env/IPSEND b/env/IPSEND new file mode 100644 index 0000000..d690dc0 --- /dev/null +++ b/env/IPSEND @@ -0,0 +1 @@ +0.0.0.0 diff --git a/env/ROOT b/env/ROOT new file mode 100644 index 0000000..07e4cb7 --- /dev/null +++ b/env/ROOT @@ -0,0 +1 @@ +/var/service/dnscache/root diff --git a/install b/install new file mode 100644 index 0000000..bebab17 --- /dev/null +++ b/install @@ -0,0 +1,6 @@ +#!/bin/bash +cd /usr/bin +ln -s chpst setuidgid +ln -s chpst envdir +ln -s chpst envuidgid +ln -s chpst softlimit diff --git a/log/run b/log/run new file mode 100755 index 0000000..5b06399 --- /dev/null +++ b/log/run @@ -0,0 +1,2 @@ +#!/bin/sh +exec setuidgid dnslog /usr/bin/svlogd -tt /var/log/dnscache diff --git a/root/ip/127.0.0.2 b/root/ip/127.0.0.2 new file mode 100644 index 0000000..e69de29 diff --git a/root/servers/@ b/root/servers/@ new file mode 100644 index 0000000..ca40b38 --- /dev/null +++ b/root/servers/@ @@ -0,0 +1,13 @@ +198.41.0.4 +192.228.79.201 +192.33.4.12 +128.8.10.90 +192.203.230.10 +192.5.5.241 +192.112.36.4 +128.63.2.53 +192.36.148.17 +192.58.128.30 +193.0.14.129 +199.7.83.42 +202.12.27.33 diff --git a/run b/run new file mode 100755 index 0000000..e20cae7 --- /dev/null +++ b/run @@ -0,0 +1,6 @@ +#!/bin/sh +exec 2>&1 +exec