Handle SRV and A records