Sysadmin:AddComputer: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
| Line 7: | Line 7: | ||
# Restart dhcpd by killing it and restarting it ''with the same command-line options''. There should be a <tt>/usr/local/etc/rc.d/isc-dhcpd.sh</tt> script now that we've upgraded to FreeBSD 5. | # Restart dhcpd by killing it and restarting it ''with the same command-line options''. There should be a <tt>/usr/local/etc/rc.d/isc-dhcpd.sh</tt> script now that we've upgraded to FreeBSD 5. | ||
# Copy dhcpd.conf to quarkprime, and restart dhcpd there as well. | # Copy dhcpd.conf to quarkprime, and restart dhcpd there as well. | ||
Note on CNAMEs: | |||
If you want to create a CNAME for foo.public.cs.earlham.edu that is bar.public.cs.earlham.edu, the definition will go into public.zone. On the other hand, if you wanted bar.cs.earlham.edu to be a CNAME for foo.public.cs.earlham.edu, the CNAME definition will go into cs.zone. | |||
Revision as of 15:33, 16 May 2006
These are the changes that need to be made if a computer is to be added to the CS network, follow these steps.
- Add the machine's hostname and IP address to /etc/namedb/master/cs.zone (or public.zone for the public network). Make sure to update the serial number at the top of the file, and to end hostnames with a period so that they are FQDN. Also make sure to use an IP address that is not already taken.
- Add the machine's reverse record to /etc/namedb/master/159.28.230.zone (or 159.28.231.zone for the public zone). The same rules as above apply.
- Restart DNS by sending a SIGHUP to the named process, or using the rndc reload command.
- Add the machine to /usr/local/etc/dhcpd.conf. You will need its Ethernet MAC address for this. Make sure to terminate each field with a semicolon.
- Restart dhcpd by killing it and restarting it with the same command-line options. There should be a /usr/local/etc/rc.d/isc-dhcpd.sh script now that we've upgraded to FreeBSD 5.
- Copy dhcpd.conf to quarkprime, and restart dhcpd there as well.
Note on CNAMEs: If you want to create a CNAME for foo.public.cs.earlham.edu that is bar.public.cs.earlham.edu, the definition will go into public.zone. On the other hand, if you wanted bar.cs.earlham.edu to be a CNAME for foo.public.cs.earlham.edu, the CNAME definition will go into cs.zone.