START TRANSACTION;
DELETE FROM `whois_base` WHERE `domain_name` NOT IN (SELECT `domain_name` FROM `tmp_whois_base`);
INSERT IGNORE INTO `whois_base` (`domain_name`) SELECT `domain_name` FROM `tmp_whois_base`;
COMMIT;
