Host how to
John Van Ostrand
john-Da48MpWaEp0CzWx7n4ubxQ at public.gmane.org
Mon Jun 5 14:23:11 UTC 2006
On Mon, 2006-06-05 at 17:05 +0300, Kihara Muriithi wrote:
> Hi again
> 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
>
> # host tlug.ss.org
> ;; connection timed out; no servers could be reached
> ]# host waltdnes.org
> ;; connection timed out; no servers could be reached
> # host MailScanner warning: numerical links are often
> malicious:192.234.254.38
> ;; connection timed out; no servers could be reached
>
> 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.
> 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.
> 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
That usually means that your /etc/resolv.conf has improper "nameserver"
addresses.
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.
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.
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:
host tlug.ss.org 216.16.235.2
If that works then check your resolv.conf.
--
John Van Ostrand
Net Direct Inc.
Chief Technology Officer
564 Weber St. N. Unit 12
Waterloo, ON N2L 5C6
map
john-Da48MpWaEp0CzWx7n4ubxQ at public.gmane.org
Ph: 519-883-1172
ext.5102
Linux Solutions / IBM
Hardware
Fx: 519-883-8533
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://gtalug.org/pipermail/legacy/attachments/20060605/5a5404d4/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
URL: <http://gtalug.org/pipermail/legacy/attachments/20060605/5a5404d4/attachment.sig>
More information about the Legacy
mailing list