Changeset 741
- Timestamp:
- 04/19/06 15:57:02 (7 years ago)
- Location:
- trunk/pdns/pdns
- Files:
-
- 1 added
- 2 modified
-
Makefile-recursor (modified) (2 diffs)
-
pdns-recursor.spec (added)
-
pdns_recursor.cc (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/pdns/pdns/Makefile-recursor
r737 r741 1 1 # user editable stuff: 2 2 SBINDIR=/usr/sbin/ 3 BINDIR=/usr/bin/ 4 CONFIGDIR="/etc/powerdns/" 3 5 OPTFLAGS?=-O3 4 6 CXXFLAGS:= $(CXXFLAGS) -Wall $(OPTFLAGS) $(PROFILEFLAGS) … … 34 36 35 37 install: all 38 -mkdirhier $(DESTDIR)/$(SBINDIR) 36 39 install -s pdns_recursor $(DESTDIR)/$(SBINDIR) 37 install -s rec_control $(DESTDIR)/$(SBINDIR) 40 mkdirhier $(DESTDIR)/$(BINDIR) 41 install -s rec_control $(DESTDIR)/$(BINDIR) 42 -mkdirhier $(DESTDIR)/$(CONFIGDIR) 43 ./pdns_recursor --config > $(DESTDIR)/$(CONFIGDIR)/recursor.conf 44 38 45 39 46 clean: -
trunk/pdns/pdns/pdns_recursor.cc
r740 r741 1175 1175 ::arg().set("server-id", "Returned when queried for 'server.id' TXT, defaults to hostname")=""; 1176 1176 ::arg().set("remotes-ringbuffer-entries", "maximum number of packets to store statistics for")="0"; 1177 ::arg().set("version-string", " maximum number of packets to store statistics for")="PowerDNS Recursor "VERSION" $Id$";1177 ::arg().set("version-string", "string reported on version.pdns or version.bind")="PowerDNS Recursor "VERSION" $Id$"; 1178 1178 ::arg().set("allow-from", "If set, only allow these comma separated netmasks to recurse")="127.0.0.0/8, 10.0.0.0/8, 192.168.0.0/16, 172.16.0.0/12"; 1179 1179 ::arg().set("max-tcp-per-client", "If set, maximum number of TCP sessions per client (IP address)")="0"; … … 1183 1183 1184 1184 ::arg().setCmd("help","Provide a helpful message"); 1185 ::arg().setCmd("config","Output blank configuration"); 1185 1186 L.toConsole(Logger::Warning); 1186 1187 ::arg().laxParse(argc,argv); // do a lax parse … … 1201 1202 exit(99); 1202 1203 } 1204 1205 if(::arg().mustDo("config")) { 1206 cout<<::arg().configstring()<<endl; 1207 exit(0); 1208 } 1209 1203 1210 1204 1211 L.setName("pdns_recursor");