check dnc list is set before calling db.add_dnc