add 'refdomains_by_type' and 'refips'