To use the DomainDns API, install the @wix/domains package using npm or Yarn:
@wix/domains
or
Then import { domainDns } from @wix/domains:
{ domainDns }