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 03-29-2006, 11:32 AM   #1
relly^newbie%)
LQ Newbie
 
Registered: Mar 2006
Posts: 23

Rep: Reputation: 15
Cool dns problems with ubutu


Hey ive been one linux for about 3 days now tried mandriva, kabutu and now im on ubutu which i like and want to stick with but my prob is i cant browse i was fine with all others but with this one the only way i can get to a website is ping the "www." which gives me the ip "nice little network tool" then paste the ip in to the addy bar in the pre-installed firefox soo i googled it did sum sudo....thing in the terminal where i ended up applying my isp's dns but still no good..please help or point me to more instructions

oh and im running with gnome
 
Old 03-29-2006, 12:34 PM   #2
Dragineez
Member
 
Registered: Oct 2005
Location: Annapolis
Distribution: Ubuntu
Posts: 275

Rep: Reputation: 32
Ping But No Pong

6 Ping works?
Quote:
Originally Posted by relly^newbie%)
...the only way i can get to a website is ping the "www." which gives me the ip...
I don't see how its possible to successfully ping the address but not browse to it.
Quote:
...soo i googled it did sum sudo....thing in the terminal where i ended up applying my isp's dns but still no good..
What did some sudo thing? I'm assuming you mean you followed some instructions on how to fix this that you found through a google search. Try to nail down what your current configuration is. In terminal type:
Code:
ifconfig
Then post the output.
 
Old 03-29-2006, 01:09 PM   #3
relly^newbie%)
LQ Newbie
 
Registered: Mar 2006
Posts: 23

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by Dragineez
6 Ping works?I don't see how its possible to successfully ping the address but not browse to it..
yeah i know what you mean put thats how i got the ip to get to it .

the sudo thing was "i think" where it just clears the dns and then i had to put mine in.. i found a thing in the network settings where i could do it and it worked great but he keeps reverting back to my gateways ip addy. here is that ifconfig

eth0 Link encap:Ethernet HWaddr 00:03:47:7C:8F:71
inet addr:192.168.1.5 Bcast:192.168.1.255 Mask:255.255.255.0
inet6 addr: fe80::203:47ff:fe7c:8f71/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:9054 errors:0 dropped:0 overruns:0 frame:0
TX packets:7243 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:9398925 (8.9 MiB) TX bytes:1583895 (1.5 MiB)

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:106877 errors:0 dropped:0 overruns:0 frame:0
TX packets:106877 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:17457178 (16.6 MiB) TX bytes:17457178 (16.6 MiB)
 
Old 03-29-2006, 01:24 PM   #4
Dragineez
Member
 
Registered: Oct 2005
Location: Annapolis
Distribution: Ubuntu
Posts: 275

Rep: Reputation: 32
Out of Ideas

8 It sure looks like you're getting a valid IP from your router or modem. I still can't for the life of me figure out how ping can do domain name resolution but your browser can't. Are you connected directly to the modem or to a router? When you say it "reverting back to my gateways ip" do you mean that your DNS server ip addresses are the same as your gateway address?

Try setting up your network card with a static IP instead of DHCP and see if the settings will "stick".

Other than that, I'm out of ideas.

Last edited by Dragineez; 03-30-2006 at 10:22 AM.
 
Old 03-29-2006, 07:50 PM   #5
relly^newbie%)
LQ Newbie
 
Registered: Mar 2006
Posts: 23

Original Poster
Rep: Reputation: 15
yeah im on a modem/routrer both in one and the dns keeps comming up as my modems ip addy which is 192.168.1.1 but ill give that a try

thanks for your help
 
Old 03-29-2006, 08:22 PM   #6
philix
Member
 
Registered: Sep 2005
Location: India
Distribution: Redhat Debian
Posts: 36

Rep: Reputation: 15
Hi relly^newbie%),

Can you please edit /etc/resolve.conf with enteries similiar to one given below
nameserver DNS_IP address
nameserver DNS_Secondary_IP address
for eg.
nameserver 202.77.67.90

Hope it might work

Philix
 
Old 03-30-2006, 09:29 AM   #7
relly^newbie%)
LQ Newbie
 
Registered: Mar 2006
Posts: 23

Original Poster
Rep: Reputation: 15
Fixed

Quote:
Originally Posted by philix
Hi relly^newbie%), Can you please edit /etc/resolve.conf with enteries similiar to one given below nameserver DNS_IP address nameserver DNS_Secondary_IP address for eg. nameserver 202.77.67.90
yeah thanks but i did that one that was the ,sudo thing i did but i think it was a bit different but had the same end result. didnt work but i have fixed it now been stable for about 8 hours now better than 10 mins what i had to do configure my ip and dns static and set the ip static in the router as well havnt had a prob now im just looking for an e-book to try get a better understanding of linux and the terminal.......one day
 
Old 03-30-2006, 10:39 AM   #8
Dragineez
Member
 
Registered: Oct 2005
Location: Annapolis
Distribution: Ubuntu
Posts: 275

Rep: Reputation: 32
Good Job

9 You've made an excellent start. You had a problem. Sought help in the right place after searching and trying to solve it yourself. Gave an adequate description of the problem and an almost adequate description of what you tried in order to fix it. You followed the advice offered. You posted back on your results. You're well on your way toward learning Linux and are a good forum user. Now if we could just work on your grammer...

I'll bet within a couple of months I'll see you posting solutions to other users problems. That's how it works. Cheers!
 
  


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
ubutu make faster dinesh_t Linux - Hardware 2 02-21-2006 01:32 PM
kernel source for ubutu breezy 5.10 linuxmandrake Ubuntu 1 01-03-2006 08:54 PM
DNS Problems? gravediggers Linux - Networking 3 01-01-2006 06:33 PM
Problems with DNS aqoliveira Linux - Networking 12 10-29-2003 12:01 PM
DNS Problems goochable Linux - Networking 3 05-07-2001 12:40 AM


All times are GMT -5. The time now is 12:20 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