Install and add to Cloudy:
npm i @cloud-cli/dns
import dns from '@cloud-cli/dns';
export default { dns }
Target is optional. Defaults to 127.0.0.1
cy dns.add --domain foo --target 1.2.3.4
cy dns.add --domain bar{ domain: test, target: '1.2.3.4' },
cy dns.remove --domain foo