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 03-20-2006, 10:54 AM   #1
Shioni
Member
 
Registered: Mar 2006
Posts: 182

Rep: Reputation: 30
DNS doesn't work on Windows network!


Hi!
I just setup Samba server in Windows network. Everything works great, except I can only connect to websites using IP address, when I enter domain name, nothing happens. I use the same DNS server IP for Linux box, like Win boxes use!! The IP is 151.196.0.39, I can even ping it! I added it to my resolv.conf and did /etc/rc.d/rc.inet1 restart! Whats could be wrong? Thank you!
 
Old 03-20-2006, 11:10 AM   #2
timmeke
Senior Member
 
Registered: Nov 2005
Location: Belgium
Distribution: Red Hat, Fedora
Posts: 1,515

Rep: Reputation: 61
Do the logs mention failed name resolution attempts?

Also, try doing a "nslookup" (DNS query, make sure to use the DNS server as default) instead of a "ping".
Maybe DNS access is denied, hence causing the failed DNS resolution.

I can ping the IP you gave me, but couldn't do an "nslookup" on it.
 
Old 03-20-2006, 11:24 AM   #3
Shioni
Member
 
Registered: Mar 2006
Posts: 182

Original Poster
Rep: Reputation: 30
Well, I can use just any DNS server right? Do you know any that really works? I searched for a fiew, but they didn't work for me! just the ping! Thanks!
 
Old 03-21-2006, 03:33 AM   #4
timmeke
Senior Member
 
Registered: Nov 2005
Location: Belgium
Distribution: Red Hat, Fedora
Posts: 1,515

Rep: Reputation: 61
Now I am confused. Are you trying to use someone else's DNS server? What good would that do you?
Please also provide some details as to what you are trying to accomplish exactly.

You said you can't browse to websites via the hostname, it only works via IP address. This indeed indicates a name resolution issue. Do you have your own DNS server? What machines are you trying to access? Local machines (ie your Windows boxes) or remote ones (like Google)?
Please also post the contents of /etc/resolv.conf and /etc/hosts for starters.
 
  


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
setting up a network to work with windows jackthesam Linux - Networking 1 01-20-2005 01:51 PM
New to RHN; can get network connectivity to or from Windows systems to work dwoeltje Linux - Newbie 0 06-24-2004 03:59 PM
why doesn't my DNS server work? asit_monty Linux - Networking 0 04-06-2004 08:01 AM
DNS doesn't seem to work with RR lhelber Linux - Networking 4 01-14-2004 05:45 PM
Linux hostname on a Windows network doesn't work lynnwgnr Linux - Networking 4 08-12-2003 07:22 PM

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

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