LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 01-19-2009, 09:04 PM   #1
DropSig
Member
 
Registered: Apr 2004
Location: Saskatchewan
Distribution: Ubuntu, Centos
Posts: 208

Rep: Reputation: 30
Question ping www.google.ca fine, www.google.com NOT!!!!


note: when i say ping in this post it also mean i cant access it in firefox or any other web browser

ok im not a network genius, i know basis (router, ip, mac, dns)
i live in a small town in canada,
i can allways ping and access www.google.ca
but .com rarely
ping return unknown host
if id only do search i would not mind,
but mail, apps, map, .... all pass through .com
right now i use tor to get through and it works, but its really long.
i think that it has to do with my dns (could be wrong)
service is good,(considering where i live) there is just this problem

i search a bit around,
my first taught was to give direct ip in /etc/hosts, but google.com seems to be dynamic( or some like it, not a network genius... lol)
when i realized that i cant use wildcard in /etc/hosts, the ides became obsolete.

then i taught that maybe i could do a local dns for my laptop, just for google.com domain area,
from what ive seen, the answer is simply NO...
i tried opendns (i dont like it, too often it does not find what i want)

following is some output of nslookup i did:

nslookup:
Code:
:~$ nslookup www.google.com
;; Truncated, retrying in TCP mode.
;; Connection to 192.168.2.1#53(192.168.2.1) for www.google.com failed: connection refused.
my router is ....2.1, but the firewall is disabled..... ??????

Code:
:~$ nslookup google.com
Server:         192.168.2.1
Address:        192.168.2.1#53

Non-authoritative answer:
Name:   google.com
Address: 209.85.171.100
Name:   google.com
Address: 72.14.205.100
Name:   google.com
Address: 74.125.45.100
but ping www.google.com still no go,
ping google.com ok ... ????

Code:
:~$ nslookup www.google.ca
Server:         192.168.2.1
Address:        192.168.2.1#53

Non-authoritative answer:
www.google.ca   canonical name = www.google.com.
www.google.com  canonical name = www.l.google.com.
Name:   www.l.google.com
Address: 72.14.205.99
Name:   www.l.google.com
Address: 72.14.205.104
Name:   www.l.google.com
Address: 72.14.205.147
Name:   www.l.google.com
Address: 72.14.205.103
google.com is there??? (at least www.l.google.com)

ping www.l.google.com works
ping google.com too
ping www.google.com NOT

I have a second distro installed (LFS), same problem

i have xp on virtual,
i cant ping from my vm, but when i browse to www.google.com, i get to google.ca (that fine, on linux i get nowhere)
also in vm http://www.google.com/a/ works (google app)
on linux not...
thats all the information i know and taught could be usefull for that matter.
hope someone can help
Thanks for your time

NOTE by the time i wrote this post, i can ping www.google.com and acces app mail ....
but i KNOW its a matter of minute before i cant.
just for the record:

Code:
ping www.google.com
PING www.l.google.com (72.14.205.103) 56(84) bytes of data.
64 bytes from qb-in-f103.google.com (72.14.205.103): icmp_seq=1 ttl=242 time=54.7 ms
64 bytes from qb-in-f103.google.com (72.14.205.103): icmp_seq=2 ttl=242 time=94.5 ms
lol, like i said, its allready gone, did not even have time to do a nslookup on it...

Last edited by DropSig; 01-19-2009 at 09:06 PM. Reason: spelling mistake (router, not route, i dont know much about route)
 
Old 01-19-2009, 10:29 PM   #2
DropSig
Member
 
Registered: Apr 2004
Location: Saskatchewan
Distribution: Ubuntu, Centos
Posts: 208

Original Poster
Rep: Reputation: 30
Lightbulb I think i fixed it!!! :D

I think i foudn the solution:
i new that my router would find the dns itself.
my resolv.conf pointer to 192.168.2.1
i knew i could change the router dns configuration to some other, but i just left it deal with it, beucause when i tryed opendns, it did not go so well.

i dont know why i did not think of this before, feel kinda dumb...
i added the opendns dns ip to resolv.conf,
left 192.168.2.1 there.
found the ip of my isp dns and added it there two

all seem to work fine!


but im still curius about this part:
Quote:
:~$ nslookup www.google.com
;; Truncated, retrying in TCP mode.
;; Connection to 192.168.2.1#53(192.168.2.1) for www.google.com failed: connection refused.
why was the connection refuse???
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
FC6 ping on terminal works with www.google.com, not with http://www.google.com pxumsgdxpcvjm Linux - Networking 4 12-27-2006 03:36 PM
ping from xp to www.google.com gideonho Linux - Networking 4 07-26-2006 03:59 AM
ping: unknown host www.google.com juanjavier_xxx Debian 8 01-02-2006 01:47 PM
difference between www.google.com/linux and www.google.com dr_zayus69 General 4 01-12-2005 02:45 PM
Still can't ping www.google.com Wyk3d Linux - Networking 1 11-07-2004 01:17 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 10:37 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration