dnsimple / coredns-dnsimple Goto Github PK
View Code? Open in Web Editor NEWA DNSimple plugin for CoreDNS.
License: MIT License
A DNSimple plugin for CoreDNS.
License: MIT License
NAPTR records provided via the DNSimple app should be considered valid.
100 10 "U" "E2U+sip" "!^.*$!sip:[email protected]!"
[ERROR] plugin/dnsimple: failed to parse resource record: dns: bad NAPTR Replacement: " " at line: 1:28
Currently, if CoreDNS is used as the system resolver, it will fail to start, since it will be unable to make the DNS lookup to call the DNSimple API on setup because the system resolver is set to itself, but it isn't responding yet.
A temporary workaround is to change the system resolver to something else first, start CoreDNS, then change the system resolver back. However, this only lasts until CoreDNS restarts.
Ideally, we should not block CoreDNS from starting, and delay API calls until our first fetch. This way, any forward
/fallback
/alternate
plugins can start serving those DNS queries while our plugin is starting.
Currently, if DNSIMPLE_TOKEN and/or DNSIMPLE_ACCOUNT_ID are not provided, we simply silently proceed, which will lead to less friendly errors around API failures. We should instead check that these exist and fail if they haven't been provided in the config or env vars.
When an ALIAS record is being loaded and we fail to resolve the ALIAS record we log it as an error and do not add it to the zone file. We also send the error to the DNSimple APP flagging the sync as failed.
For advanced users who don't need or want the automatic status updates, it should be possible to turn off the feature if requested. For example, they may already have their own logging, monitoring, and alerting set up, and would prefer not to duplicate such functionality.
If an update fails, we should delay the next update exponentially, as otherwise we'll repeatedly perform updates on a fixed interval while the network or service is degraded. Additionally, we should also not wait too long after the first failure, as the issue may be ephemeral and we should not persist a degraded or stale state.
SRV records should work.
[ERROR] plugin/dnsimple: failed to parse resource record: dns: bad SRV Port: "server.pros-at.work" at line: 1:67
[ERROR] plugin/dnsimple: failed to parse resource record: dns: bad SRV Port: "tko.pros-at.work" at line: 1:60
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.