定制 savvii/openprovider-zone-export 二次开发

按需修改功能、优化性能、对接业务系统,提供一站式技术支持

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

savvii/openprovider-zone-export

最新稳定版本:1.0.2

Composer 安装命令:

composer create-project savvii/openprovider-zone-export

包简介

Convert OpenProvider DNS records to Zone files

README 文档

README

The script get_zones.php calls the OpenProvider API to receive a list of all domains and their DNS records. These are written to output/zones as Bind zone files.

Requirements

  • An OpenProvider account with domains and DNS records in it.
  • MacOS, FreeBSD or Linux
  • Composer 2.x installed
  • Git
  • PHP 8.0 or greater with the GMP and DOM extension enabled. Can be installed on MacOS using HomeBrew

Install

Clone project & Composer Install

git clone git@github.com:Savvii/openprovider-zone-export.git
cd openprovider-zone-export
composer install
cp config.php.example config.php

Update Configuration

Edit config.php

  • Configure op_username with your OpenProvider username.
  • Configure op_password with your OpenProvider password.

Optional: Put a manual list of domains in input/domainlist.txt, each domain on a separate line.

Execute

Get zones from OpenProvider API

./get_zones.php

The zone files will be written to output/zones. Custom nameservers will be written to output/custom_nameservers.json

Change nameservers in zone files

./update_zones.php

Zone files in output/zones will be updated. Custom nameservers need to be specified in config.php.

统计信息

  • 总下载量: 16
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 3
  • 点击次数: 1
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 3
  • Watchers: 4
  • Forks: 0
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2022-11-10

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固