use ip to avoid constant dns lookups