Skip to content

Latest commit

 

History

History
68 lines (40 loc) · 1.78 KB

README.md

File metadata and controls

68 lines (40 loc) · 1.78 KB

Google Cloud Platform logo

Google Cloud DNS Node.js Samples

Build

Cloud DNS allows you to publish your domain names using Google's infrastructure for production-quality, high-volume DNS services. Google's global network of anycast name servers provide reliable, low-latency authoritative name lookups for your domains from anywhere in the world.

Table of Contents

Setup

  1. Read Prerequisites and How to run a sample first.

  2. Install dependencies:

    With npm:

    npm install
    

    With yarn:

    yarn install
    

Samples

Zones

View the documentation or the source code.

Usage: node zones.js --help

Commands:
  list  Lists all zones in the current project.

Options:
  --help  Show help                                                                                            [boolean]

Examples:
  node zones.js list  Lists all zones in the current project.

For more information, see https://cloud.google.com/dns/docs

Running the tests

  1. Set the GCLOUD_PROJECT and GOOGLE_APPLICATION_CREDENTIALS environment variables.

  2. Run the tests:

    With npm:

    npm test
    

    With yarn:

    yarn test