Reading hosts information on a muti-site CMS install?

I am making a pluigin for Umb17 and need to do a few things with the host information but have no idea where to even start looking. Here is what I need to look for:

1: On site warm up: discover all domains assigned to any nodes in the “Culture and Hostnames” interface.

2: While runinng: if a domain is Added/Updated/Deleted from a node my package needs to know about it.

Can anyone help me figure out where to start on these? Thanks

Hi Matthew!
You’re able to query the Culture and Hostnames via the localizationService found in this documentation

As for your second question, there are notifications for Language and Dictionary items which is how you would track those sort of events. You can find a list of these notification handlers in this documentation.

Hope this all helps!

Thanks but I don’t think that is right. I am not looking for the languages, I am looking for the domain URLs. I don’t care about the languages.