Making Zonecloud work with cPanel PowerDNS web servers
Default cPanel installations now use PowerDNS instead of BIND. But the configuration remains the same.
The issue is how to transfer zones from cPanel PowerDNS to BIND nodes.
If you try to parse them you might fall into this:
1 2 3 4 5 |
node1 named: transfer of 'cpanel-dev.nixpal.com/IN' from xxx#53: connected using xxx node1 named: transfer of 'cp-dev.com/IN' from xxx#53: failed while receiving responses: NOTAUTH node1 named: transfer of 'cp-dev.com/IN' from xxx#53: Transfer status: NOTAUTH node1 named: transfer of 'cp-dev.com/IN' from xxx#53: Transfer completed: 0 messages, 0 records, 0 bytes, 0.003 secs (0 bytes/sec) node1 named: transfer of 'cpanel-dev.nixpal.com/IN' from xxx#53: failed while receiving responses: NOTAUTH |
To make it work and transfer zones:
1 2 3 4 5 |
node1 named: transfer of 'cpanel-dev.nixpal.com/IN' from xxx#53: Transfer status: success node1 named: transfer of 'cpanel-dev.nixpal.com/IN' from xxx#53: Transfer completed: 3 messages, 12 records, 936 bytes, 0.013 secs (72000 bytes/sec) node1 named: transfer of 'pdns.nixpal.com/IN' from xxx#53: connected using xxx#37045 node1 named: transfer of 'pdns.nixpal.com/IN' from xxx#53: Transfer status: success node1 named: transfer of 'pdns.nixpal.com/IN' from xxx#53: Transfer completed: 3 messages, 18 records, 1103 bytes, 0.006 secs (183833 bytes/sec) |
You only need a few changes in /etc/pdns/pdns.conf …Read More
Bind DNS Mass / Bulk TTL and serial change and Mass RNDC Reload
You need to migrate, change IP or DNS but afraid of downtime and dns propagation ?
This is a quick way to change TTL on all zones and after that serials so you can reload all zones.
Changing TTL:
for a signle zone :
1 |
find . -name "nixpal.com.db" -exec sed -i "s/14400/1800/g" '{}' \; |
It will change the default 14400 (4 hours) TTL to …Read More