Skip to content

Latest commit

 

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