Split DNS results writing and data store writing