Fix crash from SRV lookup hitting a CNAME