-
Notifications
You must be signed in to change notification settings - Fork 4
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
All RR-Types , non-verbose #3
base: master
Are you sure you want to change the base?
Conversation
bash-stack
commented
Mar 21, 2023
- can update RR by type , does not enable debug by default
- enabled updates for any record type
* loads includes from folder auf autodns-cli * updated README
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Apologies for the long time it took, I wasn't watching this repository.
I really appreciate you took the time to send a PR, would you be up for making the changes I am asking for? Please let me know! :)
### Updating/Creating a record | ||
### Updating/Creating a DNS record ( resource record in autodns ) | ||
|
||
## BE CAREFUL AS the domain parameter might be prefixed ( e.g mydomainentry.mydomain.com) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
## BE CAREFUL AS the domain parameter might be prefixed ( e.g mydomainentry.mydomain.com) | |
> **BE CAREFUL** AS the domain parameter might be prefixed ( e.g mydomainentry.mydomain.com) |
|
||
Then run with: | ||
|
||
``` | ||
$ ./autodns-cli update foo.example.org 127.0.0.1 | ||
$ ./autodns-cli update domain.com 127.0.0.1 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Not sure this was intended?
OR specify the type as last argument | ||
|
||
``` | ||
$ ./autodns-cli update _amazonses.subdomain "ASDOIJQWDQWDASD+24hjdsf23/" TXT |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Very cool!
@@ -7,13 +7,16 @@ declare -r prog=$(basename "$0") | |||
declare -r endpoint=https://api.autodns.com/v1 | |||
declare -r ttl=120 | |||
|
|||
if [ -f './.autodns-cli.rc' ]; then | |||
if [ -f '~/.autodns-cli.rc' ]; then |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can you make it possibly load either? I am not sure what the best load order would be, maybe home first, then local second?
#source ./func.sh | ||
#source ./commands.sh | ||
|
||
source $( cd "$( dirname "${BASH_SOURCE[0]}" )" >/dev/null 2>&1 && pwd )/func.sh |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👍🏼 Cheers!