pymilter 0.9.5
Classes | Functions | Variables
Package Milter.dns

Provide a higher level interface to pydns. More...

Classes

class  Session

Functions

def DNSLookup
 Lookup DNS records by label and RR type.

Variables

int MAX_CNAME = 10
tuple s = Session()

Detailed Description

Provide a higher level interface to pydns.


Function Documentation

def Milter.dns.DNSLookup (   name,
  qtype 
)

Lookup DNS records by label and RR type.

The response can include records of other types that the DNS server thinks we might need.

Parameters:
namethe DNS label to lookup
qtypethe name of the DNS RR type to lookup
Returns:
a list of ((name,type),data) tuples