Dynamic DNS

If you want to set up a web server, ftp site or particularly a mail server, the one thing you need is a domain name. If you are like most of us, the cost of a static IP address is beyond reasonable. This project explains how you can link the dynamic IP address that you get from your ISP each time you connect to a real domain name like AcaciaLT.com.au.


Click here to check out other projects.

Click to search the Acacia site
Click to search using Google

Mail servers must talk directly to each other on the internet and to do this, they use domain names - not IP addresses, so a domain name is mandatory if you run a mail server.

If you are reading this at http://www.acacialt.com.au then you are seeing this project in action.

But, if you don't want to spend too much effort, you might like to get your hands on Smoothwall which provides a fairly complete firewall environment just by booting from a CD - cool!

Hardware

Hardware is pretty straight forward.

Services

This project relies on a number of services including:

Software

You need to get the following software:

Configuration

Follow the steps set out below to set it all up. I have provided links to reference sites, but if you are an experienced in Linux user, it is reasonably straight forward to use the GUI to configure all of these services.

A good master index of HOWTO's if you need more.

Ideas

Don't stop here. You now have most of what your ISP has so think about extending to:

Code

The following provides a working example of /etc/dhcpd.conf:

#--------------------------------------------------
# Global setting for this DHCP server
#--------------------------------------------------

# Define our domain
option domain-name "mydomain.com.au";

# Ensure that single hosts cannot grab too many addresses
one-lease-per-client true;

# We are the authoritive DHCP for the LAN
authoritative;

# DNS on aphrodite
option domain-name-servers 192.16.16.156;

# WINS on gweniver and hera
option netbios-name-servers 192.16.16.13;

# Default lease is 1hr 20 min
default-lease-time 4800;

# Leases for a max of 1 day
max-lease-time 92000;


#--------------------------------------------------
# Define a set of DHCP addresses
#--------------------------------------------------
subnet 192.16.16.0 netmask 255.255.255.0
{
	# Allocate 1 to 99
	range 192.16.16.1 192.16.16.99;

	# Class C network mask
	option subnet-mask 255.255.255.0;

	# All broadcasts on the network go here
	option broadcast-address 192.16.16.255;

	# Path to the internet
	option routers 192.16.16.156;
}

Click here to check out the list of other projects.

You may also like to click here to check out the list of Artificial Intelligence projects.

If you would like to get any further information on this or any of the other projects shown on this web site, please send an email to Acacia Lateral Technologies. or place a comment in our Guest Book

You might also like to submit your idea to our Free Ideas page for the benefit of other like-minded soles.