Home | Trees | Index | Help |
|
---|
Package DNS :: Module query |
|
Exceptions | |
---|---|
BadResponse |
Raised if a query response does not respond to the question asked. |
UnexpectedSource |
Raised if a query response comes from an unexpected address or port. |
Function Summary | |
---|---|
DNS.message.Message object |
Return the response obtained after sending a query via TCP. |
DNS.message.Message object |
Return the response obtained after sending a query via UDP. |
generator of DNS.message.Message objects. |
Return a generator for the responses to a zone transfer. |
Read the specified number of bytes from sock. |
Variable Summary | |
---|---|
_Feature |
generators
|
Function Details |
---|
tcp(q, where, timeout=None, port=53)Return the response obtained after sending a query via TCP.
|
udp(q, where, timeout=None, port=53)Return the response obtained after sending a query via UDP.
|
xfr(where, zone, rdtype=252, rdclass=1, timeout=None, port=53, keyring=None, keyname=None, relativize=True)Return a generator for the responses to a zone transfer.
|
_net_read(sock, count)Read the specified number of bytes from sock. Keep trying until we either get the desired amount, or we hit EOF. |
Variable Details |
---|
generators
|
Home | Trees | Index | Help |
|
---|
Generated by Epydoc 1.1 on Tue Jun 17 03:55:14 2003 | http://epydoc.sf.net |