LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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 10-17-2006, 11:41 PM   #1
gudneo
LQ Newbie
 
Registered: Apr 2006
Posts: 9

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


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 google.com
google.com has address 72.14.207.99
google.com has address 64.233.167.99
google.com has address 64.233.187.99

ping google.com
ping: unknown host google.com

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

elinks google.com
Host not found

elinks 72.14.207.99
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.

Regards
Neo
 
Old 10-18-2006, 02:43 AM   #2
mickyg
Member
 
Registered: Oct 2004
Location: UK
Distribution: Ubuntu/Kubuntu
Posts: 249

Rep: Reputation: 30
Seems like your DNS settings are not correctly configured on the machine. Have a look at the nameservers used by the host PC and see if it's the same on the debian box.

Might also be helpful to use ethereal to see where the debian box is trying to send DNS requests. Maybe you could post the ethereal output of a simple ping from both the debian box and a host PC so we can see where packets are trying to be sent on each PC?
 
Old 10-19-2006, 12:55 AM   #3
gudneo
LQ Newbie
 
Registered: Apr 2006
Posts: 9

Original Poster
Rep: Reputation: 0
Arrow

Hi Friends,

Thank you for posting ...

Solved the problem,


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

Regards
Neo

Last edited by gudneo; 10-19-2006 at 12:57 AM.
 
  


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
Strange screen resolution crashsystems Ubuntu 15 11-02-2006 03:40 AM
Strange problem: lcd monitor highest resolution stopped working due to OCD changes drgilberto Linux - Hardware 3 10-10-2006 06:33 PM
Strange domain name resolution Temujin_12 Linux - Networking 0 05-12-2005 06:58 PM
strange X resolution problem chunlee Linux - Newbie 2 12-31-2004 05:48 PM
Strange DNS Resolution Problem pmconway Fedora 1 11-10-2004 07:37 AM

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

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