承接 namingo/plexdns 相关项目开发

从需求分析到上线部署,全程专人跟进,保证项目质量与交付效率

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

namingo/plexdns

Composer 安装命令:

composer require namingo/plexdns

包简介

A unified, multi-provider DNS management tool

README 文档

README

PlexDNS is a unified, multi-provider DNS management tool that allows users to manage DNS zones and records across multiple DNS hosting providers using a common interface.

🚀 Installation

  1. Go to your project directory and install PlexDNS via Composer:
cd /path/to/your/project
composer require namingo/plexdns
  1. Copy the sample configuration files from vendor/namingo/plexdns to your project root:
cp vendor/namingo/plexdns/env-sample .
cp vendor/namingo/plexdns/demo.php .
  1. Move contents of env-sample to your project .env file.

  2. Edit .env to configure your API credentials and database settings.

  3. The demo.php script demonstrates how to interact with the library, including:

  • Creating and managing DNS zones

  • Adding, updating, and deleting DNS records

  • Listing available DNS providers

🌍 Supported Providers

Most DNS providers require an API key, while some may need additional settings such as authentication credentials or specific server configurations. All required values must be set in the .env file.

Provider Credentials in .env Requirements Status DNSSEC
AnycastDNS API_KEY
Bind9 API_KEY:BIND_IP bind9-api-server/bind9-api-server-sqlite 🚧
Bunny API_KEY
Cloudflare EMAIL:API_KEY or API_TOKEN
ClouDNS AUTH_ID:AUTH_PASSWORD
Desec API_KEY
DNSimple API_KEY
Hetzner API_KEY 🚧
PowerDNS API_KEY:POWERDNS_IP gmysql-dnssec=yes in pdns.conf
Vultr API_KEY

Slave Zone Support

Different DNS providers handle slave (secondary) zones differently. BIND9 and PowerDNS require explicit slave configuration, meaning you must manually add the slave servers to your $config array for them to sync from the master. This involves passing the necessary API details, such as apikey_nsX and bindip_nsX for BIND9 or powerdnsip_nsX for PowerDNS. In contrast, cloud-based DNS providers handle replication automatically, so there is no need to configure slave servers manually. Once a zone is added, it is automatically synchronized across their global infrastructure without additional setup.

BIND9 Example

$config = [
    'apikey' => 'masterUser:masterPass',  // Master API Key
    'bindip' => '192.168.1.100',  // Master BIND9 server IP

    // Slave 1 (NS2)
    'apikey_ns2' => 'slaveUser1:slavePass1',
    'bindip_ns2' => '192.168.1.101',
    
    // You can add up to 13 slave servers (NS2 to NS13)
];

PowerDNS Example

$config = [
    'apikey' => 'master_api_key',  // Master PowerDNS API Key
    'powerdnsip' => '127.0.0.1',  // Master PowerDNS IP
    'pdns_master_ip' => '192.168.1.1', // Master IP for slaves to sync from

    // Slave 1 (NS2)
    'apikey_ns2' => 'slave2_api_key',
    'powerdnsip_ns2' => '192.168.1.2',

    // You can add up to 13 slave servers (NS2 to NS13)
];

Acknowledgements

We extend our gratitude to:

📄 License

PlexDNS is licensed under the MIT License.

📩 Contributing

We welcome contributions! Feel free to submit issues or pull requests to improve the project.

  1. Fork the repository.
  2. Create a new branch.
  3. Make your changes and commit them.
  4. Submit a pull request.

📞 Support

For any issues, please open an issue on GitHub or contact us at help@namingo.org.

namingo/plexdns 适用场景与选型建议

namingo/plexdns 是一款 基于 PHP 开发的 Composer 扩展包,目前已累计 96 次下载、GitHub Stars 达 3, 最近一次更新时间为 2025 年 02 月 21 日, 在 PHP 生态内属于活跃度较高的组件。

我们在过去多个企业项目中使用过 namingo/plexdns 或与其功能相近的方案,如果你在选型或落地过程中遇到问题,例如 版本兼容、二次改造、私有化封装、与内部系统对接、生产 BUG 排查,欢迎联系我们协助评估。

围绕 namingo/plexdns 我们能提供哪些服务?
定制开发 / 二次开发

基于 namingo/plexdns 在你已有业务上做功能扩展、字段裁剪、UI 适配、与内部账号 / 权限 / 日志系统的深度对接。

BUG 修复 & 性能优化

线上偶发问题、内存泄漏、慢查询、并发异常等排查修复;针对高流量场景做缓存、队列、索引层面的调优。

项目外包 & 长期维护

承接完整的项目从需求 → 设计 → 开发 → 上线 → 长期运维;也可按月提供技术保姆服务。

yvsm@zunyunkeji.com QQ:316430983 微信:yvsm316 西安尊云信息科技 · 专注 PHP / Go / 分布式系统研发

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: MIT
  • 更新时间: 2025-02-21