Check if domain exists before getting settings
Update casexml