I just set up a DNS Server on my Windows 7, called SimpleDNS.

I added a zone for example sag.com and defined www.sag.com and sag.com to (my Network IP Address) . the problem is when I try to ping sag.com the SimpleDNS logs says that it answered the request with, but the ping doesn't resolve anything . SimpleDNS logs:

 14:00:43   Request from for A-record for www.sag.com
 14:00:43   Sending reply to about A-record for
 www.sag.com: 14:00:43   -> Answer: A-record for www.sag.com = 14:00:43   -> Authority: NS-record for www.sag.com = mehr-pc

nslookup yields:

 C:\Users\Mehr\Desktop>nslookup www.sag.com DNS request timed out.
     timeout was 2 seconds. Server:  UnKnown Address:

 DNS request timed out.
     timeout was 2 seconds. DNS request timed out.
     timeout was 2 seconds. DNS request timed out.
     timeout was 2 seconds. DNS request timed out.
     timeout was 2 seconds.
 *** Request to UnKnown timed-out

The DNS server IP is , and Access point address :

What should I do?

migrated from serverfault.com Nov 12 '11 at 23:35

This question came from our site for system and network administrators.


Your nslookup shows your Windows 7 computer is using as it's DNS server, not You need to change the DNS server in the TCP/IP properties of the NIC.

  • it should should DNS server address in DHCP , from ( the access point ) , I set the DNS in access point , so I think it's okay that the address of DNS server be my current DNS server which works perfect , is set via ISP DHCP in access point and in my computer set to and in TCP/IP of the NIC , it uses DHCP too , not manual IP assigning. you mean every node that joins the network must set their DNS manually ? I don't think so this is the right answer because it uses DHCP from an access point which the DNS server is set in it. – Behrooz A Nov 12 '11 at 13:18
  • If you've configured to use as it's forwarder then that's OK, but it's not working as evidenced by your nslookup. The nslookup is timing out. Try running nslookup for www.google.com and see if that works. Then try changing your Windows 7 computer to use as it's DNS server and run nslookup for www.sag.com and www.google.com and see if that works. The results of these tests should help you narrow down the problem. – joeqwerty Nov 12 '11 at 13:31
  • C:\Users\Mehr\Desktop>nslookup google.com Server: UnKnown Address: Non-authoritative answer: Name: google.com Addresses: – Behrooz A Nov 12 '11 at 13:33
  • It works with google. I tried it with my Android phone too. nslookup-ed and the same answers in computer – Behrooz A Nov 12 '11 at 13:34
  • So is working for external names but not internal names. Is configured to use as it's DNS forwarder? The DNS queries for sag.com have to get to or it's not going to work. – joeqwerty Nov 12 '11 at 13:36


nslookup sag.com (ip of dns server)

the above command will forcefully try to resolve name from your dns. then analyze the result that what it says to you.

Verify that the DNS server is running and LISTENING on required ports. verify that port 53 (UDP) is open.

The difference between ping and nslookup is that when ping is submitted to OS, the OS tried to resolve name from all possible way (through lmhosts, hosts, dns, and total of 7 ways), but nslookup only resolves name from provided dns server.

  • it listening on port 53 , it logs show that it answers the requests. I'm gonna run the command and copy here the results and logs , thank you for your reply – Behrooz A Nov 12 '11 at 10:26
  • I just edited my post – Behrooz A Nov 12 '11 at 10:37
  • what is IP of your DNS server? and what is the DNS server set on your local system? and i told you to run command e,g,"nslookup sag.com",,you have to replace with your dns server ip address. – Farhan Nov 12 '11 at 10:39
  • C:\Users\Mehr\Desktop>nslookup www.sag.com Server: UnKnown Address: Name: www.sag.com Address: – Behrooz A Nov 12 '11 at 10:51
  • your DNS server ip is ? – Farhan Nov 12 '11 at 10:53

Setting up a DNS server is one thing using it another one.

It may sound trivial, but it is necessary to explicitly enter it to be used.

So the first step to do is Frank's approach, and if that works, but the same command without the IP of the DNS server doesn't, it means that your DNS server isn't used per default.

  • Dear glglgl , according to your post and nslookup , it looks that my DNS server doesn't act as primary or default one , is it a problem in my access point where I changed primary DNS server ( and leaved secondary as blank) ? – Behrooz A Nov 12 '11 at 11:07
  • Seems so. Normally your access point should distribute its DNS settings via DHCP. Why it doesn't? N idea. But maybe it helps to set the NS data at the clients - depending on their number. At least, it is worth a try. – glglgl Nov 12 '11 at 18:31
  • It's for a shop, customers can't get forced and don't have enough knowledge to do it. also , the weird thing is on each try DNS responses to request ( as shown in dns logs ) but nothing to show in nslookup and ping or in browser – Behrooz A Nov 12 '11 at 18:35

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.