<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=US-ASCII">
<META NAME="Generator" CONTENT="MS Exchange Server version 5.5.2654.45">
<TITLE>RE: email syntax validation needed</TITLE>
</HEAD>
<BODY>
<P><FONT SIZE=2>Nevin Pratt wrote:</FONT>
</P>
<P><FONT SIZE=2>> I thought 'nslookup' and 'dig' just did DNS checks, no? </FONT>
<BR><FONT SIZE=2>> I thought the only difference between Squeak's NetNameResolver </FONT>
<BR><FONT SIZE=2>> class and them is that NetNameResolver uses the default DNS machines </FONT>
<BR><FONT SIZE=2>> defined on the host machine, whereas with 'dig' (and I think</FONT>
<BR><FONT SIZE=2>> 'nslookup' as well) allow you to specify which machine you want to</FONT>
<BR><FONT SIZE=2>> use for the DNS lookup.</FONT>
</P>
<BR>
<P><FONT SIZE=2>Hmmm... what OS are you using ? Using nslookup </FONT>
<BR><FONT SIZE=2>(the one included with Cygwin) on Windows 2000 Pro </FONT>
<BR><FONT SIZE=2>looking up sbcglobal.net I get:</FONT>
</P>
<P> <FONT SIZE=2>"can't find sbcglobal.net: Server failed" </FONT>
</P>
<P><FONT SIZE=2>so it's not necessarily a Squeak issue. And OSProcess</FONT>
<BR><FONT SIZE=2>probably wouldn't help.</FONT>
</P>
<P><FONT SIZE=2>If, in nslookup I do a:</FONT>
</P>
<P> <FONT SIZE=2>set type=any</FONT>
</P>
<P><FONT SIZE=2>first then it tells me all about those MX records.</FONT>
</P>
<P><FONT SIZE=2>But looking at NetNameResolver I don't see a way of telling</FONT>
<BR><FONT SIZE=2>it what type of DNS record to retrieve, just the address and</FONT>
<BR><FONT SIZE=2>a timeout value.</FONT>
</P>
<P><FONT SIZE=2>Of course, I could be wrong... but maybe someone needs to</FONT>
<BR><FONT SIZE=2>change NetNameResolver to handle more than one type of</FONT>
<BR><FONT SIZE=2>DNS record ? Or maybe this is just a Windows "feature" </FONT>
<BR><FONT SIZE=2>and it works fine elsewhere... ?</FONT>
</P>
<P><FONT SIZE=2>-Andy-</FONT>
</P>
</BODY>
</HTML>