[SATLUG] help with name resolutions

Jon Mark Allen jm at allensonthe.net
Thu Nov 18 11:39:18 CST 2010


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 */


More information about the SATLUG mailing list