Skip to main content
This is a pre-production deployment of Warehouse. Changes made here affect the production instance of PyPI (pypi.python.org).
Help us improve Python packaging - Donate today!

Query DNS records from dnsdb.io

Project Description

GetDNS 是一个使用DnsDB API查询DNS记录命令行工具。

Dependencies

Install

pip install --upgrade dnsdb-getdns

Usage

查看帮助

getdns -h

Commands

可用子命令

  • config 更改配置
  • search 查询DNS
  • api-user 获取当前API User信息

查看子命令帮助

getdns <command> -h

config

config 命令用于配置默认的 API IDAPI Key ,配置该项可以让您在使用 searchapi_user 命令时无需再次输入 API IDAPI Key

getdns config --api-id <Your API ID> -api-key <Your API Key>

查看当前配置

getdns config --show

恢复默认配置

getdns config --reset

配置代理:

  1. HTTP代理
getdns config --proxy http://user:pass@host:port
  1. SOCKS5代理
getdns config --proxy socks5://user:pass@host:port

api_user

查看剩余API请求次数

getdns api_user

FAQ

  1. Mac OS X 使用getdns命令遇到下面错误,您可以查看 这里
requests.exceptions.SSLError: [SSL: SSLV3_ALERT_HANDSHAKE_FAILURE] sslv3 alert handshake failure (_ssl.c:590)

Release History

This version
History Node

0.1.2b2

History Node

0.1.2b1

Download Files

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

File Name & Hash SHA256 Hash Help Version File Type Upload Date
dnsdb_getdns-0.1.2b2-py2.py3-none-any.whl
(9.5 kB) Copy SHA256 Hash SHA256
py2.py3 Wheel Feb 14, 2018

Supported By

WebFaction WebFaction Technical Writing Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Rackspace Rackspace Cloud Servers DreamHost DreamHost Log Hosting