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


Provide a higher level interface to pydns.  


\subsection*{Classes}
\begin{DoxyCompactItemize}
\item 
class {\bf Session}
\end{DoxyCompactItemize}
\subsection*{Functions}
\begin{DoxyCompactItemize}
\item 
def {\bf D\+N\+S\+Lookup} (name, qtype)
\begin{DoxyCompactList}\small\item\em Lookup D\+N\+S records by label and R\+R type. \end{DoxyCompactList}\end{DoxyCompactItemize}
\subsection*{Variables}
\begin{DoxyCompactItemize}
\item 
int {\bfseries M\+A\+X\+\_\+\+C\+N\+A\+M\+E} = 10\label{namespaceMilter_1_1dns_aa1fe5c92fe4d1a8544c1459675c4b873}

\item 
tuple {\bfseries s} = {\bf Session}()\label{namespaceMilter_1_1dns_a00fb7b2fe1a8e4cfb087c8f2cc147f0c}

\end{DoxyCompactItemize}


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



\subsection{Function Documentation}
\index{Milter\+::dns@{Milter\+::dns}!D\+N\+S\+Lookup@{D\+N\+S\+Lookup}}
\index{D\+N\+S\+Lookup@{D\+N\+S\+Lookup}!Milter\+::dns@{Milter\+::dns}}
\subsubsection[{D\+N\+S\+Lookup}]{\setlength{\rightskip}{0pt plus 5cm}def Milter.\+dns.\+D\+N\+S\+Lookup (
\begin{DoxyParamCaption}
\item[{}]{name, }
\item[{}]{qtype}
\end{DoxyParamCaption}
)}\label{namespaceMilter_1_1dns_a511cd9391d877cbb011cb24b29acb00f}


Lookup D\+N\+S records by label and R\+R type. 

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


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

