pgxc_dns
pgxc_dns · PostgreSQL-XC coordinator DNS views and weighting functions for BIND SDB load balancing and failover.
Overview
| ID | Extension | Package | Version | Category | License | Language |
|---|---|---|---|---|---|---|
| 100362 | pgxc_dns | pgxc_dns | 1.0 | ADMIN | PostgreSQL | C |
Usage
Sources:
pgxc_dns is historical Postgres-XC 1.0 code that generates BIND SDB zone rows according to relative coordinator usage. It was intended to expose coordinator A records through the pgxc_dns_zone view for DNS-based load distribution.
Configuration uses pgxc_dns.zone, pgxc_dns.name, pgxc_dns.host, pgxc_dns.zone_ttl, and pgxc_dns.ttl. Each coordinator must report its own address while sharing the zone settings.
This is not an extension for current PostgreSQL, Postgres-XL, or modern distributed PostgreSQL products. Upstream testing was on CentOS 6.3 with Postgres-XC based on PostgreSQL 9.2, and the documented BIND configuration embeds database credentials. Treat it as archival source only. Use supported service discovery, health checks, and authenticated DNS integration instead of deploying it.