dip and 'Host name lookup Failure'

dip and 'Host name lookup Failure'

Post by Kirby Bakke » Fri, 06 Sep 1996 04:00:00



I'm running 3.03 Redhat linux, and when i key in 'dip -t' (or any kind
of dip incantation) I get a 'Host name lookup failure'.  Anyone have an
idea on what I've done wrong?

Thanks!
--


GTP/MVP Design & Support
GCJ/050-3  Rochester,  MN
Tie 553-4549   Phone (507) 253-4549

 
 
 

dip and 'Host name lookup Failure'

Post by William McCart » Fri, 06 Sep 1996 04:00:00



>I'm running 3.03 Redhat linux, and when i key in 'dip -t' (or any kind
>of dip incantation) I get a 'Host name lookup failure'.  Anyone have an
>idea on what I've done wrong?

>Thanks!
>--


>GTP/MVP Design & Support
>GCJ/050-3  Rochester,  MN
>Tie 553-4549   Phone (507) 253-4549

Just a thought: do you have /etc/hosts and hostname setup for your
machine? Also, do you have /etc/resolv.conf set with a nameserver from
your ISP? That's about all I can think of.

______________________

||___INU\/            |
|____|  /\___________ |

 
 
 

dip and 'Host name lookup Failure'

Post by Ben Cantrick (alias Macky Stingr » Fri, 06 Sep 1996 04:00:00




Quote:>I'm running 3.03 Redhat linux, and when i key in 'dip -t' (or any kind
>of dip incantation) I get a 'Host name lookup failure'.  Anyone have an
>idea on what I've done wrong?

  (When I say 'mymachinename' I mean the name given to you by typing
"uname -n".)

  Make sure the line:

        order hosts,bind

  is in your /etc/host.conf, and the line

        <Your IP address>        mymachinename.whatever.com mymachinename

  is in your /etc/hosts file.

  Dip should have no troubles with looking up your hostname after that.

  If you're on a dynamic SLIP line and don't know your IP address
beforehand... um... run and hide, I guess. One way around the problem
might to be to change the line in /etc/hosts that looks like:

        127.0.0.1       localhost

  to read:

        127.0.0.1       localhost mymachinename

  Then when DIP looks up the address of "mymachine," it'll get back
"127.0.0.1" and go along on it's merry way. I'm not sure DIP really
cares what result it gets back. But it surely will fall over and die
if it gets no result back. So you just kind of fool DIP by giving it
a "dummy" value when it asks.

  This might be a workable kludge; however, it may cause unforseen problems,
too. I'm not entirely sure. It does work for me. Try it. If it works for you
also, then great. If not, you might want to look into setting up a small,
cache-only nameserver. It's kind of a pain, and perhaps a bit overkill, but
it seems to cure just about any woes you might be having with hostname lookup
failures.

          -Ben
--
     "BGC: Because some of us believe women over 14 are still *."
=---------     http://www.veryComputer.com/~cantrick/home.html     -------------=
*Ben Cantrick, diehard BGC otaku and Priss fan.  ---> THE BGC DUBS SUCK! <---*
*Mac? Ha. "When I want to spend 50% of my time fighting an OS, I'll use VMS."*

 
 
 

1. DIP 'Host name lookup failure'.

I have just recently trying DIP on my Linuxbox. Suddenly I get this
frustrating message when I try to fire up DIP. 'Host name lookup
failure'. I have checked /etc/hosts, /etc/resolv.conf, /etc/host.conf
about 4hundred times and I can't see anything wrong in them. Can anyone
give me a hint?

Roger Jansson

2. Can't mke2fs or format SCSI HD

3. dip says 'Host name lookup failure' ???

4. Need help with Maxtor 40H IDE drive

5. dip -t error 'host name look up failure'

6. Read newsgroup by tin command?

7. dip -t gives "linux: Host name lookup failure".

8. SB PCI128? Soundblaster with slack ;)

9. HELP! DIP says: Host name Lookup failure

10. dip fails: "host name lookup failure"

11. Dip: {host name} Lookup Failure

12. Dip (for SLIP) says "Host name lookup failure"

13. dip fails with host name lookup failure