https://github.com/gregdel/waybackd
Find your way back
https://github.com/gregdel/waybackd
hacktoberfest
Last synced: 5 months ago
JSON representation
Find your way back
- Host: GitHub
- URL: https://github.com/gregdel/waybackd
- Owner: gregdel
- License: mit
- Created: 2022-10-06T07:13:12.000Z (over 3 years ago)
- Default Branch: master
- Last Pushed: 2024-05-24T08:57:18.000Z (about 2 years ago)
- Last Synced: 2025-02-01T19:51:16.823Z (over 1 year ago)
- Topics: hacktoberfest
- Language: Go
- Homepage:
- Size: 7.81 KB
- Stars: 3
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
Awesome Lists containing this project
README
waybackd, find your way back !
# Usage
```sh
# ./waybackd -h
Usage of ./waybackd:
-clean
cleanup dns records and exit
-config string
config file path (default "config.yaml")
-daemon
run in deamon mode
-server
run server mode
```
## OVH API
To generate the API tokens, go to [https://www.ovh.com/auth/api/createToken](https://www.ovh.com/auth/api/createToken).
You should use the "Unlimited" value on the Validy field to avoid the token expiration.
You should set the rights for **YOUR_DOMAIN_NAME** to:
* GET /domain/zone/YOUR_DOMAIN_NAME/record
* POST /domain/zone/YOUR_DOMAIN_NAME/record
* POST /domain/zone/YOUR_DOMAIN_NAME/refresh
* GET /domain/zone/YOUR_DOMAIN_NAME/record/*
* PUT /domain/zone/YOUR_DOMAIN_NAME/record/*
* DELETE /domain/zone/YOUR_DOMAIN_NAME/record/*
Once you're done, you'll get 3 tokens to store in the configuration. See [config.yaml.example](config.yaml.example) for a default configuration.