accept clients and do dns lookups