Re: networking/dns all screwed up ?

From: wex (epicwinter_at_hotmail.com)
Date: 12/22/03

  • Next message: Vincent Fox: "Re: tightvnc & ssh"
    Date: 21 Dec 2003 23:09:44 -0800
    
    

    Well I do have both a *.mydomain.com and domain mydomain.com. In the
    past I thought I had the same set up but maybe not. So could you
    explain why this happens and more importantly the solution is to
    remove one or the other? What are the advantages/disadvantages to the
    removal options?
    thanks

    efflandt@xnet.com (David Efflandt) wrote in message news:<slrnbubooa.2is.efflandt@typhoon.xnet.com>...
    > On 21 Dec 2003 00:47:17 -0800, wex <epicwinter@hotmail.com> wrote:
    > > 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???
    >
    > Sounds like you have a wildcard *.mydomain.com for your domain and 'domain
    > mydomain.com' or 'search mydomain.com' in /etc/resolv.conf. Therefore,
    > anything.at.all will resolve to anything.at.all.mydomain.com (you).
    >
    > I have dynamic DNS with a wildcard like that, but I do NOT list that name
    > in /etc/resolv.conf, and therefore, do not have that problem.


  • Next message: Vincent Fox: "Re: tightvnc & ssh"

    Relevant Pages

    • Re: ping works, browser does not
      ... >> All computers can ping each other and can share files and printers over ... > as a DNS name server for your internal LAN? ... I still don't believe this to be a DNS problem. ...
      (alt.os.linux.redhat)
    • Re: Cannot resolve our ISP Web page. Please help
      ... we no longer open our ISP home page. ... I added primary and secondary IP provided by ISP to forwarder on DNS ... DNS problem. ... Can you ping the site with a non-fragmented packet of 1472 bytes? ...
      (microsoft.public.windows.server.dns)
    • Client and DNS problem
      ... I have a new Windows XP computer that I am adding to the network and it ... DNS problem. ... but I am unable to ping by the DNS record name. ...
      (microsoft.public.windows.server.dns)
    • Re: Strange DNS problem
      ... >indicates a DNS problem. ... >I ran IPCONFIG /ALL to get the IP address of the DNS ... I can ping both DNS servers IP address. ... >yahoo.com" to the hosts file but ping still reports could ...
      (microsoft.public.windowsxp.network_web)
    • Re: Please help a DNS dummie!
      ... > I know just enough about DNS to make me dangerous, ... DNS server for their DNS Server CLIENT side ... but suddenly I began experiencing what appeared to be ... Ping and the Web browser use EXACTLY the ...
      (microsoft.public.windows.server.dns)