Skip to content

cloud-cli/dns

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

23 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Local DNS resolution

Usage

Install and add to Cloudy:

npm i @cloud-cli/dns
import dns from '@cloud-cli/dns';

export default { dns }

Available Commands

Add

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' },

Remove

cy dns.remove --domain foo