All Projects → avyou → Cdn_dig

avyou / Cdn_dig

用于在linux 终端快速查询全国 CDN 调度到哪些区域节点的工具

Programming Languages

python
139335 projects - #7 most used programming language

Projects that are alternatives of or similar to Cdn dig

Information collection handbook
Handbook of information collection for penetration testing and src
Stars: ✭ 447 (+1141.67%)
Mutual labels:  dns, cdn, ip
Prcdns
准确、CDN友好
Stars: ✭ 126 (+250%)
Mutual labels:  dns, cdn
Is Google
Verify that a request is from Google crawlers using Google's DNS verification steps
Stars: ✭ 82 (+127.78%)
Mutual labels:  dns, ip
GeoLite2-City
GeoLite2-City.mmdb.gz CDN files based on Free Open Source CDN jsDelivr!
Stars: ✭ 170 (+372.22%)
Mutual labels:  cdn, ip
Lenz
Console based MAP 🗺 : with lots of features 🤩
Stars: ✭ 51 (+41.67%)
Mutual labels:  dns, ip
Sites Using Cloudflare
💔 Archived list of domains using Cloudflare DNS at the time of the CloudBleed announcement.
Stars: ✭ 1,914 (+5216.67%)
Mutual labels:  dns, cdn
Ip Attack
Auto IP or Domain Attack Tool ( #1 )
Stars: ✭ 162 (+350%)
Mutual labels:  dns, ip
FreeGithub
😊自动获取github相关网站的ip地址,解决github链接不畅通的问题
Stars: ✭ 45 (+25%)
Mutual labels:  dns, ip
ebook
Third edition of the Computer Networking: Principles, Protocols and Practice ebook
Stars: ✭ 64 (+77.78%)
Mutual labels:  dns, ip
MicroDNSSrv
A micro DNS server for MicroPython to simply respond to A queries on multi-domains with or without wildcards (used on Pycom modules & ESP32)
Stars: ✭ 43 (+19.44%)
Mutual labels:  dns, ip
EdgeAdmin
CDN & WAF集群管理系统。
Stars: ✭ 199 (+452.78%)
Mutual labels:  dns, cdn
Edgedns
A high performance DNS cache designed for Content Delivery Networks
Stars: ✭ 423 (+1075%)
Mutual labels:  dns, cdn
Nali
An offline tool for querying IP geographic information and CDN provider.一个查询IP地理信息和CDN服务提供商的离线终端工具.
Stars: ✭ 535 (+1386.11%)
Mutual labels:  cdn, ip
Fastdns
fastDNS is an authoritative only, high performance, simple and open source name server based on DPDK and NSD server
Stars: ✭ 12 (-66.67%)
Mutual labels:  dns
Dns Lots Of Lookups
dnslol is a command line tool for performing lots of DNS lookups.
Stars: ✭ 30 (-16.67%)
Mutual labels:  dns
Sooty
The SOC Analysts all-in-one CLI tool to automate and speed up workflow.
Stars: ✭ 867 (+2308.33%)
Mutual labels:  dns
Fly
Deploy app servers close to your users. Package your app as a Docker image, and launch it in 17 cities with one simple CLI.
Stars: ✭ 862 (+2294.44%)
Mutual labels:  cdn
Angular Gantt Schedule Timeline Calendar
Angular version of gantt-schedule-timeline-calendar [ angular gantt, gantt chart, angular gantt chart, angular schedule, angular timeline, angular calendar, gantt chart, schedule, scheduler, timeline, calendar ]
Stars: ✭ 32 (-11.11%)
Mutual labels:  schedule
Wait4x
Wait4X is a cli tool to wait for everything! It can be wait for a port to open or enter to rquested state.
Stars: ✭ 30 (-16.67%)
Mutual labels:  dns
V3n0m Scanner
Popular Pentesting scanner in Python3.6 for SQLi/XSS/LFI/RFI and other Vulns
Stars: ✭ 847 (+2252.78%)
Mutual labels:  dns

介绍

这是一个用于在linux 终端快速查询全国 CDN 域名调度到哪个区域节点的工具。 工具类似下面命令的封装:

dig @119.29.29.29 www.baidu.com +client=218.203.160.194

项目地址

https://github.com/avyou/CDN_dig

主要特性

  • 支持电信、联通、移动、铁通、长宽、教育网等网络的域名调度查询;
  • 利用 dig 的 EDNS 功能,能快速查询并输出结果,而不需要在全国各地部署节点;
  • 支持输入多个运营商或多个省份别名的指定查询;
  • 支持指定IP查询调度,支持更换EDNS;
  • 支持更换IP查询接口, 查询失败轮询接口;
  • 支持输出CDN调度覆盖的统计结果;
  • 支持多IP地址查询(whereip);

用法

cdig 工具

	cdig <-d,--domain=> [-h,--help=] [-i,--ip=] [-a,--isp=] [-n,--edns=]

    参数:
          -d, --domain=: 后面跟要的查询域名,必选项.
          -h, --help:    帮助信息.
          -i, --ip=:     后面跟要查询的IP,可选,如果不填,且无 -a或--isp=选项 ,默认查看全网调度.
                         如果 --ip 与 --isp 同时指定,只取--ip.
          -a, --isp=:    区域别名,如ctl-gd,表示要查询客户端IP在广东电信访问时域名被调度的哪里.多个ISP用逗号分隔. --isp 的别名映射在 %s 文件.
          -n, --edns=:   使用指定的且支持EDNS的IP进行解析,可选,默认是 119.29.29.29
    举例:
          1). sudo cdig --domain=www.duowan.com --isp=cmb-sd           ##查询此域名山东移动被调度哪里
          2). sudo cdig --domain=www.duowan.com --isp=cmb-sd,cnc-sd    ##查询多个ISP用逗号分隔
          3). sudo cdig --domain=www.duowan.com --isp=cmb              ##查询此域名全部移动被调度哪里,查询多个ISP用逗号分隔
          4). sudo cdig --domain=www.duowan.com --isp=ctl,cnc          ##查询多个ISP用逗号分隔 
          5). sudo cdig --domain=www.duowan.com --ip=1.1.1.1           ##查询此域名在1.1.1.1被调度哪里
          6). sudo cdig --domain=www.duowan.com                        ##无--ip或--ISP选项,默认使用查询全网调度
          7). sudo cdig --domain=www.duowan.com --edns=8.8.8.8         ##指定其他EDNS如:8.8.8.8
关于运营商及省份别名使用说明见文档最后<<附加说明>>部分

whereip 工具

这是一个查询IP的小工具,支持多IP查询和输出。

whereip  <ip|ip_file>

cmd |whereip

举例:

1. whereip  202.117.112.3
2. whereip  202.117.112.3  219.146.1.66 
3. echo "202.117.112.3" |whereip
4. whereip  ip.txt
5. cat ip.txt |whereip

截图

Alt text

Alt text

Alt text

Alt text

Alt text

Alt text

Alt text

安装说明

https://github.com/avyou/CDN_dig/blob/master/document/INSTALL.md

附加说明

ISP简称对应表

CTL    电信
CNC    联通
CMB    移动
GWB    长宽
CRC    铁通
CER    教育网

省份区域对应列表

BJ    北京
TJ    天津
HE    河北
SX    山西
NM    内蒙古
LN    辽宁
JL    吉林
HL    黑龙江
SH    上海
JS    江苏
ZJ    浙江
AH    安徽
FJ    福建
JX    江西
SD    山东
HA    河南
HB    湖北
HN    湖南
GD    广东
GX    广西
HI    海南
CQ    重庆
SC    四川
GZ    贵州
YN    云南
XZ    西藏
SN    陕西
GS    甘肃
QH    青海
NX    宁夏
XJ    新疆
HK    香港
MO    澳门
TW    台湾
CN    中国其它
JP    日本
KR    韩国
AP    亚太其它
OT    其余地区
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].