@luchangfeng/dns-m
A dns management tool.
Last updated 6 months ago by luchangfeng .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install @luchangfeng/dns-m 
SYNC missed versions from official npm registry.

dns-m is a tool help you easy to manage your dns in MacOS and Windows system.

Install

npm i -g @luchangfeng/dns-m

Work Service

Workservice is your network interface name, you can look at it by command in MacOS:

networksetup -listallnetworkservices

in Windows, it is your modem's name.

Before use dns, we should use dm select <workservicename> to select the work service.

Usage

You can use dm -h to look at all commands.

dm select <workserviceName>: select the work service, default service is "Wi-Fi"

dm ls: list all available dns.

dm add <name> <dns>: add one dns to list.

dm del <name>: delete one dns from list.

dm use <name>: use the specified dns, the system's dns will change to this value.

Release Note

1.0.7

  1. Support Windows.

Current Tags

  • 1.0.7                                ...           latest (6 months ago)

7 Versions

  • 1.0.7                                ...           6 months ago
  • 1.0.6                                ...           a year ago
  • 1.0.5                                ...           a year ago
  • 1.0.4                                ...           a year ago
  • 1.0.3                                ...           a year ago
  • 1.0.2                                ...           a year ago
  • 1.0.1                                ...           a year ago
Maintainers (1)
Downloads
Today 0
This Week 0
This Month 0
Last Day 0
Last Week 0
Last Month 3
Dependencies (3)
Dev Dependencies (0)
None
Dependents (0)
None

Copyright 2014 - 2016 © taobao.org |