The Berkeley Internet Name Domain (BIND) DNS (Domain Name System) server
Go to file
2007-05-22 14:49:04 +00:00
.cvsignore updated to 9.4.1 which contains fix to CVE-2007-2241 2007-05-02 14:47:24 +00:00
bind-9.2.0rc3-varrun.patch auto-import changelog data from bind-9.2.0-0.72.1.src.rpm 2004-09-09 03:31:34 +00:00
bind-9.2.2-nsl.patch auto-import changelog data from bind-9.2.2.P3-9.src.rpm 2004-09-09 03:34:55 +00:00
bind-9.3.1-dbus_archdep_libdir.patch updated to 9.4.0 bind-chroot-admin now using restorecon instead chcon 2007-03-06 15:32:16 +00:00
bind-9.3.1-next_server_on_referral.patch further 160914 fix: test for RD=1 and RA=0 also as suggested by ISC and for 2005-08-17 02:28:17 +00:00
bind-9.3.1-redhat_doc.patch fix bug 155848 2005-05-18 02:27:44 +00:00
bind-9.3.1-sdb_dbus.patch updated to 9.4.0 bind-chroot-admin now using restorecon instead chcon 2007-03-06 15:32:16 +00:00
bind-9.3.1beta2-openssl-suffix.patch bind-9.2.4-config.patch upgraded for 9.3.1 configure.in 2005-02-16 20:15:56 +00:00
bind-9.3.1rc1-fix_libbind_includedir.patch do not let libbind include files wipe out system headers! 2005-02-19 00:08:17 +00:00
bind-9.3.1rc1-sdb_tools-Makefile.in we need this one again 2006-09-15 14:45:20 +00:00
bind-9.3.1rc1-sdb.patch updated to 9.4.0 bind-chroot-admin now using restorecon instead chcon 2007-03-06 15:32:16 +00:00
bind-9.3.2-prctl_set_dumpable.patch allow named ability to generate core dumps after setuid (upstream bug 2006-04-04 20:54:16 +00:00
bind-9.3.2-redhat_doc.patch - bind-chroot-admin is now in chroot package 2007-03-12 15:15:37 +00:00
bind-9.3.2b1-fix_sdb_ldap.patch Upgrade to 9.3.2rc1 2005-12-03 00:10:48 +00:00
bind-9.3.2b1-PIE.patch updated to 9.4.0 bind-chroot-admin now using restorecon instead chcon 2007-03-06 15:32:16 +00:00
bind-9.3.2b2-no_servfail_stops.patch Upgrade to 9.3.2rc1 2005-12-03 00:10:48 +00:00
bind-9.3.2b2-sdbsrc.patch Upgrade to 9.3.2rc1 2005-12-03 00:10:48 +00:00
bind-9.3.3-edns.patch updated to 9.4.0 bind-chroot-admin now using restorecon instead chcon 2007-03-06 15:32:16 +00:00
bind-9.3.3rc2-dbus.patch - bind-chroot-admin is now in chroot package 2007-03-12 15:15:37 +00:00
bind-9.3.3rc2-rndckey.patch updated to 9.4.0 bind-chroot-admin now using restorecon instead chcon 2007-03-06 15:32:16 +00:00
bind-9.3.4-sdb-sqlite-src.patch - bind-chroot-admin is now in chroot package 2007-03-12 15:15:37 +00:00
bind-9.4.0-dbus-race-condition.patch - fixed race-condition in dbus code (#235809) 2007-04-27 13:45:53 +00:00
bind-9.4.0-dig-idn.patch - renamed idn patches 2007-04-18 11:25:21 +00:00
bind-9.4.0-dnssec-directory.patch forgot add patch file :) 2007-04-11 15:57:47 +00:00
bind-9.4.0-idnkit-autotools.patch - renamed idn patches 2007-04-18 11:25:21 +00:00
bind-9.4.0-sdb-sqlite-bld.patch - bind-chroot-admin is now in chroot package 2007-03-12 15:15:37 +00:00
bind-9.4.0-zone-freeze.patch - fixed bind-chroot-admin dynamic zone update handling 2007-05-22 14:39:30 +00:00
bind-9.4.1-ldap-new-api.patch - minor correction in ldap-api patch for backward compatibility 2007-05-22 14:49:04 +00:00
bind-bsdcompat.patch updated to 9.4.0 bind-chroot-admin now using restorecon instead chcon 2007-03-06 15:32:16 +00:00
bind-chroot-admin.in fixed bind-chroot-admin dynamic DNS handling (#239149) 2007-05-15 12:17:17 +00:00
bind-nonexec.patch auto-import changelog data from bind-9.2.4rc6-1.src.rpm 2004-09-09 03:37:57 +00:00
bind.spec - changed dist flag in changelog to fc8 2007-05-22 14:41:10 +00:00
Copyright.caching-nameserver - replace caching-nameserver with bind-config sub-package 2006-03-07 04:25:38 +00:00
dnszone.schema dnszone LDAP schema (http://www.venaas.no/ldap/bind-sdb/dnszone-schema.txt) 2005-02-17 17:18:07 +00:00
keygen.c fix bug 178942: undefined dns-keygen exit status 2006-01-27 16:15:18 +00:00
libbind-9.3.1rc1-fix_h_errno.patch fix bug 150288 - libbind not accessing or setting h_errno correctly 2005-03-10 03:20:29 +00:00
libbind.pc fixed some building problems 2007-01-22 13:25:36 +00:00
localdomain.zone - replace caching-nameserver with bind-config sub-package 2006-03-07 04:25:38 +00:00
localhost.zone - replace caching-nameserver with bind-config sub-package 2006-03-07 04:25:38 +00:00
Makefile Setup of module bind 2004-09-09 03:29:05 +00:00
named-dbus.conf - fix bug 168302: use %{__cc} for compiling dns-keygen 2005-09-26 23:23:17 +00:00
named.broadcast - replace caching-nameserver with bind-config sub-package 2006-03-07 04:25:38 +00:00
named.caching-nameserver.conf - fixed race-condition in dbus code (#235809) 2007-04-27 13:45:53 +00:00
named.conf.sample fix bugs 191093, 189789; backport selected fixes from upstream v9_3_3b1 CVS 2006-06-14 05:26:43 +00:00
named.init named.init tunning 2006-12-06 11:37:20 +00:00
named.ip6.local - replace caching-nameserver with bind-config sub-package 2006-03-07 04:25:38 +00:00
named.local - replace caching-nameserver with bind-config sub-package 2006-03-07 04:25:38 +00:00
named.logrotate auto-import changelog data from bind-9.2.2.P3-9.src.rpm 2004-09-09 03:34:55 +00:00
named.rfc1912.zones suppressed messages from bind-chroot-admin, cleared notes about bind-config 2006-09-05 11:03:16 +00:00
named.rfc1912.zones.sample fix bug 186577 - libbind.pc, more .spec file cleanup; add sample 2006-03-30 00:52:34 +00:00
named.root - replace caching-nameserver with bind-config sub-package 2006-03-07 04:25:38 +00:00
named.root.hints fix bug 186577 - libbind.pc, more .spec file cleanup; add sample 2006-03-30 00:52:34 +00:00
named.service - fix bug 168302: use %{__cc} for compiling dns-keygen 2005-09-26 23:23:17 +00:00
named.sysconfig update to auto-enable of D-BUS if NetworkManager enabled 2006-07-20 18:40:14 +00:00
named.zero - replace caching-nameserver with bind-config sub-package 2006-03-07 04:25:38 +00:00
namedGetForwarders added namedGetForwarders written in shell (#176100) 2007-01-04 14:37:49 +00:00
namedSetForwarders script to set named forwarders with D-BUS 2005-11-13 19:40:55 +00:00
README.sdb_pgsql fix bug 171226 2005-10-19 20:22:48 +00:00
rfc1912.txt auto-import changelog data from bind-9.2.1-8.src.rpm 2004-09-09 03:33:42 +00:00
sources updated to 9.4.1 which contains fix to CVE-2007-2241 2007-05-02 14:47:24 +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!