/* 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;
}
/* 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;
* 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
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
*/
<toc>
<sect>GSLB
<p>
-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.
<sect1>Typical GSLB implementation
<sect1>IP Netmasks Configuration
<p>
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
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.
</para>
</listitem>
</varlistentry>
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;