Build your DNS dynamic update system. This will involve configuring and deploying BIND on your (highest or middle)-numbered RULE host along with Apache and any scripts you develop. Depending upon which scripting language you choose to use, you may need to install and configure your system with other software via the ports tree.