2024-12-09 14:58:09 +08:00

27 lines
447 B
Markdown
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# zerotierApi
## 概述
使用python调用zerotier的api获取整个网络的节点信息。进而生成smartdns需要的配置文件。
## 快速开始
### 一、配置环境
```bash
python3 -m venv env
source ./env/bin/activate
pip install -r requirements.txt
```
### 二、运行程序
```bash
python main.py
```
打印当前网络的节点信息,并在当前目录下产生文件`smartdns.conf`