From: Ruben Kerkhof Date: Sun, 11 May 2014 11:04:56 +0000 (+0200) Subject: Fix a few typos X-Git-Tag: rec-3.6.0-rc1~31^2 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=e8e0e41c92dec5fcb6f3d16e206b0ecdb076c76e;p=pdns Fix a few typos --- diff --git a/modules/lmdbbackend/lmdbbackend.cc b/modules/lmdbbackend/lmdbbackend.cc index c7266c75b..3417a7922 100644 --- a/modules/lmdbbackend/lmdbbackend.cc +++ b/modules/lmdbbackend/lmdbbackend.cc @@ -129,7 +129,7 @@ bool LMDBBackend::getAuthZone( string &rev_zone ) /* Skip back 1 entry to what should be a substring of what was searched * for (or a totally different entry) */ if( mdb_cursor_get(zone_cursor, &key, &data, MDB_PREV) ) { - // At beginning of database; therefore didnt actually hit the + // At beginning of database; therefore didn't actually hit the // record. Return false return false; } diff --git a/pdns/dnsbackend.cc b/pdns/dnsbackend.cc index d3b96e87b..baa8f2a55 100644 --- a/pdns/dnsbackend.cc +++ b/pdns/dnsbackend.cc @@ -340,7 +340,7 @@ bool DNSBackend::calculateSOASerial(const string& domain, const SOAData& sd, tim /* String a is the query key, string b is the result from the database. Trys to * be intelegent and only return matching sections (ie up to the last point at * which there were .'s in both strings, however because the - character is - * legal and < . in ascii it does not gaurentee to return a section point. + * legal and < . in ascii it does not guarantee to return a section point. */ inline unsigned int compare_domains( const string &a, const string &b ) { int aLen = a.length(), bLen = b.length(), n = 0, last_dot = 0; @@ -391,7 +391,7 @@ inline unsigned int compare_domains( const string &a, const string &b ) { * which, given a reversed zone name will return false if there was some sort * of error (eg no record found as top of database was hit, lookup issues), * otherwise returns true and sets reversed_zone_name to be the exact entry - * found, otherwise the entry directly preceeding where it would be. + * found, otherwise the entry directly preceding where it would be. * * The subclass MUST implement getAuthData( const string &rev_zone_name, SOAData *soa ) * which is basically the same as getSOA() but is called with the reversed zone name diff --git a/pdns/dnsbackend.hh b/pdns/dnsbackend.hh index a76823779..0024925b5 100644 --- a/pdns/dnsbackend.hh +++ b/pdns/dnsbackend.hh @@ -377,14 +377,14 @@ private: class DNSReversedBackend : public DNSBackend { public: /* Given rev_zone (the reversed name of the zone we are looking for the - * SOA record for), return the equivelent of + * SOA record for), return the equivalent of * SELECT name * FROM soa_records * WHERE name <= rev_zone * ORDER BY name DESC * * ie we want either an exact hit on the record, or the immediately - * preceeding record when sorted lexographically. + * preceding record when sorted lexographically. * * Return true if something has been found, false if not */ diff --git a/pdns/docs/gslb-operations.sgml b/pdns/docs/gslb-operations.sgml index ec7c5005c..2b13cbe63 100644 --- a/pdns/docs/gslb-operations.sgml +++ b/pdns/docs/gslb-operations.sgml @@ -14,7 +14,7 @@ PowerDNS can be employed in a GSLB configuration GSLB

-GSLB, short for Global Server Load Balancing, isr the act of distributing +GSLB, short for Global Server Load Balancing, is the act of distributing server traffic to different locations. Although not necessary, this is almost always done using a smart nameserver. Typical GSLB implementation @@ -56,7 +56,7 @@ distance, as many Autonomous Subsystems now spread the globe. IP Netmasks Configuration

PowerDNS comes preconfigured with a reasonable set of IP Rules. These may -need some maintainance over time. It is adviseable to get a Subscription with +need some maintenance over time. It is adviseable to get a Subscription with PowerDNS so as to receive updates. These rules come in several levels. The lowest level is based on who diff --git a/pdns/docs/pdns.xml b/pdns/docs/pdns.xml index aeabf9a75..f2310464d 100644 --- a/pdns/docs/pdns.xml +++ b/pdns/docs/pdns.xml @@ -14746,7 +14746,7 @@ sql> insert into domainmetadata (domain_id, kind, content) values (6, 'TSIG-ALLO If a server has not responded in any way this many times in a row, no longer send it any queries for server-down-throttle-time seconds. Afterwards, we will try a new packet, and if that also gets no response at all, we again throttle for server-down-throttle-time-seconds. Even a single - reponse packet will drop the block. Available and on by default since 3.6. + response packet will drop the block. Available and on by default since 3.6. diff --git a/pdns/packethandler.cc b/pdns/packethandler.cc index 698c764d0..47454dc9b 100644 --- a/pdns/packethandler.cc +++ b/pdns/packethandler.cc @@ -1256,7 +1256,7 @@ DNSPacket *PacketHandler::questionOrRecurse(DNSPacket *p, bool *shouldRecurse) return r; } - // we only know about qclass IN (and ANY), send NotImp for everthing else. + // we only know about qclass IN (and ANY), send NotImp for everything else. if(p->qclass != QClass::IN && p->qclass!=QClass::ANY) { r->setRcode(RCode::NotImp); return r;