LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Linux DNS unreachable from Windows machine (https://www.linuxquestions.org/questions/linux-newbie-8/linux-dns-unreachable-from-windows-machine-4175492963/)

munnaeebd 01-29-2014 05:20 AM

Linux DNS unreachable from Windows machine
 
I have Installed Red Hat Enterprise Linux 6.4 in VMware.
I have configured DNS using Bind 9.8.2.
From Linux machine I am getting internet also ping and nslookup command works. But when I use this server IP(192.168.140.130) on my windows pc as DNS, nslookup command works but ping doesn't work and browser doesn't work.

Ser Olmy 01-29-2014 07:09 AM

If nslookup works on the Windows PC, then the DNS service is responding.

You didn't change the gateway on the Windows PC as well?

munnaeebd 01-29-2014 07:29 AM

My DNS server is in a virtual machine. And I am using internet through my corporate network. I am not sure that virtual DNS server is possible or not.

clacour 01-29-2014 01:21 PM

You have one of two problems: Either the Windows box can't get out on those two services, or you don't have it configured to use the DNS servers on your Linux box.

To test #1, use nslookup from the windows machine, pointing to the Linux machine - format should be
Code:

nslookup <some address> <IP address of the Linux box>
Try pinging that address, and browsing to it (rather than using the name for either one.) If you can't get out, you have a problem with your Windows machine being blocked.

If you can, then you don't have your Windows box properly configured to use the Linux box as a DNS server. Can't help you with that one - if the builtin help article on DNS (go to Windows help and search for "dns") doesn't explain what to do well enough, you'll have to ask a Windows forum for help.

By the way, if you don't get a reply from the Linux box, you're back to your original problem, and were getting DNS answers from whatever DNS servers Windows was using before.


All times are GMT -5. The time now is 09:14 PM.