removed old binary + updated README
This commit is contained in:
@@ -1,8 +1,16 @@
|
||||
# Dynamic DNS Client for Porkbun API
|
||||
|
||||
To use, put binary in a folder with a file named ".env".
|
||||
The contents of the .env file should be JSON in the following format:
|
||||
```{
|
||||
A simple program for keeping all of your A records up to date!
|
||||
|
||||
To use, you will need your own Porkbun API key + secret.
|
||||
Then, place the `dynamic-dns` executable in a folder.
|
||||
Create a new file in the same folder named `.env`.
|
||||
Copy the text below into the `.env` file, replacing the example information with your own.
|
||||
|
||||
Note: only include top-level domain, it'll take care of identifying and updating subdomain IPs
|
||||
|
||||
```
|
||||
{
|
||||
"secretapikey": "XXXXXXXXXXXXX",
|
||||
"apikey": "XXXXXXXXXXXXX",
|
||||
"domains": [
|
||||
@@ -10,6 +18,11 @@ The contents of the .env file should be JSON in the following format:
|
||||
"example.net",
|
||||
"example.io"
|
||||
]
|
||||
}```
|
||||
}
|
||||
```
|
||||
|
||||
Source Go code is included, I need to fix the package and stuff up though
|
||||
You are now ready to run the program!
|
||||
|
||||
I recommend scheduling the program with something like cron.
|
||||
|
||||
Source code is included, you can build it yourself if you want but the executable is up to date.
|
||||
|
||||
Binary file not shown.
Reference in New Issue
Block a user