Comments (1)
Dear @martux69,
Due to the nature of IPv6, every device in your home network usually has its own public IPv6 address (that might be firewalled by your router, but in theory, it is publicly accessible). For this reason, if you want to use the IPv6 address, I recommend you to run the script directly on the device you want to access. Then it should actually be the IP address that you need in order to access the device in question, so exactly what you want. The reason why with IPv4 you always get the router IP address is the usage of NAT. That is why you have to configure port forwarding and so on on your router for IPv4 (so that it knows to which device the request should be forwarded).
Theoretically, with IPv6 it is also possible to find out the public address on the device itself (but the most reliable way for all operating systems and without having to use some kind of tool and parse its output is probably still calling an external service, which is why I am doing it that way).
The URL you mentioned is currently working for me. Maybe it was a temporary outage? The script actually accesses another service (https://v6.ident.me/) in case it does not get a (valid) IP address by one of the services. So this should not affect the usage of the script, as long as the other service is still working.
Kind regards
Lars
from dynamic-dns-netcup-api.
Related Issues (16)
- "Error while logging in: Exiting." HOT 5
- @A record not set HOT 1
- Danke! HOT 1
- Question about execution schedule HOT 2
- Set reasonable timeout for API connections HOT 1
- Specify config files on command line HOT 1
- Error while getting DNS Record info: The session id is not in a valid format. HOT 5
- API didn't return a valid IPv4 addres HOT 5
- Retry API errors? HOT 2
- Improve code quality in curl retry logic
- SeeIP changed URL's HOT 2
- query IPv4 directly from Fritzbox if available HOT 1
- Support multiple domains HOT 7
- Add shebang line HOT 1
- Cronjob throwing PHP Warnings and can't login HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from dynamic-dns-netcup-api.