Session 7: Building a Nameserver.
Till today’s blog I had share my knowledge unto the Active Directory….so in this blog we will try to create our own Nameserver….so that we know how it is created and for what purpose do we work with it.
if you have your computer set up to receive IP address via DHCP, the DNS Server role installation may complain that DNS isn’t intended to work on dynamically assigned IP addresses. For this example, we can acknowledge the warning and continue. As mentioned previously, make sure nameservers that are actually in production not a test environment-have a consistent, unchanged IP address.i.e. i would like to prefer for a static IP.
So if we see the namsevers…..the most of it point to themselves, rather than to other nameservers, for name resolution.so before going through the tutorial first i would make my server IP static as in this snapshot.
Here, Now I would like to go through the Procedure.
- Start—> RUN and type “dnsmgmt.msc” (without quote)
- Here Opens the DNS Manager Window. Here I have already created a forward lookup zone as I have installed AD-DC on my server. so I would make a host add in my forward lookup zone.To add the host in forward lookup zone I first select my zone as done in snap.

- Right Click on the Right side of the panel and add New Host (A or AAAA..)
- As shown in the snap give a parent domain name and IP address (Static) of the machine, the fully qualified domain name (FQDN). and make a mark on create associated pointer (PTR) record.then click on add host.
- Now the forward path to resolve the server has been completed….but still it is not finished..we have to create the reverse lookup zone also…to map the IP addresses to their corresponding hostnames.As to create reverse lookup zone, Right-click the reverse lookup zones folder and choose new zone form the context menu.

- Choose “Primary Zone” and click Next.
- Here I am working with the domain of aerrow.com only so i select it and make click next.
- As I we have only worked with the IPv4…select IPv4 Reverse lookup Zone…and click Next.
- Enter the network numbers for your network in the network ID field…and click Next.
- The Dynamic Updates pages appears. Select to allow both nonsecure and secure updates,and then click Next.
- Click finish to complete Wizard. Here your Reverse lookup zone is created..Now we have to add PTR record in this zone.
- To add the PTR record, Right-click the appropriate reverse lookup zone ie( just we have created one) and choose New Pointer (PTR) form the context menu.
- The New Resource record dialog will appear, as shown in snap.On this screen you need to specify the last dot of your IP address and then enter the hostname to which that address should refer.The FQDN for the reverse lookup record will fill in automatically.
- Click OK to finish.
So you still might have a query how to check whether the nameserver created or not. To check whether your process has gone right or not you can just go to your command and type there “nslookup”. this command will let you know the nameserver associated with your server…..here the snap is… 
NOTE:-Aerrow is going give a presentation about Active Directory on TechMela 2010 under the Community Chautari. Invitation to all the interested participant through this blog.