Skip to main content

'The Shecan CLI is used to configure your DNS configuration based on Shecan website from the command line.'

Project description

Shecan CLI

image image image image


The Shecan CLI is used to configure your DNS name server based on Shecan website from the command line.

For more about Shecan see https://shecan.ir/

Installation

The following instructions will place the shecan executable in a virtualenv under shecan/bin/shecan.

  • Shecan requires >= Python 3.6.1

pip

This installs the latest stable, released version.

$ python3.6 -m venv shecan
$ shecan/bin/pip install shecan

Quickstart

  • Run shecan update - It will get shecan DNS name servers and save them into database.
  • Run shecan list It will show shecan DNS name servers from the database.
  • Run shecan set --temporary It will configure your DNS temporarily by moving your current /etc/resolv.conf file and replace it with shecan DNS name server. If you permission problem run the command this way: sudo -E $(which shecan) set --temporary.
  • Run shecan verify It will check your DNS configuration and make sure that shecan works fine for you.
  • Run shecan restore It will restore your previous DNS configuration.
  • Run shecan show It will print your current DNS configuration.
  • Run shecan --version It will show shecan's version.
  • Run shecan --help It will show full command-line options and subcommands.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for shecan, version 0.3.3
Filename, size File type Python version Upload date Hashes
Filename, size shecan-0.3.3-py3-none-any.whl (10.6 kB) File type Wheel Python version py3 Upload date Hashes View
Filename, size shecan-0.3.3.tar.gz (8.9 kB) File type Source Python version None Upload date Hashes View

Supported by

Pingdom Pingdom Monitoring Google Google Object Storage and Download Analytics Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page