(This guide assumes knowledge of using vi, the unix editor.)
Note-1: because Loblolly.net is using Virtual Hosts, all new domains hosted by
Loblolly.net will have an IP address of either 216.61.157.139 for the main web server
or 216.61.157.141 for the secondary web server.
Note-2: if you do a nslookup on either number you will get adsl-216-61-157-139.ds1.hstntx.swbell.net or
adsl-216-61-157.141.ds1.hstntx.swbell.net and not www.loblolly.net or www2.loblolly.net.. Loblolly.net is not authoritative of the IP's; Southwest Bell is.. So far this has not been a problem, as nslookup of www.loblolly.net or any of the domains hosted by loblolly.net gives the correct IPS.
Note-3: Hope to have a setup script for automating this process..(August 1999?)
Ok... Onward to Little Bighorn...
logon to loblolly.net
do a whois to see if Loblloly.net is authoritative for the domain.
Where newdomainname is the domain name and ??? is either net, com or org.
$ whois newdomainname.???
For Loblolly.net to be authoritative for the new domain, you should see Loblolly's two dns servers listed;
dns1.loblolly.net 216.61.157.137 and dns2.loblolly.net 216.61.157.138.
Do a nslookup to see if it's setup, mail servers, where, etc.
$ nslookup -type=any newdomainname.???
Gain root. You must be root to do the following.
$ su
change to the etc directory
# cd /etc
then lets add the new domian to loblloy.net
# vi named.conf
you will need to add in the new domain::
zone "newdomainname.???" {
type master;
file "zone/???/newdomainname" {
};
Be sure that you have a blank line before and after these four lines.. Also, the space to the left of the middle two lines is a tab and not just spaces.. Cutting and pasting these four lines can put in spaces which can bomb DNS!!!
Once you have finished adding the newdomainname to named.conf, then change to:
# cd /var/named/zone/???
where the ??? are com, net, or org.
And then to check that you are in the correct directory..
# pwd
# cp master newdomainname
# vi newdomainname
Edit the previous domain name.. If the new domain is not using mail.lobblolly.net for mail, then edit the MX record part. Be sure that on the MX part that there is a 0, 10 or 20 before the mail server name. If this number is not there, nslookup -type=MX will not find the domain...
Increment the Serial number by 1. The serial number is at the top right.. This is/can be the creation date year+month+day+01. Unless the serial number is incremented, the change will not be immediate...
Take a look at the master for com's.
When done and saved the file, then---
# ndc restart
to restart the name server..
Now check the new domain to make sure its working.
# nslookup -type=any newdomainname.???
If it does not work then go back to the top and look for errors/typos...
Check to make sure another name server sees it ok..
# nslookup -q=mx newdomainname.??? moe.rice.edu
or
# nslookup -q=mx newdomainname.??? ns1.swbell.net
or
# nslookup -q=mx newdomainname.??? ns.neo.net
Check and make sure that Loblolly's dns1 and dns1 are the name servers
and the mail server is mail.loblolly.net...
That's all folks!!!
Last edited on May 26, 1999
mailto:hostmaster@loblolly.net