# mtDNS **Repository Path**: freemo/mtDNS ## Basic Information - **Project Name**: mtDNS - **Description**: No description available - **Primary Language**: Unknown - **License**: LGPL-3.0 - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2020-05-14 - **Last Updated**: 2021-11-03 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # mtDNS ![tag](https://img.shields.io/github/tag/meterXu/mtDNS.svg) ![license](https://img.shields.io/github/license/meterXu/mtDNS.svg) >**(每30秒)** 解析dns,适用于阿里云购买的域名 ## 快速开始 1. 克隆项目 ``` git clone https://github.com/meterXu/mtDNS.git ``` 2. 修改配置文件config.json 3. 开始运行 ```javascript npm install node index.js ``` ## 配置文件config.json说明 ### 全局配置 * apiAddress 阿里云解析api地址,**无需更改** * ipaddressUrl 获取外网ip的地址,**无需更改** * AccessKeyId 阿里云平台AccesskeyId [关于AccessKey的获取](https://ak-console.aliyun.com/?spm=5176.7926440.772176.4.78343fb6U1MI7A#/accesskey) * AccessKeySecret 阿里云平台AccessKeySecret [关于AccessKeySecret的获取](https://ak-console.aliyun.com/?spm=5176.7926440.772176.4.78343fb6U1MI7A#/accesskey) * DomainName 域名,**设置为自己的域名,不要带子域名** ### 解析配置 > 可添加多个解析记录 * RRKeyWord **设置需要解析的子域名** * Type 解析记录类型格式 [参考网站](https://help.aliyun.com/document_detail/29805.html?spm=5176.doc29774.2.1.2IvBqd) * Priority 解析优先级 **按需修改** ### 自动生成配置文件脚本 运行config.py,按提示操作。(暂时只支持解析A记录)