www.google.com - problem sa DNS i traceroute

Hardware, software, mobiteli, programiranje, internet...

Moderator: Bobi

Post Reply
michal
Posts: 205
Joined: 07/04/2011 19:10
Location: Čeh sam, oprostite ako mi gramatika ne valja.

www.google.com - problem sa DNS i traceroute

Post by michal » 09/02/2012 22:35

Zdravo, imam sljedeći problem: ne mogu se priključiti na http://www.google.com i (preko drugih stranica) apis.google.com iako konekcija prema svim ostalim stranicama radi normalno.
Detalje:

Code: Select all

# ping www.google.com
PING www.l.google.com (74.125.230.209) 56(84) bytes of data.
64 bytes from ******************.*****.*** (**.***.***.***): icmp_req=1 ttl=51 time=61.3 ms
64 bytes from ******************.*****.*** (**.***.***.***): icmp_req=2 ttl=51 time=59.4 ms
^C
--- www.l.google.com ping statistics ---
2 packets transmitted, 2 received, 0% packet loss, time 1000ms
rtt min/avg/max/mdev = 59.439/60.394/61.349/0.955 ms
#

Code: Select all

# host -v www.google.com
Trying "www.google.com"
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 31011
;; flags: qr rd ra; QUERY: 1, ANSWER: 7, AUTHORITY: 0, ADDITIONAL: 0

;; QUESTION SECTION:
;www.google.com.			IN	A

;; ANSWER SECTION:
www.google.com.		604620	IN	CNAME	www.l.google.com.
www.l.google.com.	84	IN	A	173.194.69.105
www.l.google.com.	84	IN	A	173.194.69.104
www.l.google.com.	84	IN	A	173.194.69.106
www.l.google.com.	84	IN	A	173.194.69.103
www.l.google.com.	84	IN	A	173.194.69.99
www.l.google.com.	84	IN	A	173.194.69.147

Received 148 bytes from 80.65.162.101#53 in 11 ms
Trying "www.l.google.com"
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 5896
;; flags: qr rd ra; QUERY: 1, ANSWER: 0, AUTHORITY: 0, ADDITIONAL: 0

;; QUESTION SECTION:
;www.l.google.com.		IN	AAAA

Received 34 bytes from 80.65.162.101#53 in 15 ms
Trying "www.l.google.com"
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 54753
;; flags: qr rd ra; QUERY: 1, ANSWER: 0, AUTHORITY: 0, ADDITIONAL: 0

;; QUESTION SECTION:
;www.l.google.com.		IN	MX

Received 34 bytes from 80.65.162.101#53 in 14 ms
#
Međutim, kad u browseru napišem http://www.google.com, konekcija timeoutira, ali kad napišem http://173.194.69.105, stranica se otvori normalno (iako za malo duže vremena nego što bi bilo pristojno).


Prilikom pokušaja dijagnostike gore navedenog sam primjetio drugi problem:

Code: Select all

# traceroute www.google.com
traceroute to www.google.com (173.194.69.106), 30 hops max, 60 byte packets
 1  * * *
 2  * * *
 3  * * *
 4  * * *
 5  * * *
 6  * * *
 7  * * *
 8  * * *
 9  * * *
10  * * *
11  * * *
12  * * *
13  * * *
14  * * *
15  * * *
16  * * *
17  * * *
18  * * *
19  * * *
20  * * *
21  * * *
22  * * *
23  * * *
24  * * *
25  * * *
26  * * *
27  * * *
28  * * *
29  * * *
30  * * *
#
(Isto je kod bilo koje druge stranice/mašine, čak i kod 192.168.1.1 (router)) Volio bih da mi traceroute radi (iako nisam baš siguran koliko bi mi pomogao u ovom slučaju), ali nemam pojma kako to postići - na drugoj mašini u drugom dijelu grada radi skroz normalno iako imaju obje mašine isto podešene iptables i firewall na routeru. (Na mašinu o kojoj se ovdje radi sam priključen preko ssh-a.)
Ima li neko neku ideju, molim lijepo?


User avatar
TAFKAP
Posts: 10000
Joined: 30/09/2011 07:49

Re: www.google.com - problem sa DNS i traceroute

Post by TAFKAP » 09/02/2012 22:56

Probaj da otvoris ovu stranicu:

http://www.dns-ok.de/

Ova (njemacka) stranica provjerava da li je PC zarazen sa trojancem DNSChanger koji mijenja DNS i komunikaciju vodi preko servera koji su bili u ruci hakera i trenutno su pod kontrolom FBIa.

http://www.fbi.gov/news/stories/2011/no ... are_110911

Moze bit da je to, a ne mora.

michal
Posts: 205
Joined: 07/04/2011 19:10
Location: Čeh sam, oprostite ako mi gramatika ne valja.

Re: www.google.com - problem sa DNS i traceroute

Post by michal » 09/02/2012 23:26

Obje stranice bez problema.

User avatar
davorf
Posts: 11086
Joined: 15/02/2008 15:53
Location: lost in thought and lost in time while the seeds of life and the seeds of change were planted...

Re: www.google.com - problem sa DNS i traceroute

Post by davorf » 09/02/2012 23:40

Koji je provider na tom racunaru na kojem ne radi tracert? Ako je HS, oni blokiraju i tracert i ping, tako da bi to mogao biti razlog zasto tracert ne radi. :roll:

michal
Posts: 205
Joined: 07/04/2011 19:10
Location: Čeh sam, oprostite ako mi gramatika ne valja.

Re: www.google.com - problem sa DNS i traceroute

Post by michal » 09/02/2012 23:50

davorf wrote:Koji je provider na tom racunaru na kojem ne radi tracert? Ako je HS, oni blokiraju i tracert i ping, tako da bi to mogao biti razlog zasto tracert ne radi. :roll:
Provider je Europronet. (I nije tracert nego traceroute(8).)

User avatar
gentoo
System
Posts: 1480
Joined: 05/01/2008 12:10
Location: Ze
Has thanked: 4 times
Been thanked: 10 times
Contact:

Re: www.google.com - problem sa DNS i traceroute

Post by gentoo » 10/02/2012 08:34

route -n ?

iptables -L ?

michal
Posts: 205
Joined: 07/04/2011 19:10
Location: Čeh sam, oprostite ako mi gramatika ne valja.

Re: www.google.com - problem sa DNS i traceroute

Post by michal » 10/02/2012 10:44

Code: Select all

# 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         
#

Code: Select all

# route -n
Kernel IP routing table
Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
0.0.0.0         192.168.1.1     0.0.0.0         UG    0      0        0 wlan0
192.168.1.0     0.0.0.0         255.255.255.0   U     2      0        0 wlan0
#

User avatar
gentoo
System
Posts: 1480
Joined: 05/01/2008 12:10
Location: Ze
Has thanked: 4 times
Been thanked: 10 times
Contact:

Re: www.google.com - problem sa DNS i traceroute

Post by gentoo » 10/02/2012 11:02

A jel ti se to desava sa host masine ili je isto kad to uradis i sa ovog 192.168.1.1 ?

michal
Posts: 205
Joined: 07/04/2011 19:10
Location: Čeh sam, oprostite ako mi gramatika ne valja.

Re: www.google.com - problem sa DNS i traceroute

Post by michal » 10/02/2012 15:47

Sve sam probao samo sa same mašine - 192.168.1.1 je router i koliko znam ssh direktno do njega nije moguć.

User avatar
gentoo
System
Posts: 1480
Joined: 05/01/2008 12:10
Location: Ze
Has thanked: 4 times
Been thanked: 10 times
Contact:

Re: www.google.com - problem sa DNS i traceroute

Post by gentoo » 10/02/2012 16:03

Pa kakav je router (ja sam mislio da je taj *nix router) ? Svaki router ima ping/traceroute na sebi. Udji u opcije i probaj sa njega..

michal
Posts: 205
Joined: 07/04/2011 19:10
Location: Čeh sam, oprostite ako mi gramatika ne valja.

Re: www.google.com - problem sa DNS i traceroute

Post by michal » 10/02/2012 22:52

Ovo je s routera:

Code: Select all

Tracing route to www.google.com [173.194.69.105] over a maximum of 20 hops

 1 16ms    1ms    1ms    217.199.137.111
 2    1ms    1ms    1ms    217.199.128.197
 3    1ms    1ms    1ms    81.93.72.117
 4 32ms 32ms 32ms    213.248.91.9
 5 32ms 32ms 32ms    80.91.246.224
 6 32ms 32ms 32ms    80.91.251.52
 7 32ms 32ms 32ms    213.248.89.42
 8 32ms 32ms 32ms    72.14.238.96
 9 64ms 64ms 32ms    72.14.239.60
10 32ms 32ms 48ms    209.85.242.187
11 48ms 64ms 48ms    209.85.240.88
12 32ms 32ms 48ms    216.239.48.53
13    *      *      *      Request timed out.
14 48ms 48ms 48ms    173.194.69.105

Trace complete.

AmoK
Posts: 443
Joined: 16/02/2006 22:38

Re: www.google.com - problem sa DNS i traceroute

Post by AmoK » 11/02/2012 09:31

Pa podesi na ruteru ili na toj masini google-ove dns-ove: primary 8.8.8.8 i secondary 8.8.4.4

User avatar
gentoo
System
Posts: 1480
Joined: 05/01/2008 12:10
Location: Ze
Has thanked: 4 times
Been thanked: 10 times
Contact:

Re: www.google.com - problem sa DNS i traceroute

Post by gentoo » 11/02/2012 12:02

Eto sad znas gdje je problem.. go on.. :D

michal
Posts: 205
Joined: 07/04/2011 19:10
Location: Čeh sam, oprostite ako mi gramatika ne valja.

Re: www.google.com - problem sa DNS i traceroute

Post by michal » 13/02/2012 12:33

Hvala, nakon podešenja DNSova za google kako je rekao @AmoK sve radilo ok oko 1 dan, a sada opet isti problem. Nakon restarta mašine google radi nekoliko sati i onda opet prestane.

AmoK
Posts: 443
Joined: 16/02/2006 22:38

Re: www.google.com - problem sa DNS i traceroute

Post by AmoK » 15/02/2012 09:29

michal wrote:Hvala, nakon podešenja DNSova za google kako je rekao @AmoK sve radilo ok oko 1 dan, a sada opet isti problem. Nakon restarta mašine google radi nekoliko sati i onda opet prestane.
Koji distribuciju imas.. da vidimo da nije neki bug u njoj ?

i daj ovdje sadrzaj /etc/resolv.conf fajla.

michal
Posts: 205
Joined: 07/04/2011 19:10
Location: Čeh sam, oprostite ako mi gramatika ne valja.

Re: www.google.com - problem sa DNS i traceroute

Post by michal » 15/02/2012 13:32

Fedora 16. Isključio sam SELinux, upravo zbog toga što sam slučajno naletio na neke bugreporte koji su izgledali da mogu imati nešto zajedničko sa SELinuxom i problemima ove vrste.

Code: Select all

# cat /etc/resolv.conf
# Generated by NetworkManager
nameserver 8.8.8.8
nameserver 8.8.4.4
#

AmoK
Posts: 443
Joined: 16/02/2006 22:38

Re: www.google.com - problem sa DNS i traceroute

Post by AmoK » 15/02/2012 16:30

michal wrote:Fedora 16. Isključio sam SELinux, upravo zbog toga što sam slučajno naletio na neke bugreporte koji su izgledali da mogu imati nešto zajedničko sa SELinuxom i problemima ove vrste.

Code: Select all

# cat /etc/resolv.conf
# Generated by NetworkManager
nameserver 8.8.8.8
nameserver 8.8.4.4
#
http://www.google.com/search?q=fedora16 ... 80&bih=873

Jel ipv6 ili nesto drugo problem.. nastavi dalje traziti jbg. nemam nigdje linux instaliran ali ovo je do fedore nesto !

Post Reply