Stop using deprecated endpoints for domains.

[Fixes #76723550]