LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   dns problems with ubutu (https://www.linuxquestions.org/questions/linux-newbie-8/dns-problems-with-ubutu-429662/)

relly^newbie%) 03-29-2006 10:32 AM

dns problems with ubutu
 
:scratch: 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:confused:

oh and im running with gnome

Dragineez 03-29-2006 11:34 AM

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.

relly^newbie%) 03-29-2006 12:09 PM

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)

Dragineez 03-29-2006 12:24 PM

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.

relly^newbie%) 03-29-2006 06:50 PM

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

philix 03-29-2006 07:22 PM

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

relly^newbie%) 03-30-2006 08:29 AM

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:study:

Dragineez 03-30-2006 09:39 AM

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!


All times are GMT -5. The time now is 08:43 AM.