fix slow dns lookup