You are not logged in.

#1 2009-12-24 22:13:14

beatbreaker
Member
Registered: 2009-07-13
Posts: 46

[Solved] DNS problems, can't ping google.com but can 66.102.11.104

ok i don't know what i've done but i think i've got a DNS problem.  see this:

$  ping google.com
ping: unknown host google.com
$  ping 66.102.11.104
PING 66.102.11.104 (66.102.11.104) 56(84) bytes of data.
64 bytes from 66.102.11.104: icmp_seq=1 ttl=55 time=14.9 ms
64 bytes from 66.102.11.104: icmp_seq=2 ttl=55 time=8.90 ms

here's my rc.conf it was working perfectly until lastnight

eth0="eth0 192.168.1.200 netmask 255.255.255.0 broadcast 192.168.1.255"
INTERFACES=(eth0)

# Routes to start at boot-up (in this order)
# Declare each route then list in ROUTES
#   - prefix an entry in ROUTES with a ! to disable it
#
gateway="default gw 192.168.1.1"
ROUTES=(gateway)

and this might be helpful too:

$  route -v
Kernel IP routing table
Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
192.168.1.0     *               255.255.255.0   U     0      0        0 eth0
192.168.136.0   *               255.255.255.0   U     0      0        0 vmnet1
172.16.74.0     *               255.255.255.0   U     0      0        0 vmnet8
default         router          0.0.0.0         UG    0      0        0 eth0

Merry Christmas by the way!

Big thanks for the help

Last edited by beatbreaker (2009-12-24 22:39:08)

Offline

#2 2009-12-24 22:20:23

Mr.Elendig
#archlinux@freenode channel op
From: The intertubes
Registered: 2004-11-07
Posts: 4,092

Re: [Solved] DNS problems, can't ping google.com but can 66.102.11.104

As I said on irc, you forgot to add your dns server to /etc/resolv.conf


Evil #archlinux@libera.chat channel op and general support dude.
. files on github, Screenshots, Random pics and the rest

Offline

#3 2009-12-24 22:20:57

JuseBox
Member
Registered: 2009-11-27
Posts: 260

Re: [Solved] DNS problems, can't ping google.com but can 66.102.11.104

I support that!

Last edited by JuseBox (2009-12-24 22:21:40)


Linux ArchLinux 3.2.8-1-ARCH
#1 SMP PREEMPT Mon Feb 27 21:51:46 CET 2012 x86_64 AMD FX(tm)-8120 Eight-Core Processor AuthenticAMD GNU/Linux
8192MB DDR3 1300MHz | Asus m5a97 | GeForce GTX 550 Ti | 120 GB SSD

Offline

#4 2009-12-24 22:25:31

Nezmer
Member
Registered: 2008-10-24
Posts: 559
Website

Re: [Solved] DNS problems, can't ping google.com but can 66.102.11.104

What do you have in "/etc/resolv.conf"?
If you're not using dhcp, you might want to add this manually to the file:

nameserver 192.168.1.1

Otherwise, you can temporarily or permanently use openDNS. touch "/etc/resolv.conf.head" and add this:

# OpenDNS nameservers
nameserver 208.67.222.222
nameserver 208.67.220.220

English is not my native language .

Offline

#5 2009-12-24 22:35:57

beatbreaker
Member
Registered: 2009-07-13
Posts: 46

Re: [Solved] DNS problems, can't ping google.com but can 66.102.11.104

as posted above in my rc.conf i'm not using dhcp, ie:

eth0="eth0 192.168.1.200 netmask 255.255.255.0 broadcast 192.168.1.255"

so this entry into my /etc/resolv.conf worked:

nameserver 192.168.1.1

thank you and happy/safe holidays!

Offline

Board footer

Powered by FluxBB