Welcome to the most active Linux Forum on the web.
Go Back > Forums > Linux Forums > Linux - Networking
User Name
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.


  Search this Thread
Old 10-17-2006, 10:59 PM   #1
LQ Newbie
Registered: Apr 2006
Posts: 9

Rep: Reputation: 0
Arrow name to ip resolution is not working .. Strange Scenario ...

Hi All,

I am using debian and net is connected to this debian system and it is shared. I have a user account in this machine, which i use for my daytoday works. But today when i login as user i am not able to browse internet using firefox or any other browser (elinks also). But the hosts (net is shared from this system) are getting internet without any problem. I checked my resolv.conf .. it is fine. I flushed all my iptables including nat. The condition is the same.

This is the output after turning of firewall,

host has address has address has address

ping: unknown host

PING ( 56(84) bytes of data.
64 bytes from icmp_seq=1 ttl=235 time=335 ms
64 bytes from icmp_seq=2 ttl=235 time=333 ms

Host not found

Google home page.

I gave google as an example. This is the problem for all web addresses. name to ip resolution is not taking place when we use a browser.

Could you please help me to solve this strange problem.


Last edited by gudneo; 10-17-2006 at 11:31 PM.
Old 10-17-2006, 11:03 PM   #2
Registered: Feb 2004
Location: Canada
Distribution: Slackware
Posts: 479

Rep: Reputation: 30
Maybe because google is down or they are slow.
Old 10-17-2006, 11:27 PM   #3
LQ Newbie
Registered: Apr 2006
Posts: 9

Original Poster
Rep: Reputation: 0

Hi cereal83,

I gave as an example.
It is same for all web addresses. Name to ip resolution is not taking place when using a browser. But host command will return the ip address.

I can't figure out a reson for that.

Old 10-19-2006, 12:56 AM   #4
LQ Newbie
Registered: Apr 2006
Posts: 9

Original Poster
Rep: Reputation: 0
Hi Friends,

Thank you for posting ...

Solved the problem,

Open .. /etc/nsswitch.conf, see "hosts: files dns" is in this order.



dns, internet, name, resolvconf

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
ping: unknown host tcma Linux - Networking 7 03-02-2012 11:47 PM
can ping network computer, cannot ping (help needed) ben_build#2.1.0 Linux - Wireless Networking 23 11-07-2010 12:55 PM
LXer: The Google Command List: Data Mining using Google LXer Syndicated Linux News 0 01-21-2006 03:31 PM
ping: unknown host juanjavier_xxx Debian 8 01-02-2006 01:47 PM
I can ping successfully,but ping client(in my intranet) failed.Why? whepin Linux - Newbie 4 12-30-2001 04:54 AM > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 09:24 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration