The Berkeley Internet Name Domain (BIND) DNS (Domain Name System) server
Go to file
Tomas Hozza df0cae9e8b update RRL patch to the latest version 9.9.3-rl.150.20
Signed-off-by: Tomas Hozza <thozza@redhat.com>
2013-06-03 14:40:31 +02:00
.gitignore update to 9.9.3 2013-06-03 09:47:13 +02:00
bind93-rh490837.patch - useradd now takes "-N" instead of "-n" (atkac, #495726) 2009-04-24 15:29:06 +00:00
bind95-rh461409.patch - IDN output strings didn't honour locale settings (#461409) 2008-09-17 08:03:03 +00:00
bind97-dist-pkcs11.patch - update to 9.7.0b1 2009-11-03 11:06:16 +00:00
bind97-exportlib.patch update to 9.9.3rc2 2013-05-13 12:50:46 +02:00
bind97-rh478718.patch - fix multilib issue (#478718) [jgorig] 2010-03-01 14:12:40 +00:00
bind97-rh570851.patch host: handle "debug", "attempts" and "timeout" options in resolv.conf well 2010-08-10 13:27:02 +02:00
bind97-rh645544.patch Don't emit various informational messages by default (#645544). 2010-11-08 14:54:49 +01:00
bind97-rh669163.patch Minor bugfixes 2012-11-12 15:35:59 +01:00
bind97-rh693982.patch Some low-priority bugfixes & enhancements. 2011-08-31 15:09:46 +02:00
bind98-rh735103.patch Update to 9.8.1 and fix some bugs 2011-09-07 19:09:25 +02:00
bind99-buildfix.patch Update to 9.9.2 2012-10-11 13:34:19 +02:00
bind99-forward.patch Ship dns/forward.h in -devel subpkg. 2011-12-07 16:22:12 +01:00
bind99-libidn4.patch Fix IDN related statement in dig.1 manpage 2012-12-20 14:40:30 +01:00
bind99-rh640538.patch Minor bugfixes 2012-11-12 15:35:59 +01:00
bind99-rrl.patch Ship dns/rrl.h in -devel subpkg 2013-04-16 16:44:05 +02:00
bind99-stat.patch Install isc/stat.h 2012-10-11 16:07:10 +02:00
bind-9.3.1rc1-sdb_tools-Makefile.in - update to 9.7.0a3 2009-09-16 11:09:13 +00:00
bind-9.3.2-redhat_doc.patch - 9.6.0rc1 release 2008-12-03 12:38:21 +00:00
bind-9.3.2b1-fix_sdb_ldap.patch - updated patches due new rpm (--fuzz=0 patch parameter) 2008-07-21 10:47:18 +00:00
bind-9.3.2b2-sdbsrc.patch - update to 9.7.0a2 2009-09-15 12:56:46 +00:00
bind-9.5-dlz-64bit.patch apply all non-SDB patches before SDB ones (#804475) 2012-04-24 14:59:30 +02:00
bind-9.5-libidn2.patch - fixed shutdown with initscript when rndc doesn't work (#417431) 2007-12-11 12:23:32 +00:00
bind-9.5-libidn3.patch - fixed regression caused by libidn2 patch (#426348) 2007-12-20 13:46:29 +00:00
bind-9.5-libidn.patch - update to 9.7.0b1 2009-11-03 11:06:16 +00:00
bind-9.5-parallel-build.patch - removed bind-9.3.2-prctl_set_dumpable.patch (upstream) 2008-01-22 16:57:44 +00:00
bind-9.5-PIE.patch - build with -D_GNU_SOURCE (#431734) 2008-02-11 17:11:26 +00:00
bind-9.5-sdb-sqlite-bld.patch Rebase to 9.8.1rc1 and update patches. 2011-08-31 15:00:04 +02:00
bind-9.5-sdb.patch Update to 9.9.3rc1 2013-04-16 15:42:36 +02:00
bind-9.9.1-P2-dlz-libdb4.patch Fixed config.dlz.in so library path is included 2012-07-30 17:43:11 +02:00
bind-9.9.1-P2-multlib-conflict.patch update to 9.9.3rc2 2013-05-13 12:50:46 +02:00
bind-9.9.3-include-update-h.patch update to 9.9.3 2013-06-03 09:47:13 +02:00
bind-95-rh452060.patch - 9.6.0rc1 release 2008-12-03 12:38:21 +00:00
bind-96-dyndb.patch Update to 9.9.2 2012-10-11 13:34:19 +02:00
bind-96-old-api.patch - updates due libtool 2.2.6 2008-11-24 12:59:15 +00:00
bind-nonexec.patch - update to 9.7.0rc2 2010-01-28 11:31:36 +00:00
bind.spec update RRL patch to the latest version 9.9.3-rl.150.20 2013-06-03 14:40:31 +02:00
bind.tmpfiles.d Update to 9.9.3rc1 2013-04-16 15:42:36 +02:00
dnszone.schema dnszone LDAP schema (http://www.venaas.no/ldap/bind-sdb/dnszone-schema.txt) 2005-02-17 17:18:07 +00:00
generate-rndc-key.sh Renerate /etc/rndc.key during named service startup if doesn't exist 2012-12-20 14:34:39 +01:00
ldap2zone.1 - add man-pages ldap2zone.1 zonetodb.1 zone2sqlite.1 named-sdb.8 (#525655 2010-03-15 15:50:51 +00:00
ldap2zone.c - updates due libtool 2.2.6 2008-11-24 12:59:15 +00:00
named-chroot.service Move pidfile to /run/named/named.pid 2013-03-19 16:03:18 +01:00
named-sdb-chroot.service Move pidfile to /run/named/named.pid 2013-03-19 16:03:18 +01:00
named-sdb.8 - add man-pages ldap2zone.1 zonetodb.1 zone2sqlite.1 named-sdb.8 (#525655 2010-03-15 15:50:51 +00:00
named-sdb.service Move pidfile to /run/named/named.pid 2013-03-19 16:03:18 +01:00
named.conf.sample Include managed-keys-directory statement in named.conf.sample (#948026) 2013-05-03 12:55:45 +02:00
named.empty - major changes in initscript. Could be LSB compatible 2007-06-14 15:13:02 +00:00
named.logrotate retire initscript in favour of systemd unit files (#719419) 2012-01-30 16:59:01 +01:00
named.NetworkManager Fixed bad path to systemctl in /etc/NetworkManager/dispatcher.d/13-named (#844047) 2012-07-30 15:18:43 +02:00
named.service Renerate /etc/rndc.key during named service startup if doesn't exist 2012-12-20 14:34:39 +01:00
named.sysconfig retire initscript in favour of systemd unit files (#719419) 2012-01-30 16:59:01 +01:00
nslookup-norec.patch Fix segfault in host/nslookup (#878139) 2013-05-17 09:58:20 +02:00
README.sdb_pgsql fix bug 171226 2005-10-19 20:22:48 +00:00
rl-9.9.3.patch update RRL patch to the latest version 9.9.3-rl.150.20 2013-06-03 14:40:31 +02:00
setup-named-chroot.sh Move pidfile to /run/named/named.pid 2013-03-19 16:03:18 +01:00
sources update to 9.9.3 2013-06-03 09:47:13 +02:00
trusted-key.key Update to 9.8.1 and fix some bugs 2011-09-07 19:09:25 +02:00
zone2sqlite.1 - add man-pages ldap2zone.1 zonetodb.1 zone2sqlite.1 named-sdb.8 (#525655 2010-03-15 15:50:51 +00:00
zonetodb.1 - add man-pages ldap2zone.1 zonetodb.1 zone2sqlite.1 named-sdb.8 (#525655 2010-03-15 15:50:51 +00:00

			PGSQL BIND SDB driver

The postgresql BIND SDB driver is of experimental status and should not be 
used for production systems.

Usage:

o Use the named_sdb process ( put ENABLE_SDB=yes in /etc/sysconfig/named )

o Edit your named.conf to contain a database zone, eg. :
  
zone "pgdb.net." IN {
        type master;
        database "pgsql  bind        pgdb     localhost pguser pgpasswd";
        #                ^- DB name  ^-Table  ^-host    ^-user ^-password
};

o Create the database zone table
  The table must contain the columns "name", "rdtype", and "rdata", and
  is expected to contain a properly constructed zone.  The program "zonetodb"
  creates such a table.
  
  zonetodb usage:
    
    zonetodb origin file dbname dbtable

    where
	origin : zone origin, eg "pgdb.net."
	file   : master zone database file, eg. pgdb.net.db
	dbname : name of postgresql database 
        dbtable: name of table in database

    Eg. to import this zone in the file 'pgdb.net.db' into the 'bind' database 
        'pgdb' table:

---
#pgdb.net.db:
$TTL 1H
@       SOA     localhost.      root.localhost. (       1
                                                3H
                                                1H
                                                1W
                                                1H )
        NS      localhost.
host1   A       192.168.2.1
host2   A       192.168.2.2
host3   A       192.168.2.3
host4   A       192.168.2.4
host5   A       192.168.2.5
host6   A       192.168.2.6
host7   A       192.168.2.7
---

Issue this command as the pgsql user authorized to update the bind database:
 
# zonetodb pgdb.net. pgdb.net.db bind pgdb

will create / update the pgdb table in the 'bind' db:

$ psql -dbind -c 'select * from pgdb;'
      name      | ttl  | rdtype |                        rdata
----------------+------+--------+-----------------------------------------------------
 pgdb.net       | 3600 | SOA    | localhost. root.localhost. 1 10800 3600 604800 3600
 pgdb.net       | 3600 | NS     | localhost.
 host1.pgdb.net | 3600 | A      | 192.168.2.1
 host2.pgdb.net | 3600 | A      | 192.168.2.2
 host3.pgdb.net | 3600 | A      | 192.168.2.3
 host4.pgdb.net | 3600 | A      | 192.168.2.4
 host5.pgdb.net | 3600 | A      | 192.168.2.5
 host6.pgdb.net | 3600 | A      | 192.168.2.6
 host7.pgdb.net | 3600 | A      | 192.168.2.7
(9 rows)

I've tested exactly the above configuration with bind-sdb-9.3.1+ and it works OK.

NOTE: If you use pgsqldb SDB, ensure the postgresql service is started before the named
      service .

USE AT YOUR OWN RISK!