\doxysection{Milter.\+dns Namespace Reference}
\label{namespaceMilter_1_1dns}\index{Milter.dns@{Milter.dns}}


Provide a higher level interface to pydns.  


\doxysubsection*{Classes}
\begin{DoxyCompactItemize}
\item 
class \textbf{ Session}
\end{DoxyCompactItemize}
\doxysubsection*{Functions}
\begin{DoxyCompactItemize}
\item 
def \textbf{ DNSLookup} (name, qtype)
\begin{DoxyCompactList}\small\item\em Lookup DNS records by label and RR type. \end{DoxyCompactList}\end{DoxyCompactItemize}
\doxysubsection*{Variables}
\begin{DoxyCompactItemize}
\item 
\mbox{\label{namespaceMilter_1_1dns_aa1fe5c92fe4d1a8544c1459675c4b873}} 
int {\bfseries MAX\+\_\+\+CNAME} = 10
\item 
\mbox{\label{namespaceMilter_1_1dns_a3f3b9f1830191d54c3d2359a21e4d3ec}} 
{\bfseries s} = \textbf{ Session}()
\end{DoxyCompactItemize}


\doxysubsection{Detailed Description}
Provide a higher level interface to pydns. 

\doxysubsection{Function Documentation}
\mbox{\label{namespaceMilter_1_1dns_a511cd9391d877cbb011cb24b29acb00f}} 
\index{Milter.dns@{Milter.dns}!DNSLookup@{DNSLookup}}
\index{DNSLookup@{DNSLookup}!Milter.dns@{Milter.dns}}
\doxysubsubsection{DNSLookup()}
{\footnotesize\ttfamily def Milter.\+dns.\+DNSLookup (\begin{DoxyParamCaption}\item[{}]{name,  }\item[{}]{qtype }\end{DoxyParamCaption})}



Lookup DNS records by label and RR type. 

The response can include records of other types that the DNS server thinks we might need. 
\begin{DoxyParams}{Parameters}
{\em name} & the DNS label to lookup \\
\hline
{\em qtype} & the name of the DNS RR type to lookup \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
a list of ((name,type),data) tuples 
\end{DoxyReturn}


Referenced by Milter.\+dns.\+Session.\+dns().

