====== DNS_&_DHCP ====== ===== Configuring DHCP and DNS with Dynamic Updates ===== These instructions set up multiple dhcp servers listening on different network segments. Each pool will be split into multiple blocks, assigning blocks to different users (on a manual basis). Unrecognised clients are put in a visitors pool. Any host can be given a fixed ip, and an fqdn in dns. ===== Installation ===== ''0@@'' ===== Configuration ===== ==== Named ==== The master name server runs on [[Santo]], and is slaved by [[River]]. There are two views configured: ''internal'' and ''external''. The internal view holds ''jellybean.sihnon.net'', which receives dynamic updates from the DHCP server and maps hostnames to private IP addresses. The external view of jellybean.sihnon.net contains aliases to the A records for NAT'd services. The ''sihnon.net'' zone is present in both views. The slave is configured with the same views, and is set up to transfer the internal zone using a private IP address, and the external zone using a public IP address. Configuration is stored in subversion, under [[https://dev.sihnon.net/svnpriv/configs/named/master/|configs:/named/master/]]. {{Note|The ''/etc/bind'' and ''/var/bind'' directories are symlinked to ''/etc/named'' and ''/var/named'' respectively.}} ==== DHCP ==== Configuration is stored in subversion, under [[https://dev.sihnon.net/svnpriv/configs/dhcp/master/|configs:/dhcp/master/]]. ===== See also ===== * [[http://zytrax.com/books/dns/|DNS for Rocket Scientists]]