DNS4Windows

From CTWUG Wiki
Revision as of 18:19, 19 December 2010 by Pmurgs (talk | contribs) (New page: = DNS Service for Windows = BIND is the most common dns server used on the internet. ISC BIND is a dns (domain name system) service for Microsoft Windows. Dns is the system used to turn r...)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

DNS Service for Windows

BIND is the most common dns server used on the internet. ISC BIND is a dns (domain name system) service for Microsoft Windows. Dns is the system used to turn readable url names into ip addresses (eg: server.pmurgs.ctwug.za to 172.18.91.5). When you type in a readable name, your computer asks a dns provider to look up the ip address and then your computer makes contact with the remote computer by using it's ip address.

Why would I want my own dns service

On ctwug, we have one primary dns provider at 172.18.1.1 provided by jaja. See the DNS Wiki page for more information. This services provides both name to ip translation for ctwug addresses and internet addresses (eg: google.com into 209.85.148.99). If you have far from this provider in wug terms (i.e. many hops) you may find the dns to be extremely slow outside of gametime when the ctwug network is flooded with traffic compared to using your own internet isp dns provider. You connection to your internet service provider should be extremely quick in ping times compared to using the ctwug dns. Installing and setting up ISC BIND as a dns forwarder on your pc / network will allow you to have the best of both worlds in terms of speed. Basically you route internet dns queries out to your isp to be resolved very quickly and ctwug dns queries on to the ctwug dns service.

Why can't I just use my internet isp provided dns since its so fast all the time

Since ctwug allocates ip addresses in the 172.18.X.X range which is a reserved range not to be used on the internet, but to be used for private networks, there are no dns services on the internet that know how to translate your .ctwug.za.net address to a ctwug ip address. There are certain .ctwug.za.net addresses (such as wind.ctwug.za.net) on the internet which can be accessed over the internet, but these are specially setup and resolve to an internet ip address (not ctwug) and traffic to that ip address will go over the internet. On the ctwug network, these sites have a different ctwug ip address for accessing them over the ctwug network.

So whats involved with setting up ISC BIND for Windows

Obtaining and installing ISC BIND

You need to download and install ISC BIND for Windows. You can find the latest version here www.isc.org (internet link as there is no point installing ISC BIND if you do not have your own internet connection).

Run the BINDInstall.exe file to install ISC BIND. This will install ISC BIND on your machine as a Windows service. The service can be stopped and started and set to automatically start with your pc from the Windows Management Console application (under Windows 7: right click "My computer", click on "Manage", go to "Services and Applications" and then "Services").

Configuring ISC BIND

BIND requires a configuration file called named.conf in the \etc directory which is created by the installer program.