Comments (9)
The issue has not reproduced itself. It's probably an issue on DigitalOcean's end.
from digitalocean-dyndns.
Could it be related to kubernetes-sigs/external-dns#503 ?
from digitalocean-dyndns.
Hi @nicbou ,
Unfortunetely I don't have any ideas. I haven't used this project inside k8s. Such an issue has not been reported before by any user. I guess this might be something with your system? Maybe you can share the logs?
from digitalocean-dyndns.
Hi @tunix, unfortunately I had the same problem again today. My ISP assigned me a new IP and my server went offline, but the DNS record was not updated. In digitalocean I see 6 duplicate records, all with the old address. In the docker logs, I see that it tried to update the IP, but it somehow didn't work:
dynamicdns_1 | Trying with ifconfig.co...
dynamicdns_1 | Found IP address 91.64.156.15
dynamicdns_1 | existing DNS record address (91.64.142.174
dynamicdns_1 | 91.64.142.174
dynamicdns_1 | 91.64.142.174
dynamicdns_1 | 91.64.142.174
dynamicdns_1 | 91.64.142.174
dynamicdns_1 | 91.64.142.174
dynamicdns_1 | 91.64.142.174) doesn't match current IP (91.64.156.15), sending data={"type": "A", "name": "home", "data": "91.64.156.15"} to url=https://api.digitalocean.com/v2/domains/nicolasbouliane.com/records/151343831
dynamicdns_1 | 158312602
dynamicdns_1 | 158640116
dynamicdns_1 | 158786875
dynamicdns_1 | 158792506
dynamicdns_1 | 159168836
dynamicdns_1 | 159907117
dynamicdns_1 | existing DNS record address (91.64.142.174
dynamicdns_1 | 91.64.142.174
dynamicdns_1 | 91.64.142.174
dynamicdns_1 | 91.64.142.174
dynamicdns_1 | 91.64.142.174
dynamicdns_1 | 91.64.142.174
dynamicdns_1 | 91.64.156.15) doesn't match current IP (91.64.156.15), sending data={"type": "A", "name": "timeline", "data": "91.64.156.15"} to url=https://api.digitalocean.com/v2/domains/nicolasbouliane.com/records/151343833
dynamicdns_1 | 158312609
dynamicdns_1 | 158640118
dynamicdns_1 | 158786878
dynamicdns_1 | 158792508
dynamicdns_1 | 159168837
dynamicdns_1 | 159907119
from digitalocean-dyndns.
This issue should not be closed. It's still happening.
from digitalocean-dyndns.
This happened once again.
dynamicdns:
image: tunix/digitalocean-dyndns
environment:
- DIGITALOCEAN_TOKEN
- DOMAIN=nicolasbouliane.com
- NAME=home;timeline
My IP changed this morning, and now I have 2 pages of duplicate DNS records, all of which point to the wrong IP address.
from digitalocean-dyndns.
I'm starting to see what could be wrong.
dynamicdns_1 | Trying with ifconfig.co...
dynamicdns_1 | Found IP address NEW_IP
dynamicdns_1 | existing DNS record address (OLD_IP
dynamicdns_1 | OLD_IP
[many more duplicate OLD_IP lines]
dynamicdns_1 | NEW_IP) doesn't match current IP (NEW_IP), sending data={"type": "A", "name": "home", "data": "91.65.119.67"} to url=https://api.digitalocean.com/v2/domains/nicolasbouliane.com/records/...
dynamicdns_1 | RECORD_ID
[many more RECORD_IDs]
So it looks like it compares a single IP to a bunch of different IPs, and the strings don't match.
from digitalocean-dyndns.
Hi @nicbou ,
Have you tried passing REMOVE_DUPLICATES='true'
as an environment variable? The script has the ability to remove duplicated DNS records but it's turned off by default. You should see a log message like below:
Unable to update '$sub' domain name as it has duplicate DNS records. Set REMOVE_DUPLICATES='true' to remove them.
Also, do you use the default sleep interval? (which is 5 mins) The script basically checks if the resolved IP address corresponds to the DNS record with the given subname and then creates or updates it.
According to your logs, record_id (at line 44) consists of many records per subdomain but I can't see how that's possible. Do you use the latest Docker image?
from digitalocean-dyndns.
from digitalocean-dyndns.
Related Issues (11)
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 digitalocean-dyndns.