Sysadmin:AddComputer: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
| Line 4: | Line 4: | ||
# 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. | # 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 <tt>rndc reload</tt> command. | # Restart DNS by sending a SIGHUP to the named process, or using the <tt>rndc reload</tt> command. | ||
# Add the machine to / | # Add the machine to forty-one:/etc/dhcp3/dhcpd.conf. You will need its Ethernet MAC address for this. Make sure to terminate each field with a semicolon. | ||
# Restart dhcpd by | # Restart dhcpd by running the command /etc/init.d/dhcp3-server restart | ||
# 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: | 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. | 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 14:37, 27 October 2008
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 forty-one:/etc/dhcp3/dhcpd.conf. You will need its Ethernet MAC address for this. Make sure to terminate each field with a semicolon.
- Restart dhcpd by running the command /etc/init.d/dhcp3-server restart
- 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.