LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 07-15-2005, 04:26 AM   #1
bruse
Member
 
Registered: Feb 2005
Location: internet
Distribution: Debian
Posts: 821

Rep: Reputation: 30
connect to google


[staff@Simlab-node3 staff]$ ssh staff@tuya.bris.ac.uk
ssh: tuya.bris.ac.uk: Temporary failure in name resolution
[staff@Simlab-node3 staff]$ ssh www.google.com
ssh: www.google.com: Temporary failure in name resolution
[staff@Simlab-node3 staff]$


now how can i connect to google.com
 
Old 07-15-2005, 04:35 AM   #2
Michael Johnson
Member
 
Registered: Jul 2005
Location: Wagga Wagga, Australia
Posts: 262

Rep: Reputation: 30
Can you ping " www.google.com" with
$ping -c 4 www.google.com
this will attempt to ping google 4 times and exit with the results.
 
Old 07-15-2005, 08:03 AM   #3
bruse
Member
 
Registered: Feb 2005
Location: internet
Distribution: Debian
Posts: 821

Original Poster
Rep: Reputation: 30
[student@localhost student]$ ping -c 4 www.google.com
ping: unknown host www.google.com
[student@localhost student]$
 
Old 07-15-2005, 08:34 AM   #4
Michael Johnson
Member
 
Registered: Jul 2005
Location: Wagga Wagga, Australia
Posts: 262

Rep: Reputation: 30
Your problem is with DNS. You are not able to translate a domain name into an IP address. OR your routing table is not right. Printout your routing table and dns server information.
 
Old 07-15-2005, 08:43 AM   #5
bruse
Member
 
Registered: Feb 2005
Location: internet
Distribution: Debian
Posts: 821

Original Poster
Rep: Reputation: 30
i am connected to internet by proxy server in my uviversity.
here is the full details.


root@localhost student]# route
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
10.255.240.0 * 255.255.255.0 U 0 0 0 eth0
127.0.0.0 * 255.0.0.0 U 0 0 0 lo
default 10.255.240.1 0.0.0.0 UG 0 0 0 eth0
[root@localhost student]#


[root@localhost student]# /etc/init.d/named status
number of zones: 3
debug level: 0
xfers running: 0
xfers deferred: 0
soa queries in progress: 0
query logging is OFF
server is up and running
[root@localhost student]#


[student@localhost student]$ vim /etc/resolv.conf
~
~
~
~
~
~
~
~
~
~
~
~
~
~
"/etc/resolv.conf" [readonly] 0L, 0C


THERE IS NO CONDENT IN RESOLV.CON FILE.


[root@localhost student]# dig google.com

; <<>> DiG 9.2.3 <<>> google.com
;; global options: printcmd
;; connection timed out; no servers could be reached
[root@localhost student]#


HOPE THIS POST WILL BE USEFULL FOR ALL OTHER TROUBLING FRIENDS.
 
Old 07-15-2005, 10:10 AM   #6
Michael Johnson
Member
 
Registered: Jul 2005
Location: Wagga Wagga, Australia
Posts: 262

Rep: Reputation: 30
are you able to ping this address 10.255.240.1?
what does your ifconfig say.
 
Old 07-16-2005, 02:36 AM   #7
bruse
Member
 
Registered: Feb 2005
Location: internet
Distribution: Debian
Posts: 821

Original Poster
Rep: Reputation: 30
[root@localhost student]# ping 10.255.240.1
PING 10.255.240.1 (10.255.240.1) 56(84) bytes of data.
64 bytes from 10.255.240.1: icmp_seq=1 ttl=255 time=3.10 ms
64 bytes from 10.255.240.1: icmp_seq=2 ttl=255 time=1.71 ms
64 bytes from 10.255.240.1: icmp_seq=3 ttl=255 time=1.72 ms
64 bytes from 10.255.240.1: icmp_seq=4 ttl=255 time=1.74 ms
64 bytes from 10.255.240.1: icmp_seq=5 ttl=255 time=1.84 ms

--- 10.255.240.1 ping statistics ---
5 packets transmitted, 5 received, 0% packet loss, time 4003ms
rtt min/avg/max/mdev = 1.716/2.026/3.104/0.541 ms
[root@localhost student]#


[root@localhost student]# ifconfig
eth0 Link encap:Ethernet HWaddr 00:11:09:15:2C:BF
inet addr:10.255.240.103 Bcast:10.255.255.255 Mask:255.0.0.0
inet6 addr: fe80::211:9ff:fe15:2cbf/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:168622 errors:0 dropped:0 overruns:0 frame:0
TX packets:1969 errors:0 dropped:0 overruns:0 carrier:0
collisions:157 txqueuelen:1000
RX bytes:12139078 (11.5 Mb) TX bytes:314386 (307.0 Kb)
Interrupt:23 Base address:0xb000

lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:631 errors:0 dropped:0 overruns:0 frame:0
TX packets:631 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:48224 (47.0 Kb) TX bytes:48224 (47.0 Kb)

[root@localhost student]#
 
Old 07-16-2005, 03:51 AM   #8
Michael Johnson
Member
 
Registered: Jul 2005
Location: Wagga Wagga, Australia
Posts: 262

Rep: Reputation: 30
Try this in your "/etc/resolv.conf"
nameserver 10.255.240.1
I am assuming that this server will also do DNS name resolution. If it doesn't you will need to fimd out what your DNS server is and puts address in here. It must be in the format shown.
 
Old 07-18-2005, 03:20 AM   #9
bruse
Member
 
Registered: Feb 2005
Location: internet
Distribution: Debian
Posts: 821

Original Poster
Rep: Reputation: 30
my file look like this.


[root@Simlab-node3 student]# cat /etc/resolv.conf
search Internetserver.mitit.edu
nameserver 10.255.240.1
nameserver 10.1.1.63
nameserver 10.1.1.64
nameserver 10.1.1.50
nameserver 127.0.0.1
[root@Simlab-node3 student]#
 
Old 07-18-2005, 03:33 AM   #10
king111
Member
 
Registered: Jul 2005
Distribution: Debian, Ubuntu
Posts: 85

Rep: Reputation: 15
Get your DNS information from whomever is chief at your University's computer department.
 
Old 07-22-2005, 07:48 AM   #11
bruse
Member
 
Registered: Feb 2005
Location: internet
Distribution: Debian
Posts: 821

Original Poster
Rep: Reputation: 30
my network people are lazy.they are not willing to tell me the DNS server
IP address.

so is there any idea to query the proxy server or other means to get a DNS server address.
 
Old 07-22-2005, 08:44 AM   #12
bruse
Member
 
Registered: Feb 2005
Location: internet
Distribution: Debian
Posts: 821

Original Poster
Rep: Reputation: 30
is there any possibility to query the rrot servers to get a information.

if it possible give the root server address.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
i can not get ip of google.com. bruse Linux - Newbie 8 07-08-2005 10:12 AM
difference between www.google.com/linux and www.google.com dr_zayus69 General 4 01-12-2005 03:45 PM
What is the OS used by Google.com ? _UnPrEdictAbLe_ General 15 08-21-2004 04:19 AM
Google Down? opioid General 24 07-26-2004 06:23 PM
Even Google Knows cli_man General 4 05-25-2003 06:32 PM


All times are GMT -5. The time now is 04:22 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration