Comments (8)
Thanks Nik, however, since I couldnt get it working i found another script which is currently functioning the way i want it to. Thanks again.
from ddns-on-cloudflare.
@pheistman
looks like you don't have pip
installed
install pip
and try again
from ddns-on-cloudflare.
Thanks for the response, i'll try it out
from ddns-on-cloudflare.
@pheistman
i apologize for my previous comment
it's called Origin Key, right below your API Key
starts with v1...
from ddns-on-cloudflare.
Thanks a lot for your assistance. I've installed pip and used the Origin Key which has got it working.
However, I've noticed that after the script creates an A Record of ddns in Cloudflare which points to my updated IP address, I now have 2 A records.
The first is ddns A record which points to the updated IP address and the second A record is my domain name pointing to my old IP address.
Is there a way to keep 1 A record which gets updated when the script runs?
Thanks in advance
from ddns-on-cloudflare.
Is there a way to keep 1 A record which gets updated when the script runs?
have you tried removing the second A record?
happens when you remove it?
from ddns-on-cloudflare.
Ok so 2 things happen.
-
When i remove the newly created ddns A record, I still have my old A record which is my domain name pointing to the old IP address. After running the script, it only creates a new A record with name ddns which points to the updated IP address.
-
When i remove the A record which has the name of my domain pointing to the old IP address, all i have left is the newly created ddns A record pointing to the updated IP address. It breaks my website making it unreachable. Cloudflare also puts up a warning that "An A, AAAA or CNAME record was not found pointing to the root domain. The domain will not resolve."
from ddns-on-cloudflare.
Thanks a lot for your assistance. I've installed pip and used the Origin Key which has got it working.
However, I've noticed that after the script creates an A Record of ddns in Cloudflare which points to my updated IP address, I now have 2 A records.
The first is ddns A record which points to the updated IP address and the second A record is my domain name pointing to my old IP address.
Is there a way to keep 1 A record which gets updated when the script runs?Thanks in advance
Hi @pheistman, Sorry for the late reply. Idk if you figured it out. I understand the 2 A Records are example.com
and ddns.example.com
. These are not the same A Records. Your root domain is having your old IP and the program is set to create an sub domain to track your ddns ip.
You have 2 option:
- Reprogram the source code to take root domain instead of sub domain.
- Use your root domain for some other purpose like hosting something in git and use ddns sub domain for accessing your local ip.
from ddns-on-cloudflare.
Related Issues (4)
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 ddns-on-cloudflare.