2
0
mirror of https://github.com/acepanel/panel.git synced 2026-02-04 13:47:15 +08:00
Copilot 47537e282b feat(dns): 优化系统工具箱DNS设置以适配现代Linux系统 (#1202)
* Initial plan

* feat(dns): 优化系统工具箱DNS设置以适配现代Linux系统

- 创建 pkg/dns 包实现多种DNS管理方式
- 支持 NetworkManager (RHEL 9.x/10.x)
- 支持 netplan (Debian 12+/Ubuntu 22+)
- 回退到直接修改 /etc/resolv.conf
- 更新前端显示当前DNS管理方式
- 添加单元测试

Co-authored-by: devhaozi <115467771+devhaozi@users.noreply.github.com>

* fix: 修复代码审查发现的问题

- 提取 shell 参数转义逻辑到独立函数
- 修正 netplan 配置文件选择的注释说明
- 使用常量替代硬编码的缩进值
- 添加前端空数组安全检查

Co-authored-by: devhaozi <115467771+devhaozi@users.noreply.github.com>

* fix: 优化

* fix: 优化

---------

Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: devhaozi <115467771+devhaozi@users.noreply.github.com>
Co-authored-by: 耗子 <haozi@loli.email>
2026-01-09 06:33:23 +08:00
2026-01-08 23:07:41 +08:00
2026-01-08 15:05:18 +00:00
2024-10-12 22:05:58 +08:00
2025-10-15 17:00:28 +08:00
2024-10-10 23:47:37 +08:00
2025-10-04 19:17:10 +08:00
2026-01-04 01:29:42 +08:00
2025-09-18 23:24:03 +08:00
2026-01-04 04:47:56 +08:00
2025-08-22 17:37:02 +08:00
2025-12-01 17:01:50 +08:00
2025-08-22 17:05:09 +08:00
2026-01-04 04:47:56 +08:00
2025-08-22 05:59:57 +08:00
2025-09-18 23:24:03 +08:00
2025-12-11 17:59:11 +08:00
2025-10-20 18:09:43 +08:00
2025-09-18 23:24:03 +08:00

[简体中文] | [English]

AcePanel

New generation of all-in-one server operation and maintenance management panel
Simple and lightweight, efficient operation and maintenance

Website: acepanel.net | QQ group: 12370907 | WeChat group: Copy this link

Go Release Test Report Card Stars License

Advantages

  1. Extremely low occupancy: Developed in Go language, small installation package, low occupancy, single file operation, will not affect system performance
  2. Low Destructiveness: Designed to minimize additional modifications to the system, we make the fewest modifications to the system among similar products
  3. Follow the Times: The overall design is at the forefront of the times, with good compatibility with new systems, leading in the same type of products
  4. Efficient Operation and Maintenance: Complete functions, strong customization capabilities, can quickly deploy small websites, and deploy complex applications based on customized requirements
  5. Offline Operation: Support offline mode, and even stop the panel process after deployment, without affecting any existing services
  6. Safe and Stable: The panel adopts a variety of industry technologies to ensure the security of the body, and has been running stably in multiple survival environments for a long time
  7. Fully Open Source: Few fully open source panels, you can freely modify and develop the panel on the premise of complying with the open source agreement
  8. Permanently free: Commit to the panel body will not introduce any charging/authorization functions in the future, and will be permanently free to use

Quick Install

Supported clean mainstream systems under amd64 | arm64 architecture, please refer to the installation documentation for specific supported systems.

curl -sSLOm 10 https://dl.cdn.haozi.net/panel/install.sh && bash install.sh

UI Screenshots

UI Screenshots

Partners

If the AcePanel is helpful to you, welcome to sponsor us, also thanks to the following supporters/sponsors:

微晓朵 林枫云 WAFPRO 盾云SCDN 毫秒镜像

sponsors

Star History

Star History Chart
Description
AcePanel - Enterprise server operation and maintenance management panel
Readme BSD-3-Clause 105 MiB
Languages
Go 55.4%
Vue 44.6%