Gentoo Archives: gentoo-dev

From: Peter Ruskin <aoyu93@×××××××××.com>
To: gentoo-dev@g.o
Subject: Re: [gentoo-dev] ThisAddressDoesNotExist
Date: Tue, 06 Aug 2002 14:56:39
Message-Id: 200208061956.36118.aoyu93@dsl.pipex.com
In Reply to: Re: [gentoo-dev] ThisAddressDoesNotExist by Mickey Mullin
1 Thanks Mickey, I feel better about it now. Networking is not my strong
2 point and I think I have the same setup as when I'm running Mandrake,
3 which doesn't behave this way. Yes, `name -n` does produce a sensible
4 output.
5
6 On Tuesday 06 Aug 2002 19:48, Mickey Mullin wrote:
7 > You should have your own IP address listed in your /etc/hosts file.
8 > For DHCP addresses, there's a post on forums.gentoo.org about it, but
9 > it appears to be down again. If I remember after forums comes back up,
10 > I'll send along the appropriate text (along with a link to the post -
11 > it's from the thread related to a "sticky" at the top of one of the
12 > forums).
13 >
14 > Basically, your resolver is either ignoring /etc/hosts (if you DO have
15 > the entry for your address there) or, failing to find your IP address
16 > in /etc/hosts it's trying to resolve the mnemonic for that IP address
17 > (which is, of course, impossible for 192.168.*.* addresses).
18 >
19 > You can avoid the problem in the meantime by using the options that
20 > turn off name resolution (often a "-n" switch - "route -n").
21 >
22 > Also, "host <any martian address (192.168..., 10..., etc.)>" will
23 > generally fail in some way or another.
24 >
25 > One final possibility is that your ISP's name servers resolve all
26 > martian/private addresses to "ThisAddressDoesNotExist" just for
27 > giggles. ;)
28 >
29 > Mickey
30 >
31 > On 06.08.2002 at 13:28:36, Peter Ruskin <aoyu93@×××××××××.com> wrote:
32 > > I can't figure out why `route` and `host` list
33 > > "ThisAddressDoesNotExist" instead of the ip address. Can anyone
34 > > help?
35 > >
36 > > My default route to the internet is ppp0 using Alcatel USB modem. I
37 > > have an ethernet card that connects to one other local machine.
38 > >
39 > > ppp0 works OK. I can see the other machine using samba over eth0 but
40 > > I can't understand the "ThisAddressDoes" in the route table - I guess
41 > > that's followed by "does not exist". With the same setup on
42 > > Mandrake, route shows 192.168.1.0 and also lists:
43 > > 127.0.0.0 * 255.0.0.0 U 0 0 0
44 > > lo
45 > >
46 > > [16:01 root@penguin: ~]
47 > > # route
48 > > Kernel IP routing table
49 > > Destination Gateway Genmask Flags Metric Ref Use
50 > > Iface 81-86-192-1.dsl * 255.255.255.255 UH 0 0
51 > > 0 ppp0 ThisAddressDoes * 255.255.255.0 U 0 0
52 > > 0 eth0 default 81-86-192-1.dsl 0.0.0.0 UG 0
53 > > 0 0 ppp0
54 > >
55 > > [16:02 root@penguin: ~]
56 > > # netstat -in
57 > > Kernel Interface table
58 > > Iface MTU Met RX-OK RX-ERR RX-DRP RX-OVR TX-OK TX-ERR TX-DRP TX-OVR
59 > > Flg eth0 1500 0 18 0 0 0 1142 0 0
60 > > 0 BMRU lo 16436 0 594 0 0 0 594 0 0
61 > > 0 LRU ppp0 1500 0 50779 0 0 0 47419 0
62 > > 0 0 MOPRU
63 > >
64 > > [16:04 root@penguin: ~]
65 > > # host penguin.ruskin
66 > > Host penguin.ruskin not found: 3(NXDOMAIN)
67 > >
68 > > [16:04 root@penguin: ~]
69 > > # host 192.168.1.6
70 > > 6.1.168.192.in-addr.arpa domain name pointer ThisAddressDoesNotExist.
71
72 --
73 Gentoo Linux (portage-2.0.25). KDE: 3.0.2 Qt: 3.0.5.
74 AMD Athlon(tm) XP 1600+ 513MB. Kernel: 2.4.19-win4lin
75 Linux user #275590 (http://counter.li.org/). up 6:26.
76 #=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=#