DNS, stands for " Domain Name System" and helps resolving names to IP numbers as it is much easier for people to remember logical names rather then a 12 digit number.
DNS uses 3 major components 擱esolvers (client)? Name Servers?and 擠omain Name Space? In basic DNS communication a client (Resolver) sends a query to a Name Server, which returns with the requested information, or an address for another Name Server, an error message is received if the query gives no results
Installing and configuring DNS
Installing DNS on Windows NT is very easy, but configuring it can be hard. The first thing you must do is to install the DNS service. Before you install the service remember that your server must have a static IP number.
Login as administrator, in the control panel double click on network, click on services and add, now choose Microsoft DNS Server and click OK. Click OK. Under the Protocol tab, mark the TCP/IP Protocol, then click Properties, under DNS, where it says Domain, type your company name.com and click OK. Reboot the server.
Reinstall service pack 6a
Configuring DNS Server
Login as Administrator, in the control panel double click on network, click on Protocols and choose TCP/IP Properties, click on DNS, and in DNS Service Search Order click Add. Type in the IP address which you earlier assigned to the server. (the one you are on now).
1. Click on "Start > Programs > Administrative Tools > DNS Manager".
2. Click on the DNS menu, and then choose "New Server".
3. Type the IP address of your DNS Server (192.168.1.77), and click OK.
NOTE: It is not necessary to restart your DNS server for Zone information to be valid, updating is being done like this: In the DNS Manager right click your DNS Server, and click "Update Server Data Files"
Reverse Lookup Zone
Some programs use a "Reverse Query", a "Reverse Query" is when you resolve an IP to a host name (rather then a host name to an IP). It is strongly recommended then to configure a "Reverse Lookup Zone".
Configuring Reverse Lookup
1. In the DNS Manager right click your DNS Server > "New Zone".
2. Click on "Primary" in the Dialog box, and then "Next".
3. In "Zone Name" type your IP Address backwards. If to use my example from above then type "1.168.192.in-addr.arpa".
4. After typing your "reverse lookup zone" name, press on "TAB" and "reverse lookup zone" will show up in the next field with ".dns" after it.
5. Click "Next", and "Finish".
Configuring Forward Lookup Zone
1. In the DNS Manager right click your server > "New Zone".
2. Click on "Primary Zone" > "Next".
3. Type in the name for your domain. That is the domain which will be used on the internet, for example domain.com (or in my case "mike-tech.dk").
4. Press on "TAB" > Next > Finish.
Now that you have created your "forward lookup zone", you should see 2 Records in your Zone: An NS Record, and an SOA Record.
Add a Host Record to your " Forward Lookup Zone"
Many times when you add a "Host Record, your DNS server automatically adds an "A record" on your DNS server, but, the DNS Manager does not automatically create a "PTR Record" in the "Reverse Zone". The easiest way to create it then is as follows:
1. Right click on the "A record" in your DNS server, and click "Delete Record".
2. Click "Yes", to confirm your selection.
3. Right click on your "forward zone", (Domain.com), and click "New Host".
4. Type "the Host name" on your DNS server (for example www) and the IP address.
5. Mark "Create Associated PTR Record" and then "Add Host".
6. Click "Done".
To check if your "PTR records" works, right click on "Reverse Lookup Zone 1.168.192.in-addr.arpa", and then click "Refresh".
Other Record types:
CNAME Record
A CNAME record allows you to have several names blinded to one IP address.
1. Right click on your "forward zone", (Domain.com) > "New Record".
2. Choose "CNAME Record" from the "Record Type" list.
3. Type the alternative name for the domain, for example WWW2 which will be another name for FTP.domain.com />4. Type the real Host name in "For Host DNS Name." (FTP.domain.com).
5. Click OK.
MX Record
An "MX Record" is an Exchange Record which points at your Mail Server.
1. Right click your "forward lookup zone", (Domain.com) > "New Record".
2. Choose MX Record from the "Record Type" list
3. Leave the "Host Name" field empty.
4. Type for example Mail.domain.com in the "Mail Exchange Server DNS Name".
5. Under "Preference Number" type a number between 0 and 65535. This number is used as a priority reference in case you have several mail servers, I recommend though, not starting from 1 as you might regret it if you one day decides to have an additional mail server with a higher priority then the first one. Therefore choose 10.
6. Click OK.
DNS uses 3 major components 擱esolvers (client)? Name Servers?and 擠omain Name Space? In basic DNS communication a client (Resolver) sends a query to a Name Server, which returns with the requested information, or an address for another Name Server, an error message is received if the query gives no results
Installing and configuring DNS
Installing DNS on Windows NT is very easy, but configuring it can be hard. The first thing you must do is to install the DNS service. Before you install the service remember that your server must have a static IP number.
Login as administrator, in the control panel double click on network, click on services and add, now choose Microsoft DNS Server and click OK. Click OK. Under the Protocol tab, mark the TCP/IP Protocol, then click Properties, under DNS, where it says Domain, type your company name.com and click OK. Reboot the server.
Reinstall service pack 6a
Configuring DNS Server
Login as Administrator, in the control panel double click on network, click on Protocols and choose TCP/IP Properties, click on DNS, and in DNS Service Search Order click Add. Type in the IP address which you earlier assigned to the server. (the one you are on now).
1. Click on "Start > Programs > Administrative Tools > DNS Manager".
2. Click on the DNS menu, and then choose "New Server".
3. Type the IP address of your DNS Server (192.168.1.77), and click OK.
NOTE: It is not necessary to restart your DNS server for Zone information to be valid, updating is being done like this: In the DNS Manager right click your DNS Server, and click "Update Server Data Files"
Reverse Lookup Zone
Some programs use a "Reverse Query", a "Reverse Query" is when you resolve an IP to a host name (rather then a host name to an IP). It is strongly recommended then to configure a "Reverse Lookup Zone".
Configuring Reverse Lookup
1. In the DNS Manager right click your DNS Server > "New Zone".
2. Click on "Primary" in the Dialog box, and then "Next".
3. In "Zone Name" type your IP Address backwards. If to use my example from above then type "1.168.192.in-addr.arpa".
4. After typing your "reverse lookup zone" name, press on "TAB" and "reverse lookup zone" will show up in the next field with ".dns" after it.
5. Click "Next", and "Finish".
Configuring Forward Lookup Zone
1. In the DNS Manager right click your server > "New Zone".
2. Click on "Primary Zone" > "Next".
3. Type in the name for your domain. That is the domain which will be used on the internet, for example domain.com (or in my case "mike-tech.dk").
4. Press on "TAB" > Next > Finish.
Now that you have created your "forward lookup zone", you should see 2 Records in your Zone: An NS Record, and an SOA Record.
Add a Host Record to your " Forward Lookup Zone"
Many times when you add a "Host Record, your DNS server automatically adds an "A record" on your DNS server, but, the DNS Manager does not automatically create a "PTR Record" in the "Reverse Zone". The easiest way to create it then is as follows:
1. Right click on the "A record" in your DNS server, and click "Delete Record".
2. Click "Yes", to confirm your selection.
3. Right click on your "forward zone", (Domain.com), and click "New Host".
4. Type "the Host name" on your DNS server (for example www) and the IP address.
5. Mark "Create Associated PTR Record" and then "Add Host".
6. Click "Done".
To check if your "PTR records" works, right click on "Reverse Lookup Zone 1.168.192.in-addr.arpa", and then click "Refresh".
Other Record types:
CNAME Record
A CNAME record allows you to have several names blinded to one IP address.
1. Right click on your "forward zone", (Domain.com) > "New Record".
2. Choose "CNAME Record" from the "Record Type" list.
3. Type the alternative name for the domain, for example WWW2 which will be another name for FTP.domain.com />4. Type the real Host name in "For Host DNS Name." (FTP.domain.com).
5. Click OK.
MX Record
An "MX Record" is an Exchange Record which points at your Mail Server.
1. Right click your "forward lookup zone", (Domain.com) > "New Record".
2. Choose MX Record from the "Record Type" list
3. Leave the "Host Name" field empty.
4. Type for example Mail.domain.com in the "Mail Exchange Server DNS Name".
5. Under "Preference Number" type a number between 0 and 65535. This number is used as a priority reference in case you have several mail servers, I recommend though, not starting from 1 as you might regret it if you one day decides to have an additional mail server with a higher priority then the first one. Therefore choose 10.
6. Click OK.