Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[功能请求]请求添加配置名参数用于webhook推送:A/B配置名 #1225

Closed
2 tasks done
NEANC opened this issue Aug 20, 2024 · 3 comments
Closed
2 tasks done
Labels
enhancement New feature or request Stale

Comments

@NEANC
Copy link

NEANC commented Aug 20, 2024

请求添加新配置名参数在 webhook 推送时使用

添加新变量:配置名 #{servername}

应用范围:多个配置 / 单域名多服务商同时解析

期望功能:

  1. 配置名:A服务商
    • webhook 推送回报:
      • 当前解析方:A服务商
  2. 配置名:B服务商
    • webhook 推送回报:
      • 当前解析方:B服务商

- name: 腾讯云
+ servername = 腾讯云
      ipv4:
        enable: true
      以下略

{
    "msgtype": "markdown",
     "markdown": {
        "title": "您的公网IP已变更:",
        "text": "当前解析方:{servername}  \n"
   }
}

回报:
您的公网IP已变更:
当前解析方:腾讯云

Problem

No response

Other Description

No response

Checklist

  • I am using the latest version and have confirmed that the feature is not yet implemented in the latest version
  • I have searched for similar feature requests before submitting this one
@NEANC NEANC added the enhancement New feature or request label Aug 20, 2024
@jeessy2
Copy link
Owner

jeessy2 commented Aug 21, 2024

欢迎PR,不过通过域名也知道是什么服务商

Copy link

This issue is stale because it has been open 30 days with no activity. Remove Stale label or comment or this will be closed in 5 days.

@github-actions github-actions bot added the Stale label Sep 20, 2024
Copy link

This issue was closed because it has been stalled for 5 days with no activity.

@github-actions github-actions bot closed this as not planned Won't fix, can't repro, duplicate, stale Sep 25, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request Stale
Projects
None yet
Development

No branches or pull requests

2 participants