0.5.0 • Published 1 year ago

@tryghost/dns v0.5.0

Weekly downloads
139
License
MIT
Repository
github
Last release
1 year ago

DNS

Lookup DNS info for a domain.

Usage: yarn dns <blog.ghost.org> Outputs:

{
   "hostname": "blog.ghost.org",
   "domain": "ghost.org",
   "subdomain": "blog",
   "records": {
        "A": [{"value": "104.16.127.190", "cf": true}, {}],
        "CNAME": [],
        "NS": ["sara.ns.cloudflare.com.", "woz.ns.cloudflare.com."],
   },
   "whois": "Cloudflare",
   "cloudflare": true,
   "valid": {
        "cname": "maybe",
        "ssl": "C",      
   }     
}

Installation

  1. Make sure that gstenv is green. See Dev Environment for docs.
  2. git clone this repo & cd into it as usual
  3. Run yarn to install top-level dependencies.

Run

  • Run: yarn dns <url>
  • Aliased as yarn dev <url> for consistency
  • Doesn't matter which you run!

Test

  • yarn lint run just eslint
  • yarn test run lint && tests

Publish

  • yarn ship

Copyright & License

Copyright (c) 2013-2022 Ghost Foundation - Released under the MIT license. Ghost and the Ghost Logo are trademarks of Ghost Foundation Ltd. Please see our trademark policy for info on acceptable usage.

0.5.0

1 year ago

0.4.1

2 years ago

0.4.0

2 years ago

0.3.10

3 years ago

0.3.9

3 years ago

0.3.8

3 years ago

0.3.7

3 years ago

0.3.6

3 years ago

0.3.5

3 years ago

0.3.4

3 years ago

0.3.1

4 years ago

0.3.0

5 years ago

0.2.6

6 years ago

0.2.5

6 years ago

0.2.4

6 years ago

0.2.3

6 years ago

0.2.2

6 years ago

0.2.1

6 years ago

0.2.0

6 years ago

0.1.0

6 years ago