diff --git a/TODO b/TODO index 0621799b6860..0b6f66ef4098 100644 --- a/TODO +++ b/TODO @@ -5,7 +5,7 @@ Also see http://wiki.powerdns.com/trac/wiki/TodoList Older stuff below: -* new zone is AXFRed, written to disk succesfully +* new zone is AXFRed, written to disk successfully probably? unsure * the old SOA record remains in place diff --git a/modules/geobackend/geobackend.hh b/modules/geobackend/geobackend.hh index 296aa6a9f70c..ff3439c76809 100644 --- a/modules/geobackend/geobackend.hh +++ b/modules/geobackend/geobackend.hh @@ -89,7 +89,7 @@ public: void declareArguments(const string &suffix = "") { declare(suffix, "zone", "zonename to be served", ""); declare(suffix, "soa-values", "values of the SOA master nameserver and hostmaster fields, comma seperated", ""); - declare(suffix, "ns-records", "targets of the NS records, comma seperated.", ""); + declare(suffix, "ns-records", "targets of the NS records, comma separated.", ""); declare(suffix, "ttl", "TTL value for geo records", "3600"); declare(suffix, "ns-ttl", "TTL value for NS records", "86400"); declare(suffix, "ip-map-zonefile", "path to the rbldnsd format zonefile", "zz.countries.nerd.dk.rbldnsd"); diff --git a/modules/godbcbackend/sodbc.hh b/modules/godbcbackend/sodbc.hh index 8cbabbccf6cd..2c046c42c59a 100644 --- a/modules/godbcbackend/sodbc.hh +++ b/modules/godbcbackend/sodbc.hh @@ -7,7 +7,7 @@ #include #include -// The following line makes Bert puke everytime he sees it. +// The following line makes Bert puke every time he sees it. //#define WINDOWS_LEAN_AND_MEAN //#include #include diff --git a/modules/ldapbackend/powerldap.cc b/modules/ldapbackend/powerldap.cc index ba8932d0ab22..a0b84759fa4b 100644 --- a/modules/ldapbackend/powerldap.cc +++ b/modules/ldapbackend/powerldap.cc @@ -115,7 +115,7 @@ void PowerLDAP::bind( const string& ldapbinddn, const string& ldapsecret, int me /** - * Depricated, use PowerLDAP::bind() instead + * Deprecated, use PowerLDAP::bind() instead */ void PowerLDAP::simpleBind( const string& ldapbinddn, const string& ldapsecret ) diff --git a/modules/luabackend/luabackend.hh b/modules/luabackend/luabackend.hh index 6e65aa7484de..4f46d24ad1d3 100644 --- a/modules/luabackend/luabackend.hh +++ b/modules/luabackend/luabackend.hh @@ -104,7 +104,7 @@ private: int f_lua_exec_error; - //mininal functions.... + //minimal functions.... int f_lua_list; int f_lua_lookup; int f_lua_get; diff --git a/modules/luabackend/reload.cc b/modules/luabackend/reload.cc index 5a851afae87e..ee00d5bacbb7 100644 --- a/modules/luabackend/reload.cc +++ b/modules/luabackend/reload.cc @@ -99,7 +99,7 @@ void LUABackend::reload() { get_lua_function(lua, "getsoa", &f_lua_getsoa); if (f_lua_list == 0 || f_lua_lookup == 0 || f_lua_get == 0 || f_lua_getsoa == 0) { - throw LUAException (backend_name + "MINIMAL BACKEND: Missing requried function(s)!"); + throw LUAException (backend_name + "MINIMAL BACKEND: Missing required function(s)!"); } //master functions.... diff --git a/modules/luabackend/test/pdns.conf b/modules/luabackend/test/pdns.conf index 5b035022f6e1..08b80df758a1 100644 --- a/modules/luabackend/test/pdns.conf +++ b/modules/luabackend/test/pdns.conf @@ -250,7 +250,7 @@ local-ipv6=::1 # soa-expire-default=604800 ################################# -# soa-minimum-ttl Default SOA mininum ttl +# soa-minimum-ttl Default SOA minimum ttl # # soa-minimum-ttl=3600 diff --git a/modules/mongodbbackend/test/pdns.conf b/modules/mongodbbackend/test/pdns.conf index 57f53a5528d7..dab50163abe7 100644 --- a/modules/mongodbbackend/test/pdns.conf +++ b/modules/mongodbbackend/test/pdns.conf @@ -250,7 +250,7 @@ # soa-expire-default=604800 ################################# -# soa-minimum-ttl Default SOA mininum ttl +# soa-minimum-ttl Default SOA minimum ttl # # soa-minimum-ttl=3600 diff --git a/modules/mydnsbackend/mydnsbackend.cc b/modules/mydnsbackend/mydnsbackend.cc index 5d095436c930..7825d22a0555 100644 --- a/modules/mydnsbackend/mydnsbackend.cc +++ b/modules/mydnsbackend/mydnsbackend.cc @@ -6,7 +6,7 @@ * query. This means that existing PowerDNS backends are unable to make use of * the schema without lame hackery (or awful performance.) This module does * the nasty lookup logic required to make use of the schema, and should be as - * tollerent as MyDNS when it comes to things being fully qualified or not. + * tolerant as MyDNS when it comes to things being fully qualified or not. * * A known "bug" is that AXFRs will fail if your rr table contains invalid * junk. I'm not sure this is really a bug, if you've decided to put free-form diff --git a/modules/odbcbackend/odbcbackend.cc b/modules/odbcbackend/odbcbackend.cc index dbdfb1008805..faac6c15c0b9 100644 --- a/modules/odbcbackend/odbcbackend.cc +++ b/modules/odbcbackend/odbcbackend.cc @@ -18,7 +18,7 @@ */ // ODBC backend by Michel Stol (michel@powerdns.com) -// For use with PowerDNS - The powerfull and versatile nameserver. +// For use with PowerDNS - The powerful and versatile nameserver. #include "odbcbackend.hh" diff --git a/modules/odbcbackend/odbcbackend.hh b/modules/odbcbackend/odbcbackend.hh index 7e1c6d20193e..87beb4ab60c6 100644 --- a/modules/odbcbackend/odbcbackend.hh +++ b/modules/odbcbackend/odbcbackend.hh @@ -18,7 +18,7 @@ */ // ODBC backend by Michel Stol (michel@powerdns.com) -// For use with PowerDNS - The powerfull and versatile nameserver. +// For use with PowerDNS - The powerful and versatile nameserver. #ifndef ODBCBACKEND_H #define ODBCBACKEND_H diff --git a/modules/opendbxbackend/odbxbackend.cc b/modules/opendbxbackend/odbxbackend.cc index c4f438afbd41..f02df7f73c87 100644 --- a/modules/opendbxbackend/odbxbackend.cc +++ b/modules/opendbxbackend/odbxbackend.cc @@ -47,7 +47,7 @@ OdbxBackend::OdbxBackend( const string& suffix ) if( getArg( "host" ).size() > 0 ) { - L.log( m_myname + " WARNING: Using depricated opendbx-host parameter", Logger::Warning ); + L.log( m_myname + " WARNING: Using deprecated opendbx-host parameter", Logger::Warning ); stringtok( m_hosts[READ], getArg( "host" ), ", " ); m_hosts[WRITE] = m_hosts[READ]; } diff --git a/modules/opendbxbackend/odbxbackend.hh b/modules/opendbxbackend/odbxbackend.hh index 8d63af840059..be6348397f81 100644 --- a/modules/opendbxbackend/odbxbackend.hh +++ b/modules/opendbxbackend/odbxbackend.hh @@ -144,7 +144,7 @@ public: declare( suffix, "sql-infoslaves", "Get all unfresh slaves", "SELECT d.\"id\", d.\"name\", d.\"master\", d.\"last_check\", d.\"notified_serial\", d.\"auto_serial\", r.\"content\" FROM \"domains\" d LEFT JOIN \"records\" r ON ( d.\"id\"=r.\"domain_id\" AND r.\"type\"='SOA' ) WHERE d.\"status\"='A' AND d.\"type\"='SLAVE'" ); declare( suffix, "sql-infomasters", "Get all updated masters", "SELECT d.\"id\", d.\"name\", d.\"master\", d.\"last_check\", d.\"notified_serial\", d.\"auto_serial\", r.\"content\" FROM \"domains\" d LEFT JOIN \"records\" r ON ( d.\"id\"=r.\"domain_id\" AND r.\"type\"='SOA' ) WHERE d.\"status\"='A' AND d.\"type\"='MASTER'" ); - declare( suffix, "host", "depricated, use host-read and host-write instead","" ); + declare( suffix, "host", "deprecated, use host-read and host-write instead","" ); } diff --git a/modules/oraclebackend/oraclebackend.hh b/modules/oraclebackend/oraclebackend.hh index a737f3de754c..ffff013d2edc 100644 --- a/modules/oraclebackend/oraclebackend.hh +++ b/modules/oraclebackend/oraclebackend.hh @@ -66,7 +66,7 @@ public: void getUnfreshSlaveInfos(vector* domains); void getUpdatedMasters(vector* domains); void setFresh(uint32_t zoneId); // No, it's not int zoneId. Really. - void setNotified(uint32_t zoneId, uint32_t serial); // dito + void setNotified(uint32_t zoneId, uint32_t serial); // ditto bool list(const string &domain, int zoneId); bool checkACL(const string &acl_type, const string &key, const string &val); diff --git a/pdns/arguments.hh b/pdns/arguments.hh index 5d6f508deecf..9f196a686acc 100644 --- a/pdns/arguments.hh +++ b/pdns/arguments.hh @@ -94,7 +94,7 @@ public: bool mustDo(const string &var); //!< if a switch is given, if we must do something (--help) int asNum(const string &var); //!< return a variable value as a number #ifndef WIN32 - mode_t asMode(const string &var); //nsec3hash; } else { - // iter will always be HIGER than lqname, but that's not what we need + // iter will always be HIGHER than lqname, but that's not what we need // rest .. before pos_iter/after pos // lqname if(highIter != hashindex.end()) @@ -1003,7 +1003,7 @@ void Bind2Backend::lookup(const QType &qtype, const string &qname, DNSPacket *pk d_handle.mustlog = mustlog; if(range.first==range.second) { - // cerr<<"Found nothign!"< DNSDistributor; ArgvMap theArg; -StatBag S; //!< Statistics are gathered accross PDNS via the StatBag class S +StatBag S; //!< Statistics are gathered across PDNS via the StatBag class S PacketCache PC; //!< This is the main PacketCache, shared accross all threads DNSProxy *DP; DynListener *dl; @@ -116,7 +116,7 @@ void declareArguments() ::arg().set("recursive-cache-ttl","Seconds to store packets for recursive queries in the PacketCache")="10"; ::arg().set("negquery-cache-ttl","Seconds to store negative query results in the QueryCache")="60"; ::arg().set("query-cache-ttl","Seconds to store query results in the QueryCache")="20"; - ::arg().set("soa-minimum-ttl","Default SOA mininum ttl")="3600"; + ::arg().set("soa-minimum-ttl","Default SOA minimum ttl")="3600"; ::arg().set("server-id", "Returned when queried for 'server.id' TXT or NSID, defaults to hostname")=""; ::arg().set("soa-refresh-default","Default SOA refresh")="10800"; ::arg().set("soa-retry-default","Default SOA retry")="3600"; @@ -216,7 +216,7 @@ static DNSDistributor* g_distributor; static pthread_mutex_t d_distributorlock =PTHREAD_MUTEX_INITIALIZER; static bool g_mustlockdistributor; -//! The qthread receives questions over the internet via the Nameserver class, and hands them to the Distributor for futher processing +//! The qthread receives questions over the internet via the Nameserver class, and hands them to the Distributor for further processing void *qthread(void *number) { DNSPacket *P; diff --git a/pdns/common_startup.hh b/pdns/common_startup.hh index 6ae0d2eb3bb0..6fcf28f0a2d0 100644 --- a/pdns/common_startup.hh +++ b/pdns/common_startup.hh @@ -35,7 +35,7 @@ #include "ws.hh" extern ArgvMap theArg; -extern StatBag S; //!< Statistics are gathered accross PDNS via the StatBag class S +extern StatBag S; //!< Statistics are gathered across PDNS via the StatBag class S extern PacketCache PC; //!< This is the main PacketCache, shared accross all threads extern DNSProxy *DP; extern DynListener *dl; diff --git a/pdns/distributor.hh b/pdns/distributor.hh index a339aeec2870..fdd4f5c1051d 100644 --- a/pdns/distributor.hh +++ b/pdns/distributor.hh @@ -280,7 +280,7 @@ templateint Distributor& d_content; }; diff --git a/pdns/dnsproxy.cc b/pdns/dnsproxy.cc index 143e1cf99e7b..09f49f68e89a 100644 --- a/pdns/dnsproxy.cc +++ b/pdns/dnsproxy.cc @@ -171,7 +171,7 @@ void DNSProxy::mainloop(void) map_t::iterator i=d_conntrack.find(d.id^d_xor); if(i==d_conntrack.end()) { L<()->default_value(true), "don't be too noisy") ("recursive", po::value()->default_value(true), "look at recursion desired packets, or not (defaults true)") ("speedup", po::value()->default_value(1), "replay at this speedup") - ("timeout-msec", po::value()->default_value(500), "wait at least this many millyseconds for a reply"); + ("timeout-msec", po::value()->default_value(500), "wait at least this many milliseconds for a reply"); po::options_description alloptions; po::options_description hidden("hidden options"); diff --git a/pdns/docs/pdns.xml b/pdns/docs/pdns.xml index 37eb1160fd2e..75fedb806cbf 100644 --- a/pdns/docs/pdns.xml +++ b/pdns/docs/pdns.xml @@ -2726,7 +2726,7 @@ errors in some cases. Discovered by Sten Spans. Fixed in c1342. Thanks to some recent migrations, this release, or something very close to it, is powering over 40 million internet connections that - we know of. We appreciate hearing about succesful as well as unsuccesful migrations, please feel free to notify pdns.bd@powerdns.com of your + we know of. We appreciate hearing about successful as well as unsuccessful migrations, please feel free to notify pdns.bd@powerdns.com of your experiences, good or bad. @@ -6605,7 +6605,7 @@ doing. Stability is expected to return with 2.9.1, as are the binary builds. - The SOA Mininum TTL now has a configurable default (soa-minimum-ttl)value to placate the DENIC requirements. + The SOA Minimum TTL now has a configurable default (soa-minimum-ttl)value to placate the DENIC requirements. @@ -11525,8 +11525,8 @@ zone "powerdnssec.org" { all-outqueries counts the number of outgoing UDP queries since starting answers0-1 counts the number of queries answered within 1 milisecond answers100-1000 counts the number of queries answered within 1 second -answers10-100 counts the number of queries answered within 100 miliseconds -answers1-10 counts the number of queries answered within 10 miliseconds +answers10-100 counts the number of queries answered within 100 milliseconds +answers1-10 counts the number of queries answered within 10 milliseconds answers-slow counts the number of queries answered after 1 second cache-bytes Size of the cache in bytes (since 3.3.1) cache-entries shows the number of entries in the cache @@ -12510,7 +12510,7 @@ To enable a Lua script for a particular slave zone, determine the domain_id for queue-limit=... - Maximum number of miliseconds to queue a query. See . + Maximum number of milliseconds to queue a query. See . recursive-cache-ttl=... diff --git a/pdns/mtasker.cc b/pdns/mtasker.cc index 0ccd7385f69c..8178c72f327c 100644 --- a/pdns/mtasker.cc +++ b/pdns/mtasker.cc @@ -40,7 +40,7 @@ MTasker is designed to offer the performance of statemachines while maintaining simple thread semantics. It is not a replacement for a full threading system. - \section compatability Compatability + \section compatibility Compatibility MTasker is only guaranteed to work on Linux with glibc 2.2.5 and higher. It does not work on FreeBSD and notably, not on Red Hat 6.0. It may work on Solaris, please test. @@ -71,7 +71,7 @@ \section events Events By default, Events are recognized by an int and their value is also an int. - This can be overriden by specifying the EventKey and EventVal template parameters. + This can be overridden by specifying the EventKey and EventVal template parameters. An event can be a keypress, but also a UDP packet, or a bit of data from a TCP socket. The sample code provided works with keypresses, but that is just a not very useful example. @@ -144,7 +144,7 @@ int main() //! puts a thread to sleep waiting until a specified event arrives /** Threads can call waitEvent to register that they are waiting on an event with a certain key. - If so desidered, the event can carry data which is returned in val in case that is non-zero. + If so desired, the event can carry data which is returned in val in case that is non-zero. Furthermore, a timeout can be specified in seconds. diff --git a/pdns/nameserver.cc b/pdns/nameserver.cc index 2fb6b00ab8cb..60affa1440c9 100644 --- a/pdns/nameserver.cc +++ b/pdns/nameserver.cc @@ -65,7 +65,7 @@ extern StatBag S; \section Cache Caching On its own, this setup is not suitable for high performance operations. A single DNS query can turn into many DNSBackend questions, - each taking many miliseconds to complete. This is why the qthread() first checks the PacketCache to see if an answer is known to a packet + each taking many milliseconds to complete. This is why the qthread() first checks the PacketCache to see if an answer is known to a packet asking this question. If so, the entire Distributor is shunted, and the answer is sent back *directly*, within a few microseconds. \section misc Miscellaneous diff --git a/pdns/pdns.conf-dist b/pdns/pdns.conf-dist index d5ccfa8b88d8..c5f0d1280bd9 100644 --- a/pdns/pdns.conf-dist +++ b/pdns/pdns.conf-dist @@ -250,7 +250,7 @@ # soa-expire-default=604800 ################################# -# soa-minimum-ttl Default SOA mininum ttl +# soa-minimum-ttl Default SOA minimum ttl # # soa-minimum-ttl=3600 diff --git a/pdns/pdns_recursor.cc b/pdns/pdns_recursor.cc index b6685c91c1c1..e51d9e849414 100644 --- a/pdns/pdns_recursor.cc +++ b/pdns/pdns_recursor.cc @@ -2005,7 +2005,7 @@ int main(int argc, char **argv) ::arg().set("serve-rfc1918", "If we should be authoritative for RFC 1918 private IP space")=""; ::arg().set("auth-can-lower-ttl", "If we follow RFC 2181 to the letter, an authoritative server can lower the TTL of NS records")="off"; ::arg().set("lua-dns-script", "Filename containing an optional 'lua' script that will be used to modify dns answers")=""; - ::arg().setSwitch( "ignore-rd-bit", "Assume each packet requires recursion, for compatability" )= "off"; + ::arg().setSwitch( "ignore-rd-bit", "Assume each packet requires recursion, for compatibility" )= "off"; ::arg().setSwitch( "disable-edns-ping", "Disable EDNSPing" )= "no"; ::arg().setSwitch( "disable-edns", "Disable EDNS" )= ""; ::arg().setSwitch( "disable-packetcache", "Disable packetcache" )= "no"; diff --git a/pdns/pdnssec.cc b/pdns/pdnssec.cc index a48eaba60fc0..75b032ea577b 100644 --- a/pdns/pdnssec.cc +++ b/pdns/pdnssec.cc @@ -133,7 +133,7 @@ void loadMainConfig(const std::string& configdir) ::arg().set("soa-retry-default","Default SOA retry")="3600"; ::arg().set("soa-expire-default","Default SOA expire")="604800"; ::arg().setSwitch("query-logging","Hint backends that queries should be logged")="no"; - ::arg().set("soa-minimum-ttl","Default SOA mininum ttl")="3600"; + ::arg().set("soa-minimum-ttl","Default SOA minimum ttl")="3600"; UeberBackend::go(); } diff --git a/pdns/qtype.hh b/pdns/qtype.hh index 913df96c914c..0c5601cbed53 100644 --- a/pdns/qtype.hh +++ b/pdns/qtype.hh @@ -26,7 +26,7 @@ #include "namespaces.hh" /** The QType class is meant to deal easily with the different kind of resource types, like 'A', 'NS', - * 'CNAME' etcetera. These types have both a name and a number. This class can seemlessly move between + * 'CNAME' etcetera. These types have both a name and a number. This class can seamlessly move between * them. Use it like this: \code diff --git a/pdns/session.cc b/pdns/session.cc index ad86d06bb577..af43800351c5 100644 --- a/pdns/session.cc +++ b/pdns/session.cc @@ -371,7 +371,7 @@ Session *Server::accept() int clisock=-1; - while((clisock=::accept(s,(struct sockaddr *)(&remote),&len))==-1) // repeat until we have a succesful connect + while((clisock=::accept(s,(struct sockaddr *)(&remote),&len))==-1) // repeat until we have a successful connect { // L< SyncRes::getAs(const string &qname, int depth, set& beenthere) { diff --git a/pdns/syncres.hh b/pdns/syncres.hh index 17e97d3050c7..e94eeda57459 100644 --- a/pdns/syncres.hh +++ b/pdns/syncres.hh @@ -231,7 +231,7 @@ public: > > negcache_t; - //! This represents a number of decaying Ewmas, used to store performance per namerserver-name. + //! This represents a number of decaying Ewmas, used to store performance per nameserver-name. /** Modelled to work mostly like the underlying DecayingEwma. After you've called get, d_best is filled out with the best address for this collection */ struct DecayingEwmaCollection diff --git a/pdns/tcpreceiver.cc b/pdns/tcpreceiver.cc index 35dd00499667..611d4fc9ce8f 100644 --- a/pdns/tcpreceiver.cc +++ b/pdns/tcpreceiver.cc @@ -928,7 +928,7 @@ void TCPNameserver::thread() } } catch(AhuException &AE) { - L<