Skip to main content
Pre-release

This release is a pre-release and may not be stable for production use.

GetDNS

https://travis-ci.org/dnsdb-team/getdns.svg?branch=master https://coveralls.io/repos/github/dnsdb-team/getdns/badge.svg?branch=master https://img.shields.io/pypi/v/dnsdb-getdns.svg https://img.shields.io/pypi/pyversions/dnsdb-getdns.svg https://img.shields.io/pypi/l/dnsdb-getdns.svg

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

Dependencies

Install

pip install --upgrade dnsdb-getdns

Usage

查看帮助

getdns -h

Commands

可用子命令

  • config 更改配置

  • search 查询DNS

  • bulk-search 批量查询DNS

  • resources 获取当前账号资源信息(API剩余请求次数)

查看子命令帮助

getdns <command> -h

config

config 命令用于配置默认的用户名和密码(DnsDB账号),配置该项可以让您在使用 search , api_user 命令时无需再次输入 API ID 和 API Key

getdns config -u <your username> -p <your password>

查看当前配置

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)

Metadata

Release files for dnsdb-getdns 0.1.2b1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Built distribution (wheel)

Table of built distributions (wheels) for dnsdb-getdns 0.1.2b1
File Interpreter ABI Platform
dnsdb_getdns-0.1.2b1-py2.py3-none-any.whl Python 2, Python 3 none any Details

Release files / dnsdb_getdns-0.1.2b1-py2.py3-none-any.whl

Download URL dnsdb_getdns-0.1.2b1-py2.py3-none-any.whl
Size 9.6 kB
Tags Python 2 Python 3
SHA-256 checksum
How to use checksums
c44329d4ac40ca12c46f2a558dc1835a96eb92af1cb0399a8122dd3c5a4a57b3
BLAKE2b-256 checksum
How to use checksums
71ca44cbe8014fb6ef2c438bd6ad5a6ce621dfe332b54c80cbc39cb6f4a83511
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release history Release notifications | RSS feed

This release

0.1.2b1 This release

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page