User Tools

Site Tools


Delete legacy DNS record from PowerDNS database

select * from records where type = 'TXT' and name = 'mail1._domainkey.dv.lazurit.com' and domain_id = 16;
select * from records where type = 'MX' and name = 'dv.lazurit.com' and domain_id = 16;
select * from records where type = 'CNAME' and name = 'dv.lazurit.com' and domain_id = 16;
 
delete from records where type = 'TXT' and name = 'mail1._domainkey.dv.lazurit.com' and domain_id = 16;
delete from records where type = 'MX' and name = 'dv.lazurit.com' and domain_id = 16;
delete from records where type = 'CNAME' and name = 'dv.lazurit.com' and domain_id = 16;
delete from records where type = 'A' and name = 'dv.lazurit.com' and domain_id = 16;
 
update records SET content = 'pdns1.lazurit.us hostmaster.lazurit.us. 2016081801 28800 7200 604800 6400' 
  where type = 'SOA';

First PagePrevious PageBack to overviewNext PageLast Page