Socket
Book a DemoInstallSign in
Socket

@codetoz/dns

Package Overview
Dependencies
Maintainers
2
Versions
11
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@codetoz/dns

Set DNS easily

latest
Source
npmnpm
Version
1.0.2
Version published
Maintainers
2
Created
Source

DNS

Set DNS easily

Installation

Use npm:

sudo npm i -g @codetoz/dns

If you do not have nodejs or want to use executable versions: for linux and mac

# release version
version="v1.0.0"
# macos linux
platform=macos
# x64 arm64
arch=arm64

curl -o dns https://github.com/codetoz/dns/releases/download/$version/dns-$platform-$arch

after that you can move it to your bin:

# linux
mv dns /usr/bin/

# mac
mv dns /usr/local/bin/

for windows download the executable file from below link and add it to your PATH:

https://github.com/codetoz/dns/releases/download/v1.0.0/dns-win-x64.exe

Commands

  • dns [-s|set] <dns-name> Set Chosen DNS
  • dns [-alt|alter|change] Set Random Dns
  • dns [-r|rm|remove|clear] Remove DNS
  • dns [-c|crt|current] Show Current DNS
  • dns [-l|ls|list] List DNS Options
  • dns [-v|--version|version] Show Package Version
  • dns [ |-h|help] List Commands

Keywords

dns

FAQs

Package last updated on 19 Jan 2024

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts