DNS

  1. log into the xns1 server

  2. >ssh admin@xns1
    >cd /usr/local/etc/named/master
    >co -l yeastgenome.org
    > vi a domain
    ## add a line that you wish to propagate.
    > dogs  IN A  171.67.205.126 ; on vm26
    >       IN MX 10 genome.stanford.edu
    ## update the serial no
    ## it is format of YYYMMDD01  change DD
    >2013052201  #change the 01 to 02 if you need to do it more than once.
    ## run the rndc command to update the zones
    >sudo rndc reload candidagenome.org 
    
    ### check to see if it works from any machine type:
    >host wymore-bud.candidagenome.org genetics-xns1.stanford.edu
    ## check the dmesg to see if there was an error on the named restart.
    >run dmesg  "to see if any errors"
    >dmesg
    You could also just query that server directly.  Something like
    
    >        host regulation.yeastgenome.org genetics-xns2
    >ci -u candidagenome.org
    >> changed the IP for canidi* .
    >> .
    ## use a simple period "." on it's own line to end the checkout session
    ## no ctrl-D or anything just the "." enter, that's it
    
    
  3. If you included an MX record update the mail server.

  4. >ssh admin@budlight >cd /etc/mail/local-host-names >vi /etc/mail/local-host-names ## add the hostname alphabetized by domain ## then restart sendmail >sudo /etc/init.d/sendmail restart # OR >sudo service sendmail restart