BIND 9.6.1b1 64bit version for Solaris 10 sparc edition


Cincopa video hosting solution for your website. Another great product from Cincopa Send Files.

I just done porting DNS server BIND 9.6.1b1 to Sun Solaris 10 x64 bit sparc edition binary. It’s fully tested and runned on the Sun Fire T2000 with 16 core SUNW,UltraSPARC-T1 1000MHz. This binary compiled with Sun Studio 12 C compiler and therefore not necessary to use or install addition GnuCC C libraries in to the system. Also for copyright my works I signed all binaries with my contact details.

You can download it from rapidshare:

http://rapidshare.com/files/232342746/bind-9.6.1b1_ready_compiled_x64bit.tar.bz2.

For correct configuration and additional required settings and administration, please read bellow book:

BIND 9 Administrator Reference Manual

To right running this build of DNS Bind v9 is necessary to extract archive from the root “/” path of file system in Solaris OS:

1) cd /
2)bzip2 –dc /bind-9.6.1b1_ready_compiled_x64bit.tar.bz2|tar xf -

Before launching bind server is necessary to create named.conf configuration file and put in to the folder /opt/SUNWbind9.6/etc/

This is sample of named.conf file:

//
// BIND Configuration file.

key “rndc-key” { // necessary to protect remote management bind server over network from unauthorized rndc access
        algorithm hmac-md5;
        secret “lkEeepp902UE1y7wr+hNJCppTmkjSMzBtBj5W0TD1+Oq8zwSHCJ/LWqjJ4JFNQhCvVQnv63UriEDuVUxyd9Qjg==”;
};
options
{
directory “/opt/SUNWbind9.6/var/run”;
pid-file “/opt/SUNWbind9.6/var/run/named.pid”;
allow-query { any; };              // This is the default
recursion yes;                      // Do not provide recursive service
};

zone “0.0.127.in-addr.arpa” { // resolving IP to name for loop-back device
     type master;
     file “/opt/SUNWbind9.6/var/zones/127.0.0.rev”;
};

zone “localdomain” { // resolving name to IP for loop-back device
        type master;
        file “/opt/SUNWbind9.6/var/zones/localdomain”;
};

zone “.” { // this is root dot
        type hint;
        file “/opt/SUNWbind9.6/var/zones/named.root”;
};

Then you can start BINDv9 by command:

/opt/SUNWbind9.6/sbin/named -c /opt/SUNWbind9.6/etc/named.conf

If you use key based authorization mode for manage bindv9 remotely then you must put rndc.key file in to the /opt/SUNWbind9.6/etc/ folder.

This is example of rndc.key file:

key “rndc-key” {
        algorithm hmac-md5;
        secret “lkEeepp902UE1y7wr+hNJCppTmkjSMzBtBj5W0TD1+Oq8zwSHCJ/LWqjJ4JFNQhCvVQnv63UriEDuVUxyd9Qjg==”;
};

As you can see before – the same strings must be present in named.conf file to be granted for managing bind dns server remotely.
To get status of bind dns server just execute command:

# rndc status

and you got the same equal output:

version: 9.6.1b1 64bit version for Solaris 10 sparc edition
Developed by Eldar Aydayev
UNIX Systems Professional Engineer
Aydayev’s Investment Business Group
Phone: +90-5338799870
E-mail: eldar@aydayev.com
CPUs found: 1
worker threads: 1
number of zones: 18
debug level: 0
xfers running: 0
xfers deferred: 0
soa queries in progress: 0
query logging is OFF
recursive clients: 12/0/1000
tcp clients: 0/100
server is up and running

to get statistics report:

# rndc stats

and it will write out report to the file named.stats in “/opt/SUNWbind9.6/var/run folder as pointed it from named.conf file with directory “/opt/SUNWbind9.6/var/run” option. Also you can start debugging of DNS query online without restarting BIND server by command:

# rndc trace ‘number’ , where ‘number’ from 1 to 9 will give different debug deep mode and extra detail information and write it out continuously into named.run file.

It’s strongly recommended no to leave bind in this mode (debug mode) more long time by reason of extra increased named.run file which can fill whole file system.

Share and Enjoy:
  • Digg
  • Facebook
  • Google Bookmarks
  • LinkedIn
  • Live
  • Print
  • Slashdot
  • email
  • Identi.ca
  • MySpace
  • PDF
  • Twitter
  • Yahoo! Bookmarks

Related posts



Leave a Reply

You must be logged in to post a comment.