1. DNS lookup working but connection sais host not found
Hi all,
I just stumbled upon a weird behaviour.
I have my DNS set up correctly, and can query for the
host www.vhsed.weihenstephan.org:
bash-2.03# nslookup www.vhsed.weihenstephan.org
Server: dns0.juliet-z6.de
Address: 194.25.228.4
Non-authoritative answer:
Name: merlin.weihenstephan.org
Address: 212.72.69.138
Aliases: www.vhsed.weihenstephan.org
But when I try to connect to the thing, via Netscape, ping,
whatever I get a
bash-2.03# ping www.vhsed.weihenstephan.org
ping: unknown host: www.vhsed.weihenstephan.org
bash-2.03# traceroute www.vhsed.weihenstephan.org
traceroute: unknown host www.vhsed.weihenstephan.org
bash-2.03# telnet www.vhsed.weihenstephan.org 80
www.vhsed.weihenstephan.org: Unbekannter Rechner
bash-2.03#
Funny enough, all other hosts I tried work:
bash-2.03# telnet www.sme.de 80
Trying 212.29.0.187...
Connected to www.sme.de.
Escape character is '^]'.
Now, I have my Sun (Solaris 2.5) connected to the Linux
Box in question. Linux does masquerading, so Solaris can
use the Linux and it's dial-up connection to surf. There,
everything works as expected:
aurora% /usr/sbin/ping www.vhsed.weihenstephan.org
merlin.weihenstephan.org is alive
aurora% telnet www.vhsed.weihenstephan.org 80
Trying 212.72.69.138...
Connected to merlin.weihenstephan.org.
Escape character is '^]'.
I am no newbie on TCP/IP networking and I'm quite astonished
that I can be unable to connect to a host that is reachable
via nslookup. Some final info:
bash-2.03# cat /etc/resolv.conf
domain juliet-z6.de
nameserver 194.25.228.4
nameserver 194.25.0.125
nameserver 194.221.86.98
bash-2.03# cat /etc/host.conf
#
# /etc/host.conf
#
# Automatically generated by SuSEconfig on Sat May 2 17:10:49 MEST
1998.
#
# PLEASE DO NOT EDIT THIS FILE!
#
# Change variables (NAMESERVER + YP_SERVER) in /etc/rc.config instead.
#
#
order hosts bind
# order hosts
multi on
bash-2.03# cat /etc/nsswitch.conf
# passwd: db files nis
# shadow: db files nis
# group: db files nis
passwd: compat
group: compat
hosts: files dns
networks: files dns
services: db files
protocols: db files
rpc: db files
ethers: db files
netmasks: files
netgroup: files
bootparams: files
automount: files
aliases: files
And: no, the host is not listed in /etc/hosts. And my machine
is not in domain weihenstephan.org.
Any hints, suggestions etc are appreciated.
kind regards from Bavaria,
Tom.
Sent via Deja.com http://www.deja.com/
Before you buy.
2. FTP is not working
3. DNS: named.hosts worked for 1.2.13, but not 2.0.27
4. Help me!!!
5. 'host' command not using /etc/hosts?
6. Shoutcast SERVER on OpenBSD 3.0
7. Host command not working properly?
8. cua1: 1 input overrun(s)
9. host -l command is not working
10. Dynamic DNS not working with Solaris DHCP/DNS server and win clients
11. hosts.deny and hosts.allow not working properly for nfs exports
12. Dynamic DNS not working with Solaris DHCP/DNS server and win clients
13. My hosts.deny/hosts.allow not working