1 |
You should have your own IP address listed in your /etc/hosts file. For DHCP |
2 |
addresses, there's a post on forums.gentoo.org about it, but it appears to be |
3 |
down again. If I remember after forums comes back up, I'll send along the |
4 |
appropriate text (along with a link to the post - it's from the thread related |
5 |
to a "sticky" at the top of one of the forums). |
6 |
|
7 |
Basically, your resolver is either ignoring /etc/hosts (if you DO have the entry |
8 |
for your address there) or, failing to find your IP address in /etc/hosts it's |
9 |
trying to resolve the mnemonic for that IP address (which is, of course, |
10 |
impossible for 192.168.*.* addresses). |
11 |
|
12 |
You can avoid the problem in the meantime by using the options that turn off |
13 |
name resolution (often a "-n" switch - "route -n"). |
14 |
|
15 |
Also, "host <any martian address (192.168..., 10..., etc.)>" will generally fail |
16 |
in some way or another. |
17 |
|
18 |
One final possibility is that your ISP's name servers resolve all |
19 |
martian/private addresses to "ThisAddressDoesNotExist" just for giggles. ;) |
20 |
|
21 |
Mickey |
22 |
|
23 |
On 06.08.2002 at 13:28:36, Peter Ruskin <aoyu93@×××××××××.com> wrote: |
24 |
> I can't figure out why `route` and `host` list "ThisAddressDoesNotExist" |
25 |
> instead of the ip address. Can anyone help? |
26 |
> |
27 |
> My default route to the internet is ppp0 using Alcatel USB modem. I have |
28 |
> an ethernet card that connects to one other local machine. |
29 |
> |
30 |
> ppp0 works OK. I can see the other machine using samba over eth0 but I |
31 |
> can't understand the "ThisAddressDoes" in the route table - I guess |
32 |
> that's followed by "does not exist". With the same setup on Mandrake, |
33 |
> route shows 192.168.1.0 and also lists: |
34 |
> 127.0.0.0 * 255.0.0.0 U 0 0 0 lo |
35 |
> |
36 |
> [16:01 root@penguin: ~] |
37 |
> # route |
38 |
> Kernel IP routing table |
39 |
> Destination Gateway Genmask Flags Metric Ref Use Iface |
40 |
> 81-86-192-1.dsl * 255.255.255.255 UH 0 0 0 ppp0 |
41 |
> ThisAddressDoes * 255.255.255.0 U 0 0 0 eth0 |
42 |
> default 81-86-192-1.dsl 0.0.0.0 UG 0 0 0 ppp0 |
43 |
> |
44 |
> [16:02 root@penguin: ~] |
45 |
> # netstat -in |
46 |
> Kernel Interface table |
47 |
> Iface MTU Met RX-OK RX-ERR RX-DRP RX-OVR TX-OK TX-ERR TX-DRP TX-OVR Flg |
48 |
> eth0 1500 0 18 0 0 0 1142 0 0 0 BMRU |
49 |
> lo 16436 0 594 0 0 0 594 0 0 0 LRU |
50 |
> ppp0 1500 0 50779 0 0 0 47419 0 0 0 MOPRU |
51 |
> |
52 |
> [16:04 root@penguin: ~] |
53 |
> # host penguin.ruskin |
54 |
> Host penguin.ruskin not found: 3(NXDOMAIN) |
55 |
> |
56 |
> [16:04 root@penguin: ~] |
57 |
> # host 192.168.1.6 |
58 |
> 6.1.168.192.in-addr.arpa domain name pointer ThisAddressDoesNotExist. |
59 |
> |