Revision 1 as of 2008-08-20 00:23:06

Clear message

As well as traditional routing, switching and filtering, UCC runs a number of network services to make life easier.

DNS

There is a BIND 9 installation on mooneye, with domain data stored in /etc/bind/domains. To make DNS administration (ostensibly) simpler, A records for the ucc.asn.au and ucc.gu.uwa.edu.au zones, and reverse lookups for UCC's subnets are managed through one file, /etc/bind/domains/primary/ucc.machines. From this, a UCC-made script called zonemake.py creates the actual zonefile to be loaded by BIND. The syntax for ucc.machines is fairly simple, and there is some documentation in /etc/bind/domains/primary. Server administration is in /etc/bind/named.conf.local. If you modify ucc.machines remember to run zonemake.py})}. If you modify anything, remember to run {{{rndc reload to make sure your changes are loaded (also remember to increment the serial in the zonefile you're editing - but you already knew that, right?). Some wheel members find it useful to watch daemon.log to catch any errors in configuration as the server reloads. A good policy is to always run:

rndc reload && tail -f /var/log/daemon.log

after you have been fiddling with DNS.

DHCP

DHCP runs on madako and its configuration file lives at /etc/dhcp3/dhcpd.conf. The same file is used for both assigning static addresses to clubroom machines (by MAC address) and to assign addresses from a pool to wireless clients and unknown new devices on the wired network. How to assign static IP addresses should be fairly self-evident from the plethora of other machines already set up with static addresses, but the rest is caveat immutor.

How can we see the current leases?