Skip to content

Commit

Permalink
Updated - Readme formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
AndreiIgna committed May 16, 2020
1 parent ed0ac1d commit cb4e752
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ const allRecords = dnsRecords.getAllRecords('x.com')
- [`dnsRecords.getNameServers(domain)`](#detailed-ns-records) - Get detailed info about domain's Name servers
- [`dnsRecords.getAllRecords(hostname)`](#all-dns-records) - Get ALL DNS records for a domain

**DNS Records by type**
#### DNS Records by type

`dnsRecords.getDnsRecords(names, types, ns): Promise<Array>`

Expand Down Expand Up @@ -77,7 +77,8 @@ Returns a promise which resolves with an `Array` of records found:
```


**Detailed NS records** - requires `time` command!
#### Detailed NS records
> Requires `time` command!
`dnsRecords.getNameServers(domain): Promise<Array>`

Expand Down Expand Up @@ -116,7 +117,7 @@ Returns a promise which resolves with an `Array` of NS info:
```


**All DNS records**
#### All DNS records

`dnsRecords.getAllRecords(domain): Promise<Object<Array>>`

Expand Down

0 comments on commit cb4e752

Please sign in to comment.