<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 TRANSITIONAL//EN">
<HTML>
<HEAD>
  <META HTTP-EQUIV="Content-Type" CONTENT="text/html; CHARSET=UTF-8">
  <META NAME="GENERATOR" CONTENT="GtkHTML/3.6.2">
</HEAD>
<BODY>
On Mon, 2006-06-05 at 17:05 +0300, Kihara Muriithi wrote:<BR>
<BLOCKQUOTE TYPE=CITE>
    <FONT COLOR="#000000">Hi again</FONT><BR>
    <FONT COLOR="#000000"> Thanks for the response. I am sorry I took a while to reply, but I am far behind my mail. Anyway, it look like you are getting the expected response, while it is failing on my box. Here is what i get when I try your example word to word</FONT><BR>
    <BR>
    <FONT COLOR="#000000"># host <A HREF="http://tlug.ss.org">tlug.ss.org</A></FONT><BR>
    <FONT COLOR="#000000">;; connection timed out; no servers could be reached</FONT><BR>
    <FONT COLOR="#000000">]# host <A HREF="http://waltdnes.org">waltdnes.org</A></FONT><BR>
    <FONT COLOR="#000000">;; connection timed out; no servers could be reached</FONT><BR>
    <FONT COLOR="#000000"># host </FONT><B><FONT COLOR="#ff0000"><A HREF="http://192.234.254.38"><font color="red"><b>MailScanner has detected a possible fraud attempt from "192.234.254.38" claiming to be</b></font> MailScanner warning: numerical links are often malicious:</A></FONT></B><FONT COLOR="#000000"><A HREF="http://192.234.254.38"><font color="red"><b>MailScanner warning: numerical links are often malicious:</b></font> 192.234.254.38</A></FONT><BR>
    <FONT COLOR="#000000">;; connection timed out; no servers could be reached</FONT><BR>
    <BR>
    <FONT COLOR="#000000">Can't really explain it. I am using the same host to respond to this email which mean I can't be having nwtwork problems. Could there be a specific port I need to have iptable allow? Nothing else make sense as to why it should work for you while its failing for me.</FONT><BR>
    <FONT COLOR="#000000"> As for what I was trying to so, I was helping a friend set up evolution. He currently use a webmail and I wanted to poke his mail provider IP with nmap and see if pop port is open. Unfortunately, I only had  domain name with me, and nmap doesn't work very well with domain name for me. I hence tried using "host" to extract the Ip and that is how I landed in above issue.</FONT><BR>
    <FONT COLOR="#000000"> Thank you for your help. At least I know I am in the write path, just getting killed by some funky issues that I can't fathom</FONT><BR>
</BLOCKQUOTE>
<BR>
That usually means that your /etc/resolv.conf has improper "nameserver" addresses.<BR>
<BR>
According to my man page, the way that you are using host uses the standard DNS UDP protocols, so if DNS works, then so will host.<BR>
<BR>
An alternative command, that I use regularly is dig. Dig provides the same functionality except it outputs in BIND format which is not as easy to read.<BR>
<BR>
To see if it is your /etc/resolv.conf configuration find a DNS server IP address and put it on the command line: e,g:<BR>
<BR>
host tlug.ss.org 216.16.235.2<BR>
<BR>
If that works then check your resolv.conf.<BR>
<BR>
<TABLE CELLSPACING="0" CELLPADDING="0" WIDTH="100%">
<TR>
<TD>
-- <BR>
<TABLE CELLSPACING="0" WIDTH="500">
<TR>
<TD>
<B>John Van Ostrand</B>
</TD>
<TD ALIGN="right">
<B>Net Direct Inc.</B>
</TD>
<TD>
 
</TD>
</TR>
<TR>
<TD VALIGN="top">
<I>Chief Technology Officer</I>
</TD>
<TD ALIGN="right">
564 Weber St. N. Unit 12<BR>
Waterloo, ON N2L 5C6 
</TD>
<TD VALIGN="top">
 <A HREF="http://maps.google.ca/maps?q=Net+Direct+Inc.,+564+Weber+St.+N.+Unit+12,+Waterloo,+ON+N2L+5C6,+canada&ll=43.494599,-80.548222&spn=0.038450,0.073956&iwloc=A&hl=en">map</A> 
</TD>
</TR>
<TR>
<TD>
<A HREF="mailto:john-Da48MpWaEp0CzWx7n4ubxQ@public.gmane.org">john-Da48MpWaEp0CzWx7n4ubxQ@public.gmane.org</A>
</TD>
<TD ALIGN="right">
Ph: 519-883-1172
</TD>
<TD>
 ext.5102
</TD>
</TR>
<TR>
<TD>
<A HREF="http://www.netdirect.ca">Linux Solutions / IBM Hardware</A>
</TD>
<TD ALIGN="right">
Fx: 519-883-8533
</TD>
<TD>
 
</TD>
</TR>
</TABLE>
</TD>
</TR>
</TABLE>
</BODY>
</HTML>