You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[GoDNS](https://github.com/TimothyYe/godns) is a dynamic DNS (DDNS) client tool. It is a rewrite in [Go](https://golang.org) of my early [DynDNS](https://github.com/TimothyYe/DynDNS) open-source project.
21
+
[GoDNS](https://github.com/TimothyYe/godns) is a dynamic DNS (DDNS) client tool. It is a rewrite in [Go](https://golang.org) of my early [DynDNS](https://github.com/TimothyYe/DynDNS) open-source project.
22
22
23
23
[查看中文帮助文档](README_CN.md)
24
24
@@ -62,6 +62,7 @@
62
62
-[Slack](#slack)
63
63
-[Discord](#discord)
64
64
-[Pushover](#pushover)
65
+
-[Bark](#bark)
65
66
-[Webhook](#webhook)
66
67
-[Webhook with HTTP GET request](#webhook-with-http-get-request)
67
68
-[Webhook with HTTP POST request](#webhook-with-http-post-request)
@@ -352,7 +353,6 @@ For DigitalOcean, you need to provide an API Token with the `domain` scopes (you
352
353
"ip_type": "IPv4",
353
354
"interval": 300
354
355
}
355
-
356
356
```
357
357
358
358
</details>
@@ -596,12 +596,14 @@ For Scaleway, you need to provide an API Secret Key as the `login_token` ([How t
596
596
{
597
597
"provider": "Scaleway",
598
598
"login_token": "API Secret Key",
599
-
"domains": [{
599
+
"domains": [
600
+
{
600
601
"domain_name": "example.com",
601
-
"sub_domains": ["www","@"]
602
-
},{
602
+
"sub_domains": ["www", "@"]
603
+
},
604
+
{
603
605
"domain_name": "samplednszone.example.com",
604
-
"sub_domains": ["www","test"]
606
+
"sub_domains": ["www","test"]
605
607
}
606
608
],
607
609
"resolver": "8.8.8.8",
@@ -825,9 +827,7 @@ For Dynu, you need to configure the `password`, config 1 default domain & subdom
825
827
"domains": [
826
828
{
827
829
"domain_name": "your_domain.com",
828
-
"sub_domains": [
829
-
"your_subdomain"
830
-
]
830
+
"sub_domains": ["your_subdomain"]
831
831
}
832
832
],
833
833
"resolver": "8.8.8.8",
@@ -995,6 +995,28 @@ The `message_template` property supports [html](https://pushover.net/api#html) i
995
995
If the `device` and `title` parameters are left empty, Pushover will choose defaults [see](https://pushover.net/api#messages). More details on the priority parameter
996
996
can be found on the Pushover [API description](https://pushover.net/api#priority).
997
997
998
+
#### Bark
999
+
1000
+
To receive a [Bark](https://bark.day.app/) message each time the IP changes, update your configuration with the following snippet:
`server`Bark server address. You can use the default official server `https://api.day.app` or set it to a self-hosted server address.
1014
+
`device_keys`device key, supports multiple keys (comma-separated) for batch push.
1015
+
`params`Bark request parameters, please refer to [Bark API](https://bark.day.app/#/en-us/tutorial?id=request-parameters)
1016
+
`user`Basic auth username of the self-hosted server, same with server side environment variable `BARK_SERVER_BASIC_AUTH_USER`.
1017
+
`password`Basic auth password of the self-hosted server, same with server side environment variable `BARK_SERVER_BASIC_AUTH_PASSWORD`.
1018
+
For more information, please refer to the [Bark official documentation](https://bark.day.app/)
1019
+
998
1020
### Webhook
999
1021
1000
1022
Webhook is another feature that GoDNS provides to deliver notifications to other applications while the IP is changed. GoDNS delivers a notification to the target URL via an HTTP `GET` or `POST` request.
@@ -1161,6 +1183,7 @@ Starting from version 3.1.0, GoDNS provides a web panel to manage the configurat
1161
1183
```
1162
1184
1163
1185
After enabling the web panel, you can visit `http://localhost:9000` to manage the configuration and monitor the status of the domains.
1186
+
1164
1187
## Running GoDNS
1165
1188
1166
1189
There are a few ways to run GoDNS.
@@ -1216,6 +1239,7 @@ Note: when the program stops, it will not be restarted.
1216
1239
### As a managed daemon (with procd)
1217
1240
1218
1241
`procd` is the init system on OpenWRT. If you want to use godns as a service with OpenWRT and procd:
1242
+
1219
1243
1. Copy `./config/procd/godns` to `/etc/init.d` (and tweak it to your needs)
1220
1244
2. Start the service (with root privilege):
1221
1245
@@ -1282,8 +1306,9 @@ Contributions are welcome! Please feel free to submit a Pull Request.
1282
1306
### Setup the frontend development environment
1283
1307
1284
1308
Requirements:
1285
-
* Node.js `18.19.0` or higher
1286
-
* Go `1.17` or higher
1309
+
1310
+
- Node.js `18.19.0` or higher
1311
+
- Go `1.17` or higher
1287
1312
1288
1313
The frontend project is built with [Next.js](https://nextjs.org/) and [daisyUI](https://daisyui.com/). To start the development environment, run:
0 commit comments