[SATLUG] help with name resolutions

r3d91ll r3d91ll at grandecom.net
Thu Nov 18 12:08:23 CST 2010


thanks again for the tip. I fixed it.  my default route was set up to go
to eth1 a simple ip route del default via 10.0.10.1 && route add default
gw publicIPaddress worked.

Todd

On Thu, 2010-11-18 at 11:44 -0600, r3d91ll wrote: 
> # route -v -n
> Kernel IP routing table
> Destination     Gateway       Genmask         Flags Metric Ref Use Iface
> ExternalNetworkID 0.0.0.0     255.255.255.248   U     0      0  0   eth0
> 10.0.0.0        0.0.0.0       255.255.224.0     U     0      0  0   eth1
> 0.0.0.0         10.0.10.1       0.0.0.0         UG    0      0  0   eth1
> 
> thanks
> 
> 
> On Thu, 2010-11-18 at 11:39 -0600, Jon Mark Allen wrote: 
> > What does your routing table look like?
> > 
> > route -v -n
> > 
> > 
> > 
> > On Thu, Nov 18, 2010 at 11:36, r3d91ll <r3d91ll at grandecom.net> wrote:
> > > got a strange one.  I have a public facing webserver that can ping an IP
> > > address (example 8.8.8.8 - google's DNS server) but cannot ping either
> > > localhost or by Domain name (i.e. google.com).  this server is a Debian
> > > Lenny with two nic cards (one internal one external) and currently has
> > > no firewall.  Just to be clear this happens both when I do a ping
> > > google.com my system hangs until eventually I get a unknown host error.
> > > if I do ping 8.8.8.8 i get lost packets.  If I do a ping -I eth0 8.8.8.8
> > > I get a good ping and when I do a ping -I eth0 google.com the system
> > > hangs until eventually I get a unknown host error.
> > >
> > > here is my /etc/resolv.conf:
> > > domain someip.com //edited out
> > > search someip.com //edited out
> > > nameserver 8.8.8.8
> > > nameserver 8.8.4.4
> > >
> > > here is my /etc/hosts
> > > 127.0.0.1       localhost
> > > 127.0.0.1       webportal.someip.com         webportal
> > > ###.###.###.###   webportal.someip.com         webportal
> > > 10.0.10.15      webportal.someip.com         webportal
> > > 10.0.10.14      DB.someip.com       DB
> > > # The following lines are desirable for IPv6 capable hosts
> > > ::1     localhost ip6-localhost ip6-loopback
> > > fe00::0 ip6-localnet
> > > ff00::0 ip6-mcastprefix
> > > ff02::1 ip6-allnodes
> > > ff02::2 ip6-allrouters
> > > ff02::3 ip6-allhosts
> > >
> > > output from iptables -L
> > >
> > > Chain INPUT (policy ACCEPT)
> > > target     prot opt source               destination
> > >
> > > Chain FORWARD (policy ACCEPT)
> > > target     prot opt source               destination
> > >
> > > Chain OUTPUT (policy ACCEPT)
> > > target     prot opt source               destination
> > >
> > > obviously public IPs and domain names have been edited out.
> > >
> > > any help or hints will be greatly appreciated
> > >
> > > Todd
> > > --
> > > The information contained within the referenced, linked, or directed
> > > email communication is intended to be a confidential communication
> > > between the original sender and recipient, and is to be treated as
> > > confidential. If you believe you have received this or any other email
> > > in error, please contact r3d91ll at grandecom.net.
> > >
> > > --
> > > _______________________________________________
> > > SATLUG mailing list
> > > SATLUG at satlug.org
> > > http://alamo.satlug.org/mailman/listinfo/satlug to manage/unsubscribe
> > > Powered by Rackspace (www.rackspace.com)
> > >
> > 
> > 
> > 
> > -- 
> > JM
> > 
> > /* If you haven't found something strange during the day, it hasn't
> > been much of a day.
> > -- John A. Wheeler */
> 
> -- 
> The information contained within the referenced, linked, or directed
> email communication is intended to be a confidential communication
> between the original sender and recipient, and is to be treated as
> confidential. If you believe you have received this or any other email
> in error, please contact r3d91ll at grandecom.net.
> 

-- 
The information contained within the referenced, linked, or directed
email communication is intended to be a confidential communication
between the original sender and recipient, and is to be treated as
confidential. If you believe you have received this or any other email
in error, please contact r3d91ll at grandecom.net.



More information about the SATLUG mailing list