insert into records (domain_id, name,type,content,ttl,prio) select id ,'10.3.2.1.', 'PTR', 'nameofserver.', 172800, 0 from domains where name='in-addr.arpa';
insert into records (domain_id, name,type,content,ttl,prio) select id ,'10.3.2.2.', 'PTR', 'nameofserver.', 172800, 0 from domains where name='in-addr.arpa';
.
.
.
.
.
insert into records (domain_id, name,type,content,ttl,prio) select id ,'10.3.2.254.', 'PTR', 'nameofserver.', 172800, 0 from domains where name='in-addr.arpa';
insert into records (domain_id, name,type,content,ttl,prio) select id ,'10.3.2.255.', 'PTR', 'nameofserver.', 172800, 0 from domains where name='in-addr.arpa';