Skip to content

Files

Latest commit

Sep 12, 2013
ec81b45 · Sep 12, 2013

History

History
20 lines (16 loc) · 304 Bytes

README.md

File metadata and controls

20 lines (16 loc) · 304 Bytes

pdns_cleaner.php

Remove old domains from powerdns with mysql backend

Dependencies:

  • php with mysql
  • dig from dnsutils package

Config:

See first lines from script

Usage:

/usr/bin/php /path/to/pdns_cleaner.php

WARNING:

Always make mysql backup before usage