Skip to content

tiger-luuuu/dns-m

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

About

A dns management tool.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published