- +
- +
- +
@@ -143,23 +149,24 @@
DNS Provider
- - You can modify it if the account supports a smaller TTL. - The TTL will only be updated when the IP changes - +
@@ -170,9 +177,9 @@
IPv4
@@ -180,7 +187,7 @@
IPv4
type="checkbox" class="form-check-inline" style="margin-top: 5px" - id="ipv4_enable" + id="Ipv4Enable" name="Ipv4Enable" checked /> @@ -189,9 +196,9 @@
IPv4
@@ -204,12 +211,11 @@
IPv4
id="urlRadioIpv4" value="url" checked - onclick="urlClick('ipv4')" />
@@ -220,12 +226,11 @@
IPv4
name="Ipv4GetType" id="netInterfaceRadioIpv4" value="netInterface" - onclick="netInterfaceClick('ipv4')" />
@@ -236,12 +241,11 @@
IPv4
name="Ipv4GetType" id="cmdRadioIpv4" value="cmd" - onclick="cmdClick('ipv4')" />
@@ -249,49 +253,72 @@
IPv4
type="url" class="form-control form" name="Ipv4Url" - id="ipv4_url" - aria-describedby="ipv4_url_help" - value="https://myip4.ipip.net, https://ddns.oray.com/checkip, https://ip.3322.net, https://4.ipw.cn" + id="Ipv4Url" + aria-describedby="Ipv4UrlHelp" + data-visible="url" /> + aria-describedby="Ipv4NetInterfaceHelp" + data-visible="netInterface" + > + {{range .Ipv4}} + + {{end}} + + +
-
- - One domain per line, you can use colon to separate the - root domain (example.cn.eu.org) and the subdomain (www), - fill in as: www:example.cn.eu.org - +
@@ -302,9 +329,9 @@
IPv6
@@ -312,7 +339,7 @@
IPv6
type="checkbox" class="form-check-inline" style="margin-top: 5px" - id="ipv6_enable" + id="Ipv6Enable" name="Ipv6Enable" checked /> @@ -321,9 +348,9 @@
IPv6
@@ -336,12 +363,11 @@
IPv6
id="urlRadioIpv6" value="url" checked - onclick="urlClick('ipv6')" />
@@ -352,12 +378,11 @@
IPv6
name="Ipv6GetType" id="netInterfaceRadioIpv6" value="netInterface" - onclick="netInterfaceClick('ipv6')" />
@@ -368,90 +393,112 @@
IPv6
name="Ipv6GetType" id="cmdRadioIpv6" value="cmd" - onclick="cmdClick('ipv6')" />
+ aria-describedby="Ipv6NetInterfaceHelp" + data-visible="netInterface" + > + {{range .Ipv6}} + + {{end}} + + +
-
- - One domain per line, you can use colon to separate the - root domain (example.cn.eu.org) and the subdomain (www), - fill in as: www:example.cn.eu.org - +
@@ -460,13 +507,16 @@
IPv6
-
Others
+
Others
@@ -476,22 +526,22 @@
Others
style="margin-top: 5px" id="NotAllowWanAccess" name="NotAllowWanAccess" - checked + {{if .NotAllowWanAccess}}checked{{end}} /> Default enabled, can prohibit access to this page from - the public network
@@ -499,20 +549,23 @@
Others
class="form-control form" name="Username" id="Username" - value="" - aria-describedby="Username_help" + value="{{.Username}}" + autocomplete="username" + aria-describedby="UsernameHelp" /> - Please enter to protect your information security +
@@ -521,12 +574,15 @@
Others
type="password" name="Password" id="Password" - value="" - aria-describedby="password_help" + value="{{.Password}}" + autocomplete="new-password" + aria-describedby="passwordHelp" /> - Please enter to protect your information security +
@@ -544,18 +600,14 @@
Webhook
class="form-control form" name="WebhookURL" id="WebhookURL" - value="" - aria-describedby="WebhookURL_help" + value="{{.WebhookURL}}" + aria-describedby="WebhookURLHelp" /> - - Click to get more info
- Support variables #{ipv4Addr}, #{ipv4Result}, - #{ipv4Domains}, #{ipv6Addr}, #{ipv6Result}, #{ipv6Domains} -
+
@@ -571,16 +623,13 @@
Webhook
id="WebhookRequestBody" name="WebhookRequestBody" rows="3" - aria-describedby="WebhookRequestBody_help" - > + aria-describedby="WebhookRequestBodyHelp" + >{{.WebhookRequestBody}} - If RequestBody is empty, it is a GET request, otherwise it - is a POST request. Supported variables are the same as - above - + > @@ -594,15 +643,13 @@
Webhook
id="WebhookHeaders" name="WebhookHeaders" rows="1" - aria-describedby="WebhookHeaders_help" - > + aria-describedby="WebhookHeadersHelp" + >{{.WebhookHeaders}} - One header per line, such as: Authorization: Bearer - API_KEY - + > @@ -610,16 +657,12 @@
Webhook
-
@@ -627,724 +670,482 @@
Webhook
-