These are my training notes from when I transferred into Engineering in 2002 or so. I keep them on the web because I still refer to these now and again… generally for Unix commands I’ve spaced. Heh!
DNS FOR NEW WEB SITES – NEW WAY
./add_domain domain.com ipaddress
./add_domain domain.com IP.IP.IP.IP
:%s/86400/300/g (‘g’ to change refresh/TTL globally)
/usr/local/bin – ./remove_domain dom.ext (remove and rename to domext.old.db)
DNS FOR NEW WEB SITES – OLD WAY
1. In FM db, locate next In Process record.
2. Check whois to determine if the domain is available.
(a) Use F9 on Madison, and/or
(b) Use whois at OpenSRS or at Network Solutions.
3. Go here and apply for the domain name.
(a) Choose Place Order Manually. Enter the request for the domain name.
(b) Always copy the domain name from the FM record to avoid typos.
(c) Contact email is always admin-at-lisco-dot-com
(d) For renewals:
i. Check on the primary DNS server first, to see that the record is really expired.
1. F9 and domain name
ii. If they want it renewed for more than one year (the default), remember to change it after it’s been approved.
4. Update the FM record with the application info.
(a) Remember to copy the SRS ID number back into FM db.
5. Get the next available IP address.
(a) cd /etc/namedb
(b) vi XXXX.XX-rev.db
(c) add a new record at the bottom of the file:
i. Ctrl-F to page down
ii. o to create a new line and start with insert mode
iii. Copy info on preceding line (or type it in)
(d) Write down the new domain’s IP address.
(e) Update the serial number (page up is Ctrl-U)
(f) 😡 to Save the file.
6. Edit/update all three DNS servers.
(a) vi /etc/named.conf
(b) Find the entry alphabetically preceding the new domain (/domain_name to find) and copy it.
i. Ctrl-F to page down
ii. 5yy (DNS1) or 8yy (DNS2, DNS3) to yank lines
iii. Insert the copy (P to paste).
(c) Update the new entry with the new domain’s info.
i. Delete the old name (dw = delete word)
ii. Shift-Ins the domain name (copied from FM)
iii. Verify the type of domain (ex. .com, .org, .net)
(d) 😡 to Save the updated file.
(e) On DNS1, copy the temp file and make a new db record for the new domain name
i. cp temp.db domain.db
ii. vi domain.db
2. If a suffix other than .com:
b. change the “com” on the ORIGIN line to proper suffix.
(f) Change IP by adding the final octet
(g) Change/update serial number
i. r for replace
(h) 😡 to Save the updated file.
(i) After completion, reload all three (F11) on DNS1.
7. Check log for errors on all three servers.
(a) cat /var/log/daemon.log |grep domain
8. Create the site on web server.
(a) Go to http://webserver_name/admin/ and add a virtual site.
(b) Add a user.
i. Get the requested username and password from the FM record.
ii. Make sure you give this user admin access.
(c) Test the site.
(d) Email welcome.
9. IF the site is to be FrontPage enabled, telnet into web server and enable FrontPage extensions.
(a) Enable FrontPage.
(b) Enable subwebs.
10. Do a whois a day or so later to determine that the application is complete.
(a) F9 then type domain name.
(b) Email welcome domain when the domain is active in whois.
(c) Change status in FM to Active.