The Berkeley Internet Name Domain (BIND) DNS (Domain Name System) server
Go to file
2017-12-15 15:20:27 +01:00
tests add tests 2017-12-11 18:15:11 +02:00
.gitignore Update named.ca, move named.conf out of config archive 2017-08-16 22:47:09 +02:00
bind93-rh490837.patch - useradd now takes "-N" instead of "-n" (atkac, #495726) 2009-04-24 15:29:06 +00:00
bind97-exportlib.patch update to 9.9.3rc2 2013-05-13 12:50:46 +02:00
bind97-rh478718.patch Fix changed patches 2017-06-15 21:42:29 +02:00
bind97-rh645544.patch update to bind-9.9.4rc2 2013-09-09 12:35:04 +02:00
bind97-rh669163.patch Minor bugfixes 2012-11-12 15:35:59 +01:00
bind97-rh693982.patch Update to 9.11.2b1 2017-08-08 17:14:41 +02:00
bind98-rh735103.patch Update to 9.10.1-P1 stable 2015-01-14 12:47:51 +01:00
bind99-rh640538.patch Update to 9.10.4-P1 2016-05-26 17:23:15 +02:00
bind-9.3.1rc1-sdb_tools-Makefile.in Update to 9.10.4-P1 2016-05-26 17:23:15 +02:00
bind-9.3.2-redhat_doc.patch Update to 9.10.4-P1 2016-05-26 17:23:15 +02:00
bind-9.3.2b1-fix_sdb_ldap.patch Update to 9.11.0-P1 2016-11-16 08:46:09 +01:00
bind-9.3.2b2-sdbsrc.patch Update to 9.10.4-P1 2016-05-26 17:23:15 +02:00
bind-9.5-dlz-64bit.patch Update to 9.9.6 2014-10-03 11:21:38 +02:00
bind-9.5-PIE.patch - build with -D_GNU_SOURCE (#431734) 2008-02-11 17:11:26 +00:00
bind-9.9.1-P2-dlz-libdb.patch Update to 9.9.6 2014-10-03 11:21:38 +02:00
bind-9.9.1-P2-multlib-conflict.patch Update to 9.10.3rc1 (#1259690) 2015-09-04 01:50:26 +02:00
bind-9.10-dist-native-pkcs11.patch Update to 9.11.2 2017-08-14 12:17:30 +02:00
bind-9.10-sdb-sqlite-bld.patch Update to 9.10.1-P1 stable 2015-01-14 12:47:51 +01:00
bind-9.10-sdb.patch Fix changed patches 2017-06-15 21:42:29 +02:00
bind-9.10-use-of-strlcat.patch Update to 9.10.4-P1 2016-05-26 17:23:15 +02:00
bind-9.11-dlz-mysql-modules.patch Distribute DLZ modules in separate packages. 2017-07-14 16:49:47 +02:00
bind-9.11-dlz-mysql.patch Use mysql_config for SDB variant 2017-07-14 16:49:47 +02:00
bind-9.11-rh1205168.patch Fix dynamic symbols conflict with ldap (#1205168) 2017-10-31 17:11:44 +01:00
bind-9.11-rh1410433.patch RTLD_DEEPBIND conflicts with pkcs11 libraries, skip it for dyndb (#1410433) 2017-01-18 17:22:50 +01:00
bind-9.11-rh1484451.patch Fix nsupdate GSSAPI auth against AD server (#1484451) 2017-09-13 17:59:46 +02:00
bind-95-rh452060.patch Fix changed patches 2017-06-15 21:42:29 +02:00
bind-96-old-api.patch - updates due libtool 2.2.6 2008-11-24 12:59:15 +00:00
bind-99-libidn.patch Fix changed patches 2017-06-15 21:42:29 +02:00
bind.spec Own python3-bind isc directory (#1522944) 2017-12-15 15:20:27 +01: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 Use hmac-sha256 for new RNDC keys (#1508003) 2017-10-31 17:37:27 +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-setup.service Rework the chroot setup/destruction workflow 2013-12-17 17:09:44 +01:00
named-chroot.service Make comment how to use different config file 2017-07-14 17:02:15 +02:00
named-pkcs11.service Make comment how to use different config file 2017-07-14 17:02:15 +02:00
named-sdb-chroot-setup.service Rework the chroot setup/destruction workflow 2013-12-17 17:09:44 +01:00
named-sdb-chroot.service Make comment how to use different config file 2017-07-14 17:02:15 +02: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 Make comment how to use different config file 2017-07-14 17:02:15 +02:00
named-setup-rndc.service Rework the chroot setup/destruction workflow 2013-12-17 17:09:44 +01:00
named.conf Add secroots and recursing path overrides, to write into data directory. 2017-09-13 17:48:11 +02:00
named.conf.sample Add secroots and recursing path overrides, to write into data directory. 2017-09-13 17:48:11 +02:00
named.empty - major changes in initscript. Could be LSB compatible 2007-06-14 15:13:02 +00:00
named.logrotate Fixed systemctl path in logrotate configuration (#1148360) 2014-11-14 13:53:09 +01:00
named.rwtab Install configuration for rwtab and fix chroot setup script 2013-11-12 14:29:33 +01:00
named.service Make comment how to use different config file 2017-07-14 17:02:15 +02:00
named.sysconfig Make comment how to use different config file 2017-07-14 17:02:15 +02:00
README.sdb_pgsql fix bug 171226 2005-10-19 20:22:48 +00:00
setup-named-chroot.sh Include protocols and services in chroot 2017-10-31 19:58:06 +01:00
sources Update named.ca, move named.conf out of config archive 2017-08-16 22:47:09 +02:00
trusted-key.key include DNSKEY 20326 also in trusted-key.key (#1505476) 2017-10-23 18:35:00 +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!