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 11-25-2005, 06:44 PM   #1
lakshre
LQ Newbie
 
Registered: Feb 2005
Posts: 5

Rep: Reputation: 0
Why can I connect if I enter the IP into the browser but not if I use the domain name


Hey All

I'm really new to this and I am trying to connect to the internet.

I am using RH 9 on a computer that has a dual boot with XP. The computer connects to the internet through a server. The IP address settings are the same in Linux as they are in XP. The XP side connects but the Linux does not.

I've tried some of the advice on the forum. The most interesting result thus far is that if I type 216.239.39.99 into my browser's URL, I can get to google. However, it does not work if I try typing google's domain name.

I realise that my problem is the DNS information, but I do not know how to fix it.

Any help would really be appreciated

thanks
 
Old 11-25-2005, 06:53 PM   #2
mhiggins
Member
 
Registered: Feb 2004
Posts: 140

Rep: Reputation: 15
Boot to windows ..

start -> run -> cmd

ipconfig /all

write down the DNS server ip's

boot to Linux

edit /etc/resolv.conf

add a line like this

nameserver 10.0.0.1

where 10.0.0.1 is the name sever you wrote down from before.
you can have many lines like above.

nameserver 10.0.0.1
nameserver 10.0.0.2
 
Old 11-25-2005, 07:39 PM   #3
lakshre
LQ Newbie
 
Registered: Feb 2005
Posts: 5

Original Poster
Rep: Reputation: 0
It worked!

Thank you very much
 
  


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
Unable to find the Domain Master Browser error in samba vrillusions Linux - Networking 2 02-10-2011 10:40 PM
how to connect via web browser SlipAway172 Mandriva 6 01-13-2005 06:20 PM
Not able to connect to internet from browser robby737 Linux - Networking 12 06-30-2004 12:27 PM
DNS??? browser shows IP intead of my domain name abpich Linux - Newbie 1 04-02-2004 01:31 PM
where to enter domain name glock19 Linux - General 1 08-29-2001 12:56 PM

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

All times are GMT -5. The time now is 10:49 AM.

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