1.1.18 • Published 6 years ago
edit-dns v1.1.18
edit-dns 
TS library to load, save and recover DNS files
Install
NPM
npm i edit-dns
Yarn
yarn add edit-dns
Usage
import DnsEditor from 'edit-dns'
const dnsEditor = new DnsEditor('TestApp')
(async () => {
// Saves current DNS settings
await dnsEditor.save()
// Load new DNS settings
await dnsEditor.load(['1.1.1.1'])
// Check DNS entry exists
console.log(await dnsEditor.exists('1.1.1.1')) // true
// Recover saved settings
await dnsEditor.recover()
// Check DNS entry does not exist
console.log(await dnsEditor.exists('1.1.1.1')) // false
})()
1.1.18
6 years ago
1.1.17
6 years ago
1.1.16
6 years ago
1.1.15
6 years ago
1.1.14
6 years ago
1.1.13
6 years ago
1.1.12
6 years ago
1.1.11
6 years ago
1.1.10
6 years ago
1.1.9
6 years ago
1.1.8
6 years ago
1.1.7
6 years ago
1.1.6
6 years ago
1.1.5
6 years ago
1.1.4
6 years ago
1.1.3
6 years ago
1.1.2
6 years ago
1.1.1
6 years ago
1.1.0
6 years ago
1.0.16
6 years ago
1.0.15
6 years ago
1.0.14
6 years ago
1.0.13
6 years ago
1.0.12
6 years ago
1.0.11
6 years ago
1.0.10
6 years ago
1.0.9
6 years ago
1.0.8
6 years ago
1.0.7
6 years ago
1.0.6
6 years ago
1.0.5
6 years ago
1.0.4
6 years ago
1.0.3
6 years ago
1.0.2
6 years ago
1.0.1
6 years ago
1.0.0
6 years ago