Skip to content
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

Error when running #24

Open
microfx opened this issue Sep 19, 2020 · 1 comment
Open

Error when running #24

microfx opened this issue Sep 19, 2020 · 1 comment

Comments

@microfx
Copy link

microfx commented Sep 19, 2020

Hey!

"Something went wrong updating the IPv4 address. Check the configuration and make sure you're not using Two-Factor-Authentication."

Hm... seems like I am not doing it right... any idea?

#!/bin/bash

# curl -s = silent mode
# if [ -z "$OLDIPv4" ] = true if $OLDIPv4 (a string) is null -> https://stackoverflow.com/a/18096739/11458487
# Configuration ################################################################
USERNAME="xxx"                             # Your username at INWX
PASSWORD="xxx"                 # Your password at INWX
DNSIDsv4=("382507134")                          # The ID of the A record
DNSIDsv6=()                                     # The ID of the AAAA record
SILENT=false                                    # Should the script write a logfile? (true | false)
UPDATEURLv4=""                                  # Your prefered host to get the IPv4 from
UPDATEURLv6=""                                  # Your prefered host to get the IPv6 from

Also why would I want / need two IDs for A record? Is that the problem?

Cheers!

@ChristianKrausse
Copy link
Contributor

You need one ID for the DNS A record (DNSIDsv4) and one for the AAA (DNSIDsv6), but if I let one empty, there is no Problem.
Have you checked the UPDATEURLs?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants