6 License: http://cr.yp.to/distributors.html (free to use)
7 Group: Networking/Daemons
8 Source0: http://cr.yp.to/djbdns/%{name}-%{version}.tar.gz
9 Source1: %{name}-doc.tar.gz
10 Source2: ftp://ftp.innominate.org/gpa/djb/%{name}-%{version}-man.tar.gz
11 Patch0: dnscache-1.05-multiple-ip.patch
12 Patch1: http://www.fefe.de/dns/%{name}-1.05-ipv6.diff
13 # based on http://www.ohse.de/uwe/patches/djbdns-1.05-multiip.diff
14 Patch2: %{name}-1.05-multiip.diff
15 Patch3: http://iksz.hu/package/djbdns-conf/djbdns-1.05-multi_tinydns_data.patch
16 Patch4: %{name}-srv.patch
17 Patch5: %{name}-glibc.patch
18 URL: http://cr.yp.to/djbdns.html
19 Requires(pre): user-dnslog
21 Obsoletes: caching-nameserver
23 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
26 This is a set of DNS servers with security in mind. If you find a
27 security hole you can get a prize.
29 This package contains some basic DNS debugging tools and some
30 documentation. If you need a DNS server install one of the following
33 - djbdns-dnscache - a local DNS cache
34 - djbdns-tinydns - a DNS server
35 - djbdns-pickdns - a DNS load-balancing server
36 - djbdns-walldns - a reverse DNS wall
37 - djbdns-rbldns - an IP-address-listing DNS server
38 - djbdns-axfrdns - a DNS zone transfer server
41 Dies ist ein Satz von auf Sicherheit zielenden DNS-Servers. Man kriegt
42 ein Preis, wenn man ein Sicherheitsloch findet.
44 Dieses Paket enthält ein paar DNS-Werkzeugen und etwas Dokumentation.
45 Wenn du einen DNS-Server braucht, installe ein von den folgenden
48 - djbdns-dnscache - ein lokaler DNS-Cache
49 - djbdns-tinydns - ein DNS-Server
50 - djbdns-pickdns - ein Belastung ausgleichender DNS-Server
51 - djbdns-walldns - eine Wand Rückgekehrten DNSs
52 - djbdns-rbldns - ein IP-Adressen-Listen-DNS-Server
53 - djbdns-axfrdns - ein DNS-Zonen-Transfer-Server
56 Jest to alternatywny zestaw serwerów DNS'u, którego g³ównym celem jest
57 bezpieczeñstwo. Za znalezienie dziury w tym systemie zosta³a
58 wyznaczona nawet nagroda.
60 Ten pakiet zawiera kilka podstawowych narzêdzi DNS oraz trochê
61 dokumentacji. Je¶li potrzebujesz serwera DNS zainstaluj jeden z
62 nastêpuj±cych pakietów:
64 - djbdns-dnscache - lokalny cache DNS
65 - djbdns-tinydns - serwer DNS
66 - djbdns-pickdns - serwer DNS do równowa¿enia obci±¿eñ
67 - djbdns-walldns - ¶ciana dla odwrotnych zapytañ DNS
68 - djbdns-rbldns - serwer DNS list adresów IP
69 - djbdns-axfrdns - serwer transferów stref DNS
72 Summary: DJB's local DNS cache
73 Summary(de): DJBs lokaler DNS-Cache
74 Summary(pl): Lokalny cache DNS od DJB
75 Group: Networking/Daemons
76 PreReq: %{name} = %{version}
77 Requires(pre): user-dnscache
78 Requires(post): diffutils
79 Requires(post): fileutils
80 Requires(preun): daemontools
81 Requires: daemontools >= 0.70-5
85 dnscache is a local DNS cache from the djbdns package. It accepts
86 recursive DNS queries from local clients such as web browsers and mail
87 transfer agents. It collects responses from remote DNS servers. It
88 caches the responses to save time later.
90 %description dnscache -l de
91 dnscache ist ein lokaler DNS-Cache aus dem djbdns-Paket. Es empfängt
92 rekursive DNS-Fragen von den lokalen Klienten, zum Beispiel
93 Web-Browsers und Mail-Transfer-Agenten. Es sammelt die Antworten von
94 den Fern-DNS-Servers. Es merkt sich die Antworten, um die Zeit später
97 %description dnscache -l pl
98 dnscache jest lokalnym cachem DNS z pakietu djbdns. Przyjmuje on
99 rekursywne zapytania DNS od lokalnych klientów takich, jak
100 przegl±darki WWW i agenci transferu poczty (MTA). Zbiera on odpowiedzi
101 od zdalnych serwerów DNS. Zapamiêtuje on odpowiedzi, ¿eby pó¼niej
105 Summary: DJB's DNS server
106 Summary(de): DJBs DNS-Server
107 Summary(pl): Serwer DNS od DJB
108 Group: Networking/Daemons
109 PreReq: %{name} = %{version}
110 Requires(pre): user-tinydns
111 Requires(post): diffutils
112 Requires(preun): daemontools
113 Requires: daemontools >= 0.70-5
118 tinydns is a DNS server from the djbdns package. It accepts iterative
119 DNS queries from hosts around the Internet and responds with
120 locally-configured information.
122 %description tinydns -l de
123 tinydns ist ein DNS-Server aus dem djbdns-Paket. Es empfängt iterative
124 DNS-Fragen von dem Hosts aus allem Internet und antwortet mit den
125 lokal-konfigurierten Informationen.
127 %description tinydns -l pl
128 tinydns jest serwerem DNS z pakietu djbdns. Przyjmuje on iteracyjne
129 zapytania DNS od komputerów z ca³ego Internetu i odpowiada przy u¿yciu
130 lokalnie skonfigurowanych informacji.
133 Summary: DJB's load-balancing DNS server
134 Summary(de): DJBs Belastung ausgleichender DNS-Server
135 Summary(pl): Serwer DNS równowa¿±cy obci±¿enie od DJB
136 Group: Networking/Daemons
137 PreReq: %{name} = %{version}
138 Requires(pre): user-pickdns
139 Requires(post): diffutils
140 Requires(preun): daemontools
141 Requires: daemontools >= 0.70-5
146 pickdns is a DNS load-balancing server from the djbdns package. It
147 accepts iterative DNS queries from hosts around the Internet and
148 responds with a dynamic selection of locally configured IP addresses
151 %description pickdns -l de
152 pickdns ist ein Belastung ausgleichender DNS-Server aus dem
153 djbdns-Paket. Es empfängt iterative DNS-Fragen von den Hosts aus allem
154 Internet und antwortet mit eine dynamische Auswahl von den
155 lokal-konfigurierten IP-Adressen mit 5-Sekunden-TTLs.
157 %description pickdns -l pl
158 pickdns jest równowa¿±cym obci±¿enie serwerem DNS z pakietu djbdns.
159 Odbiera on iteracyjne zapytania DNS od komputerów z ca³ego internetu i
160 odpowiada dynamicznym wyborem lokalnie skonfigurowanych adresów IP z
161 5-sekundowymi TTLami.
164 Summary: DJB's reverse DNS wall
165 Summary(de): DJBs Wand rückgekehrten DNSs
166 Summary(pl): ¦ciana dla odwrotnych zapytañ DNS od DJB
167 Group: Networking/Daemons
168 PreReq: %{name} = %{version}
169 Requires(pre): user-walldns
170 Requires(post): diffutils
171 Requires(preun): daemontools
172 Requires: daemontools >= 0.70-5
176 walldns is a reverse DNS wall from the djbdns package. It accepts
177 iterative DNS queries for in-addr.arpa domains from hosts around the
178 Internet and supplies generic responses that avoid revealing local
181 %description walldns -l de
182 walldns ist ein Wand rückgekehrten DNSs aus dem djbdns-Paket. Es
183 empfängt iterative DNS-Fragen für den in-addr.arpa-Domänen von den
184 Hosts aus allem Internet und liefert Antworte, die vermeiden
185 Informationen über die lokalen Hosts zu aufzudecken.
187 %description walldns -l pl
188 walldns jest ¶cian± dla odwrotnych zapytañ DNS z pakietu djbdns.
189 Przyjmuje ona iteracyjne zapytania DNS dla domen in-addr.arpa od
190 komputerów z ca³ego Internetu i dostarcza odpowiedzi, które unikaj±
191 ujawniania informacji o lokalnych komputerach.
194 Summary: DJB's IP-address-listing DNS server
195 Summary(de): DJBs IP-Adressen-Listen-DNS-Server
196 Summary(pl): Serwer DNS list adresów IP od DJB
197 Group: Networking/Daemons
198 PreReq: %{name} = %{version}
199 Requires(pre): user-rbldns
200 Requires(post): diffutils
201 Requires(preun): daemontools
202 Requires: daemontools >= 0.70-5
207 rbldns is an IP-address-listing DNS server from the djbdns package. It
208 accepts iterative DNS queries from hosts around the Internet asking
209 about various IP addresses. It provides responses showing whether the
210 addresses are on a locally configured list, such as RBL or DUL.
212 %description rbldns -l de
213 rbldns ist ein IP-Adressen-Listen-DNS-Server aus dem djbdns-Paket. Es
214 empfängt iterative DNS-Fragen von den Hosts aus allem Internet
215 fragende nach verschiedene IP-Adresse. Es liefert Antworte, die zeugen
216 ob die Adresse sich auf einer lokal-konfigurierten Liste befinden, zum
217 Beispiel RBL oder DUL.
219 %description rbldns -l pl
220 rbldns jest serwerem DNS list adresów z pakietu djbdns. Przyjmuje on
221 iteracyjne zapytania DNS od komputerów z ca³ego Internetu pytaj±ce o
222 ró¿ne adresy IP. Dostarcza on odpowiedzi pokazuj±cych, czy adresy te
223 s± na lokalnie skonfigurowanej li¶cie takiej, jak RBL lub DUL.
226 Summary: DJB's DNS zone-transfer server
227 Summary(de): DJBs DNS-Zonen-Transfer-Server
228 Summary(pl): Serwer transferów stref DNS od DJB
229 Group: Networking/Daemons
230 PreReq: %{name} = %{version}
231 Requires(pre): user-axfrdns
232 Requires(preun): daemontools
233 Requires: %{name}-tinydns = %{version}
234 Requires: daemontools >= 0.70-5
240 axfrdns is a DNS zone transfer server from the djbdns package. It
241 reads a zone-transfer request in DNS-over-TCP format from its standard
242 input and responds with locally configured information.
244 %description axfrdns -l de
245 axfrdns ist ein DNS-Zonen-Transfer-Server aus dem djbdns-Paket. Es
246 liest ein Zonen-Transfer-Ersuchen im DNS-over-TCP-Format von seinem
247 standarden Eingabe und antwortet mit den lokal-konfigurierten
250 %description axfrdns -l pl
251 axfrdns jest serwerem transferów stref DNS z pakietu djbdns. Wczytuje
252 on ze standardowego wej¶cia pro¶bê o transfer strefy w formacie
253 DNS-over-TCP i odpowiada przy u¿yciu lokalnie skonfigurowanych
266 ln -s merge/djbdns/* .
269 echo %{__cc} %{rpmcflags} >conf-cc
270 echo %{_prefix} > conf-home
274 rm -rf $RPM_BUILD_ROOT
275 install -d $RPM_BUILD_ROOT{%{_bindir},%{_sbindir},%{_sysconfdir}}
276 install -d $RPM_BUILD_ROOT%{_mandir}/{man1,man5,man8}
278 install dnsroots.global $RPM_BUILD_ROOT%{_sysconfdir}
279 install axfr-get $RPM_BUILD_ROOT%{_bindir}
280 install axfrdns $RPM_BUILD_ROOT%{_bindir}
281 install axfrdns-conf $RPM_BUILD_ROOT%{_bindir}
282 install cachetest $RPM_BUILD_ROOT%{_bindir}
283 install dnscache $RPM_BUILD_ROOT%{_bindir}
284 install dnscache-conf $RPM_BUILD_ROOT%{_bindir}
285 install dnsfilter $RPM_BUILD_ROOT%{_bindir}
286 install dnsip $RPM_BUILD_ROOT%{_bindir}
287 install dnsipq $RPM_BUILD_ROOT%{_bindir}
288 install dnsmx $RPM_BUILD_ROOT%{_bindir}
289 install dnsname $RPM_BUILD_ROOT%{_bindir}
290 install dnsq $RPM_BUILD_ROOT%{_bindir}
291 install dnsqr $RPM_BUILD_ROOT%{_bindir}
292 install dnstrace $RPM_BUILD_ROOT%{_bindir}
293 install dnstxt $RPM_BUILD_ROOT%{_bindir}
294 install pickdns $RPM_BUILD_ROOT%{_bindir}
295 install pickdns-conf $RPM_BUILD_ROOT%{_bindir}
296 install pickdns-data $RPM_BUILD_ROOT%{_bindir}
297 install random-ip $RPM_BUILD_ROOT%{_bindir}
298 install rbldns $RPM_BUILD_ROOT%{_bindir}
299 install rbldns-conf $RPM_BUILD_ROOT%{_bindir}
300 install rbldns-data $RPM_BUILD_ROOT%{_bindir}
301 install rts $RPM_BUILD_ROOT%{_bindir}
302 install tinydns $RPM_BUILD_ROOT%{_bindir}
303 install tinydns-conf $RPM_BUILD_ROOT%{_bindir}
304 install tinydns-data $RPM_BUILD_ROOT%{_bindir}
305 install tinydns-edit $RPM_BUILD_ROOT%{_bindir}
306 install tinydns-get $RPM_BUILD_ROOT%{_bindir}
307 install walldns $RPM_BUILD_ROOT%{_bindir}
308 install walldns-conf $RPM_BUILD_ROOT%{_bindir}
309 install djbdns-man/*.1 $RPM_BUILD_ROOT%{_mandir}/man1
310 install djbdns-man/*.5 $RPM_BUILD_ROOT%{_mandir}/man5
311 install djbdns-man/*.8 $RPM_BUILD_ROOT%{_mandir}/man8
315 mkdir $RPM_BUILD_ROOT%{_sysconfdir}/dnscache
316 cd $RPM_BUILD_ROOT%{_sysconfdir}/dnscache
321 echo %{_sysconfdir}/dnscache/root>env/ROOT
322 echo 127.0.0.1 >env/IP
323 echo 0.0.0.0 >env/IPSEND
324 echo 1000000 >env/CACHESIZE
325 echo 3000000 >env/DATALIMIT
330 exec envdir ./env sh -c '
331 exec envuidgid dnscache softlimit -o250 -d "\$DATALIMIT" %{_bindir}/dnscache
336 exec setuidgid dnslog multilog t ./main
340 touch root/ip/127.0.0.1
342 ln $RPM_BUILD_ROOT%{_sysconfdir}/dnsroots.global root/servers/\@
343 dd if=/dev/zero of=seed bs=128c count=1
347 mkdir $RPM_BUILD_ROOT%{_sysconfdir}/tinydns
348 cd $RPM_BUILD_ROOT%{_sysconfdir}/tinydns
354 exec setuidgid dnslog multilog t ./main
357 echo %{_sysconfdir}/tinydns/root>env/ROOT
358 echo 127.0.0.1 >env/IP
362 exec envuidgid tinydns envdir ./env softlimit -d300000 %{_bindir}/tinydns
368 exec %{_bindir}/tinydns-edit data data.new add ns \${1+"\$@"}
370 cat>root/add-childns<<___
372 exec %{_bindir}/tinydns-edit data data.new add childns \${1+"\$@"}
374 cat>root/add-host<<___
376 exec %{_bindir}/tinydns-edit data data.new add host \${1+"\$@"}
378 cat>root/add-host6<<___
380 exec %{_bindir}/tinydns-edit data data.new add host6 \${1+"\$@"}
382 cat>root/add-alias<<___
384 exec %{_bindir}/tinydns-edit data data.new add alias \${1+"\$@"}
386 cat>root/add-alias6<<___
388 exec %{_bindir}/tinydns-edit data data.new add alias6 \${1+"\$@"}
392 exec %{_bindir}/tinydns-edit data data.new add mx \${1+"\$@"}
394 cat>root/Makefile<<___
396 %{_bindir}/tinydns-data
401 mkdir $RPM_BUILD_ROOT%{_sysconfdir}/pickdns
402 cd $RPM_BUILD_ROOT%{_sysconfdir}/pickdns
408 exec setuidgid dnslog multilog t ./main
411 echo %{_sysconfdir}/pickdns/root>env/ROOT
412 echo 127.0.0.1 >env/IP
416 exec envuidgid pickdns envdir ./env softlimit -d250000 %{_bindir}/pickdns
420 cat>root/Makefile<<___
422 %{_bindir}/pickdns-data
426 mkdir $RPM_BUILD_ROOT%{_sysconfdir}/walldns
427 cd $RPM_BUILD_ROOT%{_sysconfdir}/walldns
433 exec setuidgid dnslog multilog t ./main
436 echo %{_sysconfdir}/walldns/root>env/ROOT
437 echo 127.0.0.1 >env/IP
441 exec envuidgid walldns envdir ./env softlimit -d250000 %{_bindir}/walldns
447 mkdir $RPM_BUILD_ROOT%{_sysconfdir}/rbldns
448 cd $RPM_BUILD_ROOT%{_sysconfdir}/rbldns
454 exec setuidgid dnslog multilog t ./main
457 echo %{_sysconfdir}/rbldns/root>env/ROOT
458 echo 127.0.0.1 >env/IP
459 echo in-addr.arpa >env/BASE
463 exec envuidgid rbldns envdir ./env softlimit -d250000 %{_bindir}/rbldns
467 cat>root/Makefile<<___
469 %{_bindir}/rbldns-data
474 mkdir $RPM_BUILD_ROOT%{_sysconfdir}/axfrdns
475 cd $RPM_BUILD_ROOT%{_sysconfdir}/axfrdns
481 exec setuidgid dnslog multilog t ./main
484 echo %{_sysconfdir}/tinydns/root>env/ROOT
485 echo 127.0.0.1 >env/IP
489 exec envdir ./env sh -c '
490 exec envuidgid axfrdns softlimit -d300000 tcpserver -vDRHl0 -x tcp.cdb -- "\$IP" 53 %{_bindir}/axfrdns
495 tcprules tcp.cdb tcp.tmp < tcp
498 # sample line: 1.2.3.4:allow,AXFR="heaven.af.mil/3.2.1.in-addr.arpa"
502 ##### daemontools symlinks #####
503 install -d $RPM_BUILD_ROOT/service
504 cd $RPM_BUILD_ROOT/service
505 ln -s ..%{_sysconfdir}/dnscache
506 ln -s ..%{_sysconfdir}/tinydns
507 ln -s ..%{_sysconfdir}/pickdns
508 ln -s ..%{_sysconfdir}/walldns
509 ln -s ..%{_sysconfdir}/rbldns
510 ln -s ..%{_sysconfdir}/axfrdns
513 rm -rf $RPM_BUILD_ROOT
516 if [ -n "`id -u dnslog 2>/dev/null`" ]; then
517 if [ "`id -u dnslog`" != "32" ]; then
518 echo "Error: user dnslog doesn't have uid=32. Correct this before installing djbdns." 1>&2
522 /usr/sbin/useradd -u 32 -r -d / -s /bin/false -c "djbdns User" -g djbdns dnslog 1>&2
526 if [ \! -s /etc/dnscache/seed ]; then
527 dd if=/dev/urandom of=/etc/dnscache/seed bs=128c count=1
529 if diff -u /etc/{dnscache,pickdns}/env/IP >/dev/zero 2>&1;then
530 echo "Warning: dnscache and pickdns can't work on the same"
531 echo "IP address. You have to edit either /etc/dnscache/env/IP"
532 echo "or /etc/pickdns/env/IP."
534 if diff -u /etc/{dnscache,rbldns}/env/IP >/dev/zero 2>&1;then
535 echo "Warning: dnscache and rbldns can't work on the same"
536 echo "IP address. You have to edit either /etc/dnscache/env/IP"
537 echo "or /etc/rbldns/env/IP."
539 if diff -u /etc/{dnscache,tinydns}/env/IP >/dev/zero 2>&1;then
540 echo "Warning: dnscache and tinydns can't work on the same"
541 echo "IP address. You have to edit either /etc/dnscache/env/IP"
542 echo "or /etc/tinydns/env/IP."
544 if diff -u /etc/{dnscache,walldns}/env/IP >/dev/zero 2>&1;then
545 echo "Warning: dnscache and walldns can't work on the same"
546 echo "IP address. You have to edit either /etc/dnscache/env/IP"
547 echo "or /etc/walldns/env/IP."
551 if [ "$1" = "0" ]; then
552 svc -d /service/dnscache
556 if diff -u /etc/{dnscache,tinydns}/env/IP >/dev/zero 2>&1;then
557 echo "Warning: dnscache and tinydns can't work on the same"
558 echo "IP address. You have to edit either /etc/dnscache/env/IP"
559 echo "or /etc/tinydns/env/IP."
561 if diff -u /etc/{pick,tiny}dns/env/IP >/dev/zero 2>&1;then
562 echo "Warning: pickdns and tinydns can't work on the same"
563 echo "IP address. You have to edit either /etc/pickdns/env/IP"
564 echo "or /etc/tinydns/env/IP."
566 if diff -u /etc/{rbl,tiny}dns/env/IP >/dev/zero 2>&1;then
567 echo "Warning: rbldns and tinydns can't work on the same"
568 echo "IP address. You have to edit either /etc/rbldns/env/IP"
569 echo "or /etc/tinydns/env/IP."
571 if diff -u /etc/{tiny,wall}dns/env/IP >/dev/zero 2>&1;then
572 echo "Warning: tinydns and walldns can't work on the same"
573 echo "IP address. You have to edit either /etc/tinydns/env/IP"
574 echo "or /etc/walldns/env/IP."
578 if [ "$1" = "0" ]; then
579 svc -d /service/tinydns
583 if diff -u /etc/{dnscache,pickdns}/env/IP >/dev/zero 2>&1;then
584 echo "Warning: dnscache and pickdns can't work on the same"
585 echo "IP address. You have to edit either /etc/dnscache/env/IP"
586 echo "or /etc/pickdns/env/IP."
588 if diff -u /etc/{pick,rbl}dns/env/IP >/dev/zero 2>&1;then
589 echo "Warning: pickdns and rbldns can't work on the same"
590 echo "IP address. You have to edit either /etc/pickdns/env/IP"
591 echo "or /etc/rbldns/env/IP."
593 if diff -u /etc/{pick,tiny}dns/env/IP >/dev/zero 2>&1;then
594 echo "Warning: pickdns and tinydns can't work on the same"
595 echo "IP address. You have to edit either /etc/pickdns/env/IP"
596 echo "or /etc/tinydns/env/IP."
598 if diff -u /etc/{pick,wall}dns/env/IP >/dev/zero 2>&1;then
599 echo "Warning: pickdns and walldns can't work on the same"
600 echo "IP address. You have to edit either /etc/pickdns/env/IP"
601 echo "or /etc/walldns/env/IP."
605 if [ "$1" = "0" ]; then
606 svc -d /service/pickdns
610 if diff -u /etc/{dnscache,walldns}/env/IP >/dev/zero 2>&1;then
611 echo "Warning: dnscache and walldns can't work on the same"
612 echo "IP address. You have to edit either /etc/dnscache/env/IP"
613 echo "or /etc/walldns/env/IP."
615 if diff -u /etc/{pick,wall}dns/env/IP >/dev/zero 2>&1;then
616 echo "Warning: pickdns and walldns can't work on the same"
617 echo "IP address. You have to edit either /etc/pickdns/env/IP"
618 echo "or /etc/walldns/env/IP."
620 if diff -u /etc/{rbl,wall}dns/env/IP >/dev/zero 2>&1;then
621 echo "Warning: rbldns and walldns can't work on the same"
622 echo "IP address. You have to edit either /etc/rbldns/env/IP"
623 echo "or /etc/walldns/env/IP."
625 if diff -u /etc/{tiny,wall}dns/env/IP >/dev/zero 2>&1;then
626 echo "Warning: tinydns and walldns can't work on the same"
627 echo "IP address. You have to edit either /etc/tinydns/env/IP"
628 echo "or /etc/walldns/env/IP."
632 if [ "$1" = "0" ]; then
633 svc -d /service/walldns
637 if diff -u /etc/{dnscache,rbldns}/env/IP >/dev/zero 2>&1;then
638 echo "Warning: dnscache and rbldns can't work on the same"
639 echo "IP address. You have to edit either /etc/dnscache/env/IP"
640 echo "or /etc/rbldns/env/IP."
642 if diff -u /etc/{pick,rbl}dns/env/IP >/dev/zero 2>&1;then
643 echo "Warning: pickdns and rbldns can't work on the same"
644 echo "IP address. You have to edit either /etc/pickdns/env/IP"
645 echo "or /etc/rbldns/env/IP."
647 if diff -u /etc/{rbl,tiny}dns/env/IP >/dev/zero 2>&1;then
648 echo "Warning: rbldns and tinydns can't work on the same"
649 echo "IP address. You have to edit either /etc/rbldns/env/IP"
650 echo "or /etc/tinydns/env/IP."
652 if diff -u /etc/{rbl,wall}dns/env/IP >/dev/zero 2>&1;then
653 echo "Warning: rbldns and walldns can't work on the same"
654 echo "IP address. You have to edit either /etc/rbldns/env/IP"
655 echo "or /etc/walldns/env/IP."
659 if [ "$1" = "0" ]; then
660 svc -d /service/rbldns
664 if [ "$1" = "0" ]; then
665 svc -d /service/axfrdns
669 %defattr(644,root,root,755)
670 %doc CHANGES TODO MULTIPLEIP TINYDNS doc/*
671 %attr(755,root,root) %{_bindir}/cachetest
672 %attr(755,root,root) %{_bindir}/dns[f-t]*
673 %attr(755,root,root) %{_bindir}/axfr-get
675 %{_mandir}/man8/axfr-get*
678 %defattr(644,root,root,755)
679 %attr(755,root,root) %{_bindir}/dnscache*
680 %config %attr(644,root,root) %{_sysconfdir}/dnsroots.global
681 %dir %attr(3755,root,root) %{_sysconfdir}/dnscache
682 %dir %attr(2755,root,root) %{_sysconfdir}/dnscache/log
683 %dir %attr(2755,dnslog,djbdns) %{_sysconfdir}/dnscache/log/main
684 %attr(644,dnslog,djbdns) %{_sysconfdir}/dnscache/log/status
685 %dir %attr(2755,root,root) %{_sysconfdir}/dnscache/env
686 %config %attr(644,root,root) %{_sysconfdir}/dnscache/env/*
687 %attr(755,root,root) %{_sysconfdir}/dnscache/run
688 %attr(755,root,root) %{_sysconfdir}/dnscache/log/run
689 %dir %attr(2755,root,root) %{_sysconfdir}/dnscache/root
690 %dir %attr(2755,root,root) %{_sysconfdir}/dnscache/root/*
691 %config %attr(600,root,root) %{_sysconfdir}/dnscache/root/ip/*
692 %config %attr(644,root,root) %{_sysconfdir}/dnscache/root/servers/*
693 %ghost %attr(600,root,root) %{_sysconfdir}/dnscache/seed
694 %{_mandir}/man8/dnscache*
698 %defattr(644,root,root,755)
699 %attr(755,root,root) %{_bindir}/tinydns*
700 %dir %attr(3755,root,root) %{_sysconfdir}/tinydns
701 %dir %attr(2755,root,root) %{_sysconfdir}/tinydns/log
702 %dir %attr(2755,dnslog,djbdns) %{_sysconfdir}/tinydns/log/main
703 %attr(644,dnslog,djbdns) %{_sysconfdir}/tinydns/log/status
704 %attr(755,root,root) %{_sysconfdir}/tinydns/log/run
705 %dir %attr(2755,root,root) %{_sysconfdir}/tinydns/env
706 %config %attr(644,root,root) %{_sysconfdir}/tinydns/env/*
707 %attr(755,root,root) %{_sysconfdir}/tinydns/run
708 %dir %attr(2755,root,root) %{_sysconfdir}/tinydns/root
709 %attr(644,root,root) %{_sysconfdir}/tinydns/root/Makefile
710 %config %attr(644,root,root) %{_sysconfdir}/tinydns/root/data
711 %attr(755,root,root) %{_sysconfdir}/tinydns/root/add-*
712 %{_mandir}/man8/tinydns*
716 %defattr(644,root,root,755)
717 %attr(755,root,root) %{_bindir}/pickdns*
718 %dir %attr(3755,root,root) %{_sysconfdir}/pickdns
719 %dir %attr(2755,root,root) %{_sysconfdir}/pickdns/log
720 %dir %attr(2755,dnslog,djbdns) %{_sysconfdir}/pickdns/log/main
721 %attr(644,dnslog,djbdns) %{_sysconfdir}/pickdns/log/status
722 %attr(755,root,root) %{_sysconfdir}/pickdns/log/run
723 %dir %attr(2755,root,root) %{_sysconfdir}/pickdns/env
724 %config %attr(644,root,root) %{_sysconfdir}/pickdns/env/*
725 %attr(755,root,root) %{_sysconfdir}/pickdns/run
726 %dir %attr(2755,root,root) %{_sysconfdir}/pickdns/root
727 %attr(644,root,root) %{_sysconfdir}/pickdns/root/Makefile
728 %config %attr(644,root,root) %{_sysconfdir}/pickdns/root/data
729 %{_mandir}/man8/pickdns*
733 %defattr(644,root,root,755)
734 %attr(755,root,root) %{_bindir}/walldns*
735 %dir %attr(3755,root,root) %{_sysconfdir}/walldns
736 %dir %attr(2755,root,root) %{_sysconfdir}/walldns/log
737 %dir %attr(2755,dnslog,djbdns) %{_sysconfdir}/walldns/log/main
738 %attr(644,dnslog,djbdns) %{_sysconfdir}/walldns/log/status
739 %attr(755,root,root) %{_sysconfdir}/walldns/log/run
740 %dir %attr(2755,root,root) %{_sysconfdir}/walldns/env
741 %config %attr(644,root,root) %{_sysconfdir}/walldns/env/*
742 %attr(755,root,root) %{_sysconfdir}/walldns/run
743 %dir %attr(2755,root,root) %{_sysconfdir}/walldns/root
744 %{_mandir}/man8/walldns*
748 %defattr(644,root,root,755)
749 %attr(755,root,root) %{_bindir}/rbldns*
750 %dir %attr(3755,root,root) %{_sysconfdir}/rbldns
751 %dir %attr(2755,root,root) %{_sysconfdir}/rbldns/log
752 %dir %attr(2755,dnslog,djbdns) %{_sysconfdir}/rbldns/log/main
753 %attr(644,dnslog,djbdns) %{_sysconfdir}/rbldns/log/status
754 %attr(755,root,root) %{_sysconfdir}/rbldns/log/run
755 %dir %attr(2755,root,root) %{_sysconfdir}/rbldns/env
756 %config %attr(644,root,root) %{_sysconfdir}/rbldns/env/*
757 %attr(755,root,root) %{_sysconfdir}/rbldns/run
758 %dir %attr(2755,root,root) %{_sysconfdir}/rbldns/root
759 %attr(644,root,root) %{_sysconfdir}/rbldns/root/Makefile
760 %config %attr(644,root,root) %{_sysconfdir}/rbldns/root/data
761 %{_mandir}/man8/rbldns*
765 %defattr(644,root,root,755)
766 %attr(755,root,root) %{_bindir}/axfrdns*
767 %dir %attr(3755,root,root) %{_sysconfdir}/axfrdns
768 %dir %attr(2755,root,root) %{_sysconfdir}/axfrdns/log
769 %dir %attr(2755,dnslog,djbdns) %{_sysconfdir}/axfrdns/log/main
770 %attr(644,dnslog,djbdns) %{_sysconfdir}/axfrdns/log/status
771 %attr(755,root,root) %{_sysconfdir}/axfrdns/log/run
772 %dir %attr(2755,root,root) %{_sysconfdir}/axfrdns/env
773 %config %attr(644,root,root) %{_sysconfdir}/axfrdns/env/*
774 %attr(755,root,root) %{_sysconfdir}/axfrdns/run
775 %attr(644,root,root) %{_sysconfdir}/axfrdns/Makefile
776 %config %attr(644,root,root) %{_sysconfdir}/axfrdns/tcp
777 %{_mandir}/man8/axfrdns*