Atomia DNS

Updates

5 views 0

Overview

To install an update, complete the following steps:

  1. Update all packages:
    apt-get update
    
  2. Note the version number of the package currently installed.
  3. Install updates using:
    apt-get install atomiadns-nameserver /etc/init.d/atomiadns-nameserver restart
    

If you for some reason want to rollback to the previous version, then run:

apt-get install atomiadns-nameserver=version-number-noted

Any changes in the dependencies will be handled appropriately by the installation package, upgrading or installing them as needed.

Where to get updates?

Updates are distributed using the Atomia APT repository. If not done, then add the Atomia APT Repository to the server using:

wget -q -O - http://public.apt.atomia.com/setup.sh.shtml | sed s/%distcode/`lsb_release -c | awk '{ print $2 }'`/g | sh

Atomia DNS Building new Bind-DLZ RPMS

To build new RPMS for Bind-DLZ whenever an important new release is made we use the following steps:

  1. Login to build machine for the OS release in question (e.g. RHEL5, RHEL4 etc).
  2. Download bind9_rhel5_rpm.patch and place it in /usr/src/redhat
  3. Checkout redhat package sources:
    cvs -d ":pserver:[email protected]:/cvs/pkgs" co rpms/bind
    
  4. Use the latest non-devel version of the spec:
    cd rpms/bind/F-12
    
  5. Patch the package sources to include the things we need:
    patch -p1 < /usr/src/redhat/bind9_rhel_rpm.atomia.patch
    
  6. Build the SRPM:
    rm *rpm ; make srpm
    
  7. Install the sources and SPEC-file:
    rpm -i *rpm
    
  8. Build it:
    cd /usr/src/redhat/SPECS && rpmbuild -bb --sign bind.spec
    

Was this helpful?