Commit 49f1f1bc authored by Jelte Jansen's avatar Jelte Jansen
Browse files

[1299] typos

parent b3c9fffb
......@@ -713,16 +713,16 @@ class XfrinConnection(asyncore.dispatcher):
raise XfrinProtocolError('Unexpected TSIG in response')
def __parse_soa_response(self, msg, response_data):
'''Parse a response to SOA query and extranct the SOA from ansser.
'''Parse a response to SOA query and extract the SOA from answer.
This is a subroutine of _check_soa_serial(). This method also
validates message, and rejects bogus responses with XfrinProtocolError.
If evenrything is okay, it returns the SOA RR from the answer section
If everything is okay, it returns the SOA RR from the answer section
of the response.
'''
# Check TSIG integerity and validate the header. Unlike AXFR/IXFR,
# Check TSIG integrity and validate the header. Unlike AXFR/IXFR,
# we should be more strict for SOA queries and check the AA flag, too.
self._check_response_tsig(msg, response_data)
self._check_response_header(msg)
......
......@@ -15,7 +15,7 @@
# No namespace declaration - these constants go in the global namespace
# of the xfrin messages python module.
% XFRIN_ZONE_CREATED Zone %1 not found in the given data source, newly crated
% XFRIN_ZONE_CREATED Zone %1 not found in the given data source, newly created
On starting an xfrin session, it is identified that the zone to be
transferred is not found in the data source. This can happen if a
secondary DNS server first tries to perform AXFR from a primary server
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment