\doxysection{Milter.\+dns Namespace Reference}
\label{namespaceMilter_1_1dns}\index{Milter.dns@{Milter.dns}}
\doxysubsection*{Classes}
\begin{DoxyCompactItemize}
\item 
class \textbf{ Session}
\end{DoxyCompactItemize}
\doxysubsection*{Functions}
\begin{DoxyCompactItemize}
\item 
def \textbf{ D\+N\+S\+Lookup} (name, qtype)
\begin{DoxyCompactList}\small\item\em Lookup D\+NS records by label and RR type. \end{DoxyCompactList}\end{DoxyCompactItemize}
\doxysubsection*{Variables}
\begin{DoxyCompactItemize}
\item 
\mbox{\label{namespaceMilter_1_1dns_aa1fe5c92fe4d1a8544c1459675c4b873}} 
int {\bfseries M\+A\+X\+\_\+\+C\+N\+A\+ME} = 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.\+D\+N\+S\+Lookup (\begin{DoxyParamCaption}\item[{}]{name,  }\item[{}]{qtype }\end{DoxyParamCaption})}



Lookup D\+NS records by label and RR type. 

The response can include records of other types that the D\+NS server thinks we might need. 
\begin{DoxyParams}{Parameters}
{\em name} & the D\+NS label to lookup \\
\hline
{\em qtype} & the name of the D\+NS 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().

