PDA

View Full Version : Unable to resolve IP addresses


pinenut
2006-02-27, 05:27 AM CST
Hi,

I've just upgraded a buch of programs via the automatic upgrades of FC4 tonight.

Now I can't open any web pages because FC4 is unable to resolve the addresses. I am alble to open web pages by entering the numeric IP addresses.www.xxxx.com could not be found. Please check the name and try again.
Why has this machine lost the ability to resolve the URL's?

:mad:

Shakes
2006-02-27, 06:14 AM CST
How are you connecting to the internet? e.g. conencting to router using DHCP?

What are the contents of /etc/resolv.conf

pinenut
2006-02-27, 08:25 AM CST
How are you connecting to the internet? e.g. conencting to router using DHCP?

Router with static intranet IP's.

What are the contents of /etc/resolv.conf?
[QUOTE]
# generated by NetworkManager, do not edit!
nameserver 127.0.0.1
nameserver 127.0.0.1
nameserver 127.0.0.1

Sarthan
2006-02-27, 10:19 AM CST
Instead of having nameserver 127.0.0.1 in your /etc/resolv.conf put in the ip-address of the router and if that doesn't work put the ip-address of the nameserver of your Internet Provider in /etc/resolv.conf.

FYI: The ip-address 127.0.0.1 is a reference to the localhost of that system and unless you are running a DNS-server on that system you can't resolve any ip-addresses.

pinenut
2006-02-27, 10:42 AM CST
Instead of having nameserver 127.0.0.1 in your /etc/resolv.conf put in the ip-address of the router and if that doesn't work put the ip-address of the nameserver of your Internet Provider in /etc/resolv.conf.

FYI: The ip-address 127.0.0.1 is a reference to the localhost of that system and unless you are running a DNS-server on that system you can't resolve any ip-addresses.

Thank you for your reply. Unfortunately, the NetworkManager has complete control of /etc/resolv.conf. I've tried to put other DNS server IP's, but the Manager keeps erasing them. :(

Sarthan
2006-02-27, 10:55 AM CST
If you absolutely need NetworkManager then maybe there's a way to configure it to fit your needs.
If you can do without NetworkManager then :

# killall NetworkManager
# /etc/rc.d/init.d/network restart

Verify the /etc/resolv.conf again and adjust it to your routers ip-address or the ISP's DNS-server ip-address.

pinenut
2006-02-27, 11:10 AM CST
If you absolutely need NetworkManager then maybe there's a way to configure it to fit your needs.
If you can do without NetworkManager then :

# killall NetworkManager
# /etc/rc.d/init.d/network restart

Verify the /etc/resolv.conf again and adjust it to your routers ip-address or the ISP's DNS-server ip-address.

Thanks a lot. Everything is back to normal. The NetworkManager must be something new and still have some bugs(?). :eek:

pinenut
2006-02-28, 08:07 PM CST
Since I removed the NetworkManager package from my computer, I have been able to resolve the IP addresses without hitch. But I've also noticed that the resolving process takes longer than before I started having problem with NetworkManager.
Looking up www.xxx.com.....
This process seems to take forever.
Is there any tool I can use to tweek it with to make it faster?

foobar47
2006-03-01, 02:28 AM CST
What is your /etc/resolv.conf file ?

If you put an external DNS server, it will take longer than your routeur ip !

pinenut
2006-03-01, 03:52 AM CST
What is your /etc/resolv.conf file ?

If you put an external DNS server, it will take longer than your routeur ip !nameserver 127.0.0.1
nameserver 66.73.20.40
nameserver 206.141.193.55 The two of them are my ISP's DNS servers. Do I need to add the gateway address of the router such as192.168.0.1?

foobar47
2006-03-01, 04:41 AM CST
Yes !
But you should put it in the first place :

nameserver 192.168.0.1
nameserver 66.73.20.40
nameserver 206.141.193.55


Like that, it will check your local DNS first and if fail, second...
No need to put localhost ip !

pinenut
2006-03-01, 08:30 AM CST
Yes !
But you should put it in the first place :

Like that, it will check your local DNS first and if fail, second...
No need to put localhost ip !

Do I need to restart network after I cange /etc/resolv.conf?

Sarthan
2006-03-01, 03:59 PM CST
Nope , no need to restart the network after making changes to /etc/resolv.conf.

foobar47
2006-03-02, 02:07 AM CST
So... what is the result ?

pinenut
2006-03-02, 04:17 AM CST
So... what is the result ?
Everything works great! :)

foobar47
2006-03-02, 04:28 AM CST
Ok, that's all !
Good ! :)