Skip to main content

Record IP Via DNSPod API.

Project description

Record machine’s ip to DNSpod via DNSPod’s API.


To install:

pip install record-ip-to-dnspod

Example Usage


record-ip-to-dnspod -c /path/record-ip.ini

If you wan’t install via pip, you can:

git clone
cd record-ip-to-dnspod && python -m record_ip_to_dnspod.bin -c /path/record-ip.ini

Config Example


log-path = record-ip.log
token = 1234,your-token-str
email =
domain =
sub-domain = test
; interface = eth0
; exclude-ips =,

Config Options

  • 必填配置项
配置项 说明
log-path 日志路径
token Token, 例如:13490,6b5976c68aba5b14a0558b77c17c3932&format=json
email 联系邮箱,用于API请求的User-Agent.
domain 域名, 例如:
sub-domain 主机记录, 如 www,可选,如果不传,默认为 @
  • 可选配置项
配置项 说明
interface 只记录指定的网卡,例如: eth0
excluet-ips 不记录下面的ip, 比如’,’

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 record-ip-to-dnspod, version 0.1.1
Filename, size File type Python version Upload date Hashes
Filename, size record-ip-to-dnspod-0.1.1.tar.gz (4.0 kB) File type Source Python version None Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page