Code Monkey home page Code Monkey logo

Comments (7)

crazy-max avatar crazy-max commented on May 29, 2024 2

@lukababu

The part where it says No DDNSR53* environment variables defined_ worries me, first time I used AWS IAM so could it be I am passing something wrong?

That's ok if you only use the YAML configuration file and don't use environment variables.

Regardless it is not working:

Cannot retrieve WAN IPv6 address: IPv6 is disabled on your WAN so you can't update AAAA record. Remove this record and it should be ok.

from ddns-route53.

crazy-max avatar crazy-max commented on May 29, 2024 1

@lukababu

"name": "“unraid-na.example.com.”",

As you can see in your logs name of your recordsSet entries are wrong.

- name: “unraid-na.example.com.” should be - name: "unraid-na.example.com." (replace left/right double quotes to double quotes)

from ddns-route53.

lukababu avatar lukababu commented on May 29, 2024 1

That worked thank you!

My intention was to set this up once and hoped that once my ISP offers ipv6 it would automatically grab it.
I guess a new feature request would be to put in the last known IP or localhost if no IP can be retrieved.

from ddns-route53.

crazy-max avatar crazy-max commented on May 29, 2024 1

@lukababu

I guess a new feature request would be to put in the last known IP or localhost if no IP can be retrieved.

It has been implemented trough 2.1.0. Can you try it?

from ddns-route53.

lukababu avatar lukababu commented on May 29, 2024

Wow such an annoying thing. Regardless it is not working:

New Debug Log

�[90mSun, 06 Sep 2020 16:49:42 PDT�[0m �[32mINF�[0m Starting ddns-route53 �[36mversion=�[0m2.0.1
�[90mSun, 06 Sep 2020 16:49:42 PDT�[0m �[32mINF�[0m Configuration loaded from file: /ddns-route53.yml
�[90mSun, 06 Sep 2020 16:49:42 PDT�[0m �[33mDBG�[0m No DDNSR53_* environment variables defined
�[90mSun, 06 Sep 2020 16:49:42 PDT�[0m �[33mDBG�[0m {
"credentials": {
"accessKeyID": "AXXXXXXXXXXXXXXXXXX",
"secretAccessKey": "R+XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX"
},
"route53": {
"hostedZoneID": "ZXXXXXXXXXXXXXXXXXC",
"recordsSet": [
{
"name": "unraid-na.example.com.",
"type": "A",
"ttl": 300
},
{
"name": "unraid-na.example.com.",
"type": "AAAA",
"ttl": 300
}
]
}
}
�[90mSun, 06 Sep 2020 16:49:43 PDT�[0m �[32mINF�[0m Current WAN IPv4: 135.23.XXX.XXX
�[90mSun, 06 Sep 2020 16:49:43 PDT�[0m �[1m�[31mERR�[0m�[0m Cannot retrieve WAN IPv6 address �[31merror=�[0m�[31m"request failed: Get https://v6.ident.me/: dial tcp [2a01:7e00::f03c:91ff:fe70:2b9d]:443: connect: network is unreachable"�[0m

�[90mSun, 06 Sep 2020 16:49:43 PDT�[0m �[1m�[31mERR�[0m�[0m No WAN IPv6 address available to update unraid-na.iremadze.com. record
�[90mSun, 06 Sep 2020 16:49:43 PDT�[0m �[1m�[31mERR�[0m�[0m Cannot update records set �[31merror=�[0m�[31m"InvalidInput: Invalid XML ; cvc-complex-type.2.4.b: The content of element 'Change' is not complete. One of '{\"https://route53.amazonaws.com/doc/2013-04-01/\":Action, \"https://route53.amazonaws.com/doc/2013-04-01/\":ResourceRecordSet}' is expected.\n\tstatus code: 400, request id: 73defa0c-dc1b-409a-b52f-66a36b14ae2e"�[0m
�[90mSun, 06 Sep 2020 16:49:43 PDT�[0m �[32mINF�[0m 2 records set updated �[36mchanges=�[0m{"ChangeInfo":null}
�[90mSun, 06 Sep 2020 16:49:43 PDT�[0m �[32mINF�[0m Cron initialized with schedule */30 * * * *
�[90mSun, 06 Sep 2020 16:49:43 PDT�[0m �[32mINF�[0m Next run in 10 minutes (2020-09-06 17:00:00 -0700 PDT)

The part where it says No DDNSR53* environment variables defined_ worries me, first time I used AWS IAM so could it be I am passing something wrong?

from ddns-route53.

crazy-max avatar crazy-max commented on May 29, 2024

@lukababu

I guess a new feature request would be to put in the last known IP or localhost if no IP can be retrieved.

Yes I will enhanced this part. Thanks for your input and thanks a LOT for sponsoring me ❤️

from ddns-route53.

lukababu avatar lukababu commented on May 29, 2024

@lukababu

I guess a new feature request would be to put in the last known IP or localhost if no IP can be retrieved.

It has been implemented trough 2.1.0. Can you try it?

Confirm, it's working with the original configuration. I reset the IP for 'A' and 'AAAA' in Route53 to localhost and it changed 'A' leaving 'AAAA' unaffected.

Thank you!

from ddns-route53.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.