Improve company productivity with a Business Account.Sign Up

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 7223
  • Last Modified:

nslookup

When I use nslookup I get DNS timed out messages before it displays the following information:
Can't find server name for 192.168.1.2 : Timed out

Default Serve unknown
Address: 192.168.1.2

However when I type in my computer name I get
Server: unknown
Address: 192.168.1.2

mycomputername.mydomain.com

Is there something wrong or something missed out? What exactly should I be checking with nslookup in order to know if something is fine or not?


Peter
0
Peter_Fabri
Asked:
Peter_Fabri
  • 5
  • 5
  • 2
  • +2
2 Solutions
 
netsharkCommented:
What OS do you have installed on your computer?
Is set up your computer as dns server for your network?
If it is, you need to configure a forward lookup zone and a reverse lookup zone for your network, also you may want to configure forwarders for dns server ( like dns server from your ISP ).
For more details, try this:

http://www.microsoft.com/resources/documentation/WindowsServ/2003/standard/proddocs/en-us/dns_server_role.asp

http://www.microsoft.com/resources/documentation/IIS/6/all/proddocs/en-us/dns_server_role.asp

IF YOUR COMPUTER IS A WORKSTATION, NOT A SERVER,

Go Start, Control Panel, Network conections, right click on network conection, properties, click Internet protocol TCP/IP, properties,
choose "Use the following DNS server adresses" and fill at least first field with ip adress of one DNS server in your network.
If your NIC obtain IP adress from DHCP server, ask your network administrator to set up DHCP options as DNS, Gateway, etc.

Good Luck


0
 
Peter_FabriAuthor Commented:
I have W2K. My computer is a server. How do I name the server so that I don't get "server unknown".  I have  configured a forward and reverse lookup zone for mydomain.com and test.mydomain.com. I have gone to MyNetwork places, selected TCP/IP and assigned a static IP address, subnet mask, default gateway and assigned IP addressed to preferred DNS server (which is the same as the IP address I gave earlier on). When I type ls mydomain.com, I get a list of what I've setup. Is something still wrong or have I configured my DNS server correctly?

Peter
0
 
netsharkCommented:
Try leave the DNS adress blank in TCP/IP properties ( on NIC configuration ), windows will notify you that is a DNS server running on your computer and DNS adress will be set as 127.0.0.1 ( localhost ) automatically.
Try again after this nslookup.
0
Easily Design & Build Your Next Website

Squarespace’s all-in-one platform gives you everything you need to express yourself creatively online, whether it is with a domain, website, or online store. Get started with your free trial today, and when ready, take 10% off your first purchase with offer code 'EXPERTS'.

 
Peter_FabriAuthor Commented:
That works ok. I think I have configured my DNS server correctly. Is this all that I need to do in order to install Active Directory?

Peter
0
 
eddkhamouCommented:
Peter,

The DNS zone name should be the same as your domain name.
You should have an (A) host name for the server in the forward and a PTR record for the server in the Reverse lookup zone.
The DNS zones should be Active directory integrated, if they are not delete the existing zones and create new ones.

Ed
0
 
Peter_FabriAuthor Commented:
I cannot have my zones Active Directory integrated as AD is not installed! Am I misunderstanding something basic? Any help is much appreciated.

My zone name is mydomain.com and my domain name is mydomain (as stated in the setup completion when I turned the server on for the first time). So I think I'm alright there.

Peter
0
 
netsharkCommented:
IF you want to use AD and your server as a PDC,
Change the name of your server as desired, restart machine and after restart type at the command prompt dcpromo. Will launch active directory wizard. Warning, after AD wizard you will need to reconfigure DNS server in order to use forwarders :).

Good Luck again!
0
 
eddkhamouCommented:
If the goal here is to install AD on your network I assume that you want to promote the server on your network to a domain controller.  When you go through the wizard to promote the server the wizard will create DNS zones that are active directory integrated.  I have never configured DNS without actually having a domain controller present so your situation is unique to me.

Hope this helps

Ed
0
 
netsharkCommented:
How many Workstations are in Your Lan ?
How many NIC's are in your server?

I am just curious ....
0
 
Peter_FabriAuthor Commented:
One workstation. I think I only have one nic in my server. Can I easily check this?

Peter
0
 
netsharkCommented:
Try to set up Active Directory and all will be more complicated but we will have a lot of fun chating here.
0
 
Peter_FabriAuthor Commented:
I have managed to set up AD. Now the education starts! I have set up two users before installing AD. Will I have to set them up again? I am looking forward to group policies and permissions as well as the rest.

Peter
0
 
The--CaptainCommented:
It's been a while since I used nslookup, but AFAIK, that error comes from not having a reverse zone configured for the IP you set as your nameserver.  127.0.0.1 apparently works because your computer knows that 127.0.0.1 = localhost (or something similar)

Cheers,
-Jon

0
 
Joseph NyaemaIT ConsultantCommented:
You are getting that error "Server unknown because the primary DNS surfix is not set.

To enter the primary DNS surfix right click on my computer icon on the desktop and then click on properties.
Click on the network identification tab. Then click on properties. Then click on more.
Enter the your domain name here.

Before you can do this, you will need to remove active directory using DCPromo.
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

What Kind of Coding Program is Right for You?

There are many ways to learn to code these days. From coding bootcamps like Flatiron School to online courses to totally free beginner resources. The best way to learn to code depends on many factors, but the most important one is you. See what course is best for you.

  • 5
  • 5
  • 2
  • +2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now