[1000programacion] Ensim DNS configuration. Running your ouw nameservers

  • From: "tardo@xxxxxx " <tardo@xxxxxx>
  • To: "1000programacion@xxxxxxxxxxxxx" <1000programacion@xxxxxxxxxxxxx>
  • Date: Thu, 01 Feb 2007 11:51:20 +0100

This is assuming you've already done the request of an
additional ip for a nameserver, as well as setting up the name
server info with your registrar.

(*NOTE* Where srv01.domain.com is is where you insert what you
named your server. This could be secure.fred.com if you own
fred.com and want the server named secure or however you want
to do it. xx.xx.xx.xx represents the IP addresses you've been
assigned for your server.)

Log into your server via SSH2 as root or su - to root/super user

paste (done simply by right clicking into the terminal window
for those who don't know yet. ctrl + v and other windows
commands do NOT work the same in SSH environment. Don't use
them like you would use them for in windows!) in the commands
in bold and edit as stated



pico -w /etc/hosts

change xx.xx.xx.xx ensim.rackshack.net ensim
to xx.xx.xx.xx srv01.yourdomain.com ensim.rackshack.net ensim
(ensim.rackshack.net ensim can be removed once domains are
resolved, i've heard)
ctrl + x y [enter]



pico -w /etc/sysconfig/network

change HOSTNAME="ensim.rackshack.net"
to HOSTNAME="srv01.yourdomain.com"
ctrl + x y [enter]



hostname srv01.yourdomain.com (make sure you change your
domain to be YOUR domain)
service httpd restart
service webppliance restart



log into your ensim appliance control panel
click on sites
add name-based site (or IP-based, depending on how you do yours)
add in the info for your primary domain on the server



click on services
click on the edit button (the one with the pencil) next to BIND
click on Zones
click on the primary domain that you just added
in the drop down, select add an A record
fill out the fields with ns1 and the main ip for the server,
hit save
add another A record
fill out the fields with ns2 and the secondary ip for the server



click on configure
click on the edit button on your Primary Master
rename to ns1.domain.com (of course changing to your domain)
click on the edit for virtual DNS and enter in ns2.domain.com
with the second ip address.


http://forums.theplanet.com/index.php?showtopic=19353&hl=nameserver+howto




Other related posts:

  • » [1000programacion] Ensim DNS configuration. Running your ouw nameservers