Code Monkey home page Code Monkey logo

Comments (3)

ismarslomic avatar ismarslomic commented on May 30, 2024

This container supports 2 different IP checker sites:

In your case you are using the ifconfig.co and I assume that this site by default responds with IPv4. I see from their say that you can pass arguments whether you want to force it to return IPv4 or IPv6 when using the command line. But currently the code in this container uses the HTTP.

So the short answer is that IPv6 is not supported currently. You are welcome to submit a PR with this feature.

from route53-dynamic-dns.

ohshitgorillas avatar ohshitgorillas commented on May 30, 2024

Actually, the default value returned by ifconfig.co is IPv6 when available.

Discussing this with a friend, he pointed out that to get the container out of host mode, the container would need an IPv6 address from docker to make sure the request goes out over IPv6, and that's what the IP checker would grab--not the host's IPv6, but the container's. Since grabbing the host's IPv6 is the desired behavior, network_mode: host is the appropriate solution.

from route53-dynamic-dns.

ismarslomic avatar ismarslomic commented on May 30, 2024

Good to know! Thanks for sharing the solution @ohshitgorillas!

from route53-dynamic-dns.

Related Issues (18)

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.