bind/SOURCES
2021-09-09 15:02:37 +00:00
..
bind93-rh490837.patch import bind-9.11.13-6.el8_2.1 2021-09-09 15:02:24 +00:00
bind97-rh478718.patch import bind-9.11.13-6.el8_2.1 2021-09-09 15:02:24 +00:00
bind97-rh645544.patch import bind-9.11.20-5.el8 2021-09-09 15:02:28 +00:00
bind97-rh669163.patch import bind-9.11.13-6.el8_2.1 2021-09-09 15:02:24 +00:00
bind99-rh640538.patch import bind-9.11.13-6.el8_2.1 2021-09-09 15:02:24 +00:00
bind-9.3.1rc1-sdb_tools-Makefile.in import bind-9.11.13-6.el8_2.1 2021-09-09 15:02:24 +00:00
bind-9.3.2-redhat_doc.patch import bind-9.11.26-3.el8 2021-09-09 15:02:34 +00:00
bind-9.3.2b1-fix_sdb_ldap.patch import bind-9.11.20-5.el8 2021-09-09 15:02:28 +00:00
bind-9.3.2b2-sdbsrc.patch import bind-9.11.13-6.el8_2.1 2021-09-09 15:02:24 +00:00
bind-9.5-dlz-64bit.patch import bind-9.11.13-6.el8_2.1 2021-09-09 15:02:24 +00:00
bind-9.5-PIE.patch import bind-9.11.13-6.el8_2.1 2021-09-09 15:02:24 +00:00
bind-9.9.1-P2-dlz-libdb.patch import bind-9.11.13-6.el8_2.1 2021-09-09 15:02:24 +00:00
bind-9.9.1-P2-multlib-conflict.patch import bind-9.11.13-6.el8_2.1 2021-09-09 15:02:24 +00:00
bind-9.10-dist-native-pkcs11.patch import bind-9.11.26-3.el8 2021-09-09 15:02:34 +00:00
bind-9.10-sdb.patch import bind-9.11.20-5.el8 2021-09-09 15:02:28 +00:00
bind-9.10-use-of-strlcat.patch import bind-9.11.13-6.el8_2.1 2021-09-09 15:02:24 +00:00
bind-9.11-CVE-2020-8625.patch import bind-9.11.20-5.el8_3.1 2021-09-09 15:02:31 +00:00
bind-9.11-CVE-2021-25215.patch import bind-9.11.26-4.el8_4 2021-09-09 15:02:37 +00:00
bind-9.11-dhcp-time-monotonic.patch import bind-9.11.13-6.el8_2.1 2021-09-09 15:02:24 +00:00
bind-9.11-engine-pkcs11.patch import bind-9.11.13-6.el8_2.1 2021-09-09 15:02:24 +00:00
bind-9.11-export-suffix.patch import bind-9.11.13-6.el8_2.1 2021-09-09 15:02:24 +00:00
bind-9.11-fips-code-includes.patch import bind-9.11.26-3.el8 2021-09-09 15:02:34 +00:00
bind-9.11-fips-code.patch import bind-9.11.13-6.el8_2.1 2021-09-09 15:02:24 +00:00
bind-9.11-fips-disable.patch import bind-9.11.13-6.el8_2.1 2021-09-09 15:02:24 +00:00
bind-9.11-fips-tests.patch import bind-9.11.26-3.el8 2021-09-09 15:02:34 +00:00
bind-9.11-host-idn-disable.patch import bind-9.11.13-6.el8_2.1 2021-09-09 15:02:24 +00:00
bind-9.11-json-c.patch import bind-9.11.13-6.el8_2.1 2021-09-09 15:02:24 +00:00
bind-9.11-kyua-pkcs11.patch import bind-9.11.20-5.el8 2021-09-09 15:02:28 +00:00
bind-9.11-oot-manual.patch import bind-9.11.13-6.el8_2.1 2021-09-09 15:02:24 +00:00
bind-9.11-pk11.patch import bind-9.11.13-6.el8_2.1 2021-09-09 15:02:24 +00:00
bind-9.11-rh1205168.patch import bind-9.11.13-6.el8_2.1 2021-09-09 15:02:24 +00:00
bind-9.11-rh1410433.patch import bind-9.11.13-6.el8_2.1 2021-09-09 15:02:24 +00:00
bind-9.11-rh1668682.patch import bind-9.11.13-6.el8_2.1 2021-09-09 15:02:24 +00:00
bind-9.11-rt31459.patch import bind-9.11.26-3.el8 2021-09-09 15:02:34 +00:00
bind-9.11-rt46047.patch import bind-9.11.26-3.el8 2021-09-09 15:02:34 +00:00
bind-9.11-serve-stale.patch import bind-9.11.26-3.el8 2021-09-09 15:02:34 +00:00
bind-9.11-unit-disable-random.patch import bind-9.11.13-6.el8_2.1 2021-09-09 15:02:24 +00:00
bind-9.11-zone2ldap.patch import bind-9.11.20-5.el8 2021-09-09 15:02:28 +00:00
bind-95-rh452060.patch import bind-9.11.13-6.el8_2.1 2021-09-09 15:02:24 +00:00
bind-96-old-api.patch import bind-9.11.13-6.el8_2.1 2021-09-09 15:02:24 +00:00
bind.tmpfiles.d import bind-9.11.13-6.el8_2.1 2021-09-09 15:02:24 +00:00
dnszone.schema import bind-9.11.13-6.el8_2.1 2021-09-09 15:02:24 +00:00
generate-rndc-key.sh import bind-9.11.13-6.el8_2.1 2021-09-09 15:02:24 +00:00
ldap2zone.1 import bind-9.11.13-6.el8_2.1 2021-09-09 15:02:24 +00:00
ldap2zone.c import bind-9.11.13-6.el8_2.1 2021-09-09 15:02:24 +00:00
named-chroot-setup.service import bind-9.11.13-6.el8_2.1 2021-09-09 15:02:24 +00:00
named-chroot.files import bind-9.11.13-6.el8_2.1 2021-09-09 15:02:24 +00:00
named-chroot.service import bind-9.11.13-6.el8_2.1 2021-09-09 15:02:24 +00:00
named-pkcs11.service import bind-9.11.13-6.el8_2.1 2021-09-09 15:02:24 +00:00
named-sdb-chroot-setup.service import bind-9.11.13-6.el8_2.1 2021-09-09 15:02:24 +00:00
named-sdb-chroot.service import bind-9.11.13-6.el8_2.1 2021-09-09 15:02:24 +00:00
named-sdb.8 import bind-9.11.13-6.el8_2.1 2021-09-09 15:02:24 +00:00
named-sdb.service import bind-9.11.13-6.el8_2.1 2021-09-09 15:02:24 +00:00
named-setup-rndc.service import bind-9.11.13-6.el8_2.1 2021-09-09 15:02:24 +00:00
named.conf import bind-9.11.13-6.el8_2.1 2021-09-09 15:02:24 +00:00
named.conf.sample import bind-9.11.13-6.el8_2.1 2021-09-09 15:02:24 +00:00
named.empty import bind-9.11.13-6.el8_2.1 2021-09-09 15:02:24 +00:00
named.localhost import bind-9.11.13-6.el8_2.1 2021-09-09 15:02:24 +00:00
named.logrotate import bind-9.11.13-6.el8_2.1 2021-09-09 15:02:24 +00:00
named.loopback import bind-9.11.13-6.el8_2.1 2021-09-09 15:02:24 +00:00
named.rfc1912.zones import bind-9.11.13-6.el8_2.1 2021-09-09 15:02:24 +00:00
named.root import bind-9.11.13-6.el8_2.1 2021-09-09 15:02:24 +00:00
named.root.key import bind-9.11.13-6.el8_2.1 2021-09-09 15:02:24 +00:00
named.rwtab import bind-9.11.13-6.el8_2.1 2021-09-09 15:02:24 +00:00
named.service import bind-9.11.13-6.el8_2.1 2021-09-09 15:02:24 +00:00
named.sysconfig import bind-9.11.13-6.el8_2.1 2021-09-09 15:02:24 +00:00
README.sdb_pgsql import bind-9.11.13-6.el8_2.1 2021-09-09 15:02:24 +00:00
setup-named-chroot.sh import bind-9.11.13-6.el8_2.1 2021-09-09 15:02:24 +00:00
setup-named-softhsm.sh import bind-9.11.13-6.el8_2.1 2021-09-09 15:02:24 +00:00
trusted-key.key import bind-9.11.20-5.el8 2021-09-09 15:02:28 +00:00
zone2sqlite.1 import bind-9.11.13-6.el8_2.1 2021-09-09 15:02:24 +00:00
zonetodb.1 import bind-9.11.13-6.el8_2.1 2021-09-09 15:02: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!