I am running redhat 8.0, with a 2.4.20 kernel. I have apache running
and host several websites. I run a deny first policy iptables
firewall. I have two nics one goes to the world the other goes to a
masqueraded internal network. I am not running dns but it seems like
a dns problem. I am experiencing some wierd networking problems.
Lets say mydomain name is mydomain.com. If I go in my mozilla an go
to a domain name that doesn't exist like "www.znasdasd.com" instead of
taking me to the this domain name does not respond I get the homepage
of mydomain.com but it says "www.znasdasd.com/index.html" in the
location bar. At the same time if i ping "www.znasdasd.com" i get
this:
#ping
www.znasdasd.com
PING
www.znasdasd.com.mydomain.com (x.x.x.x) from x.x.x.x : 56(84)
bytes of data.
64 bytes from mydomain.com (x.x.x.x): icmp_seq=1 ttl=64 time=0.151 ms
64 bytes from mydomain.com (x.x.x.x): icmp_seq=2 ttl=64 time=0.118 ms
---
www.znasdasd.com.mydomain.com ping statistics ---
2 packets transmitted, 2 received, 0% loss, time 999ms
rtt min/avg/max/mdev = 0.118/0.134/0.151/0.020 ms
Same thing happens when i traceroute. Now if i shutdown apache and go
in the browser i get connection refused from host but i get the exact
same results as earlier with the ping. Also I get the same ping
experience from my internal net???
Thanks in advance