add method to insert ip addresses to records.