Prerequisites :
Set a static IP for you server. Before configuring a DNS server, you should at least have a basic idea about DNS server and how it works. If you don’t know anything you can check this post. If you want to know about the records inside a DNS server, check this post.
Like DHCP server, configuring basic DNS server in Server 2012 will take about 15-20 minutes only. After installing DNS server, you can either create a forward lookup zone or reverse lookup zone or you can add new hosts and enter their respective IP addresses and the DNS server will take care of the rest.
Now in this post we will add a single host to the DNS server and try to ping the host to see if the DNS server can resolve its IP address and ping the IP.
Now there are various records in DNS and since we will be adding a ‘A’ record in the DNS server..
- Summary of DNS server.
- Navigate to ‘Tools’ –> DNS.
- This is the DNS server window.
You can configure ‘forward lookup zone’, ‘backward lookup zone’, ‘Trust Points’, ‘Forwarders’ from here.
- Right click on your server name.
You can see various options. You can clear the cache memory, launch nslookup for some host, start stop or restart server from All tasks, or configure DNS server where you can choose or create forward lookup zone. But we won’t go there.
We will just add a new host and see if DNS can resolve its address.
- Navigate to Forward lookup zone and your domain name (example: geekstarts.tech )
- Right click on your domain and select ‘New Host (A or AAAA)’
- Enter name. It will automatically create FQDN. Enter IP address. Leave the next two check box as it is.
- Click on Add host. You’ll get a confirmation window.
- You can see the new entry in your domain.
- Open cmd and ping the host. Check if DNS server can resolve the address you gave.
You Start, Stop or Restart the server from All tasks menu.
You can also check the error logs from DNS events under Global Logs.