Compare DNS record strings for equality. Enforces \href{https://tools.ietf.org/html/rfc1035}{\texttt{ RFC 1035}} domain comparison.

\href{https://travis-ci.org/watson/dns-equal}{\texttt{ }} \href{https://github.com/feross/standard}{\texttt{ }}\hypertarget{md_sfcode_node_modules_dns_equal_README_autotoc_md8218}{}\doxysection{Installation}\label{md_sfcode_node_modules_dns_equal_README_autotoc_md8218}

\begin{DoxyCode}{0}
\DoxyCodeLine{npm install dns-\/equal -\/-\/save }

\end{DoxyCode}
\hypertarget{md_sfcode_node_modules_dns_equal_README_autotoc_md8219}{}\doxysection{Usage}\label{md_sfcode_node_modules_dns_equal_README_autotoc_md8219}

\begin{DoxyCode}{0}
\DoxyCodeLine{var dnsEqual = require('dns-\/equal')}
\DoxyCodeLine{}
\DoxyCodeLine{var domain1 = 'Example.COM'}
\DoxyCodeLine{var domain2 = 'example.com'}
\DoxyCodeLine{}
\DoxyCodeLine{if (dnsEqual(domain1, domain2)) \{}
\DoxyCodeLine{  console.log('The two domains are the same')}
\DoxyCodeLine{\} }

\end{DoxyCode}
\hypertarget{md_sfcode_node_modules_dns_equal_README_autotoc_md8220}{}\doxysection{License}\label{md_sfcode_node_modules_dns_equal_README_autotoc_md8220}
MIT 