|ICQ, the instant messaging client, has a nice feature called "chkconfig." This little-known feature is actually a utility for analyzing and maintaining the syntax of configuring an IP-based network. A few years back, the only way to configure a domain name was to program in the required syntax by hand. However, a few savvy web hosting companies have devised a new method of automatically doing the job.|
The technique is called server time synchronization. Invented by web hosting giant Sun Microsystems, the technique enables the domain name to be automatically set during server startup. This is done by sending a TCP signal to the remote host, synchronizing the IP address and TCP settings. The IP address and other information necessary is then passed on to the remote computer. The rest of the world sees the IP address and the specified service name as existing details.
If you're wondering what all the fuss is about, well, basically it's all in the name. This nifty little tool allows you to easily stop or enable certain applications, depending on whether they're already enabled or not. In other words, you can easily customize your router or firewall according to what you prefer. So if you wish to tweak the startup process of your IP-based services, you'll do so by running your iptables chkconfig via the command line utility.
First, find your host name and its Internet Service Provider (ISP). Once you've got them, simply copy the IP address and other relevant information into Notepad, which is an online application. Type "restart" into the Notepad text box. You'll receive a menu of several choices, depending on your Windows version. Simply select the option that enables "server restart" and you're all set!
In order to enable the use of DNS servers on your firewall, use the same Notepad that you used to locate your domain name and IP address in step 1. Now, fill in the blanks. Note that you need to replace "domain name" with the actual domain name. After you have completed this step, reboot your system to start using the new IP-based domain name.
Now, you might find it useful to have a second Notepad for the reverse lookup. This Notepad should be used for regular updates and edits to the data contained in your domain-list. You will need to go to the control panel to enable the use of domain name registers. From here, you will need to click on "IP-adsense ressource" and then register a name for your website domain and sub-domain using the FQDN of your choosing.
From here, go to the sub-domain and register a name for it. Once you are finished, go to the registrar and enter in the IP address. Type in whatever information you have entered (note that the domain name should be entered last as spaces cause the information to be omitted from the server) and save the command.
The final step is to restart the Linux operating system. In case there are any problems, consult your manufacturer's documentation for troubleshooting tips. After rebooting, check whether chkconfig is being used to set the time and date and reboot again. If so, test to see whether the domain name you specified in the control panel is already in use. If not, add your domain name in the chkconfig menu, just like you did in step one.
Now, you can test your chkconfig command by supplying an IP address and pressing the s-arrow key. This should show the following lines: Server unable to locate hostname. There should be an open connection to the domain name system, allowing you to move on to the next step of configuring the DNS server.
The next thing you need to do is to add the IP of the specified user into the Linux kernel. You can do this by adding ip address options to your kernel command line. For instance, if you want to allow only the specified user to connect to the domain name system, enter "restrict" as the command to set up restrictions on the users and their connections. You can add other options to the configuration if you wish to, such as a firewall between the domain name system and the rest of the machine. Use "uci=local root" for a Windows machine to prevent network service interruption due to a firewall collision.
Finally, to configure the 80 port server, enter "uci=inetadp:80 ports." For more detailed information on 80 port settings, refer to Your Linux Networking Manual for the details. The final step is to restart the machine for the changes to take effect. In addition, this will allow you to establish any necessary protocols between the DNS server and your specific Internet connection.