working insert new urls into database, fixed dns loop bug
minor changes