3 ms·
Why do we still need to manage domain names and DNS settings through web interfaces? Isn't there a command-line tool for this? I'm asking because every provider
by amelius 8y ago
Why do we still need to manage domain names and DNS settings through web interfaces? Isn't there a command-line tool for this? I'm asking because every provider uses a different web interface, which is very inconvenient.
- megous 8y agoChoose provider that offers API. It doesn't have to be the VPS provider itself. And probably shouldn't be.
- amelius 8y agoOk, is the API standardized?
- codetrotter 8y agoNo, but choosing a tool that implements support for multiple providers will give you a common interface.
- Spivak 8y agoThere's RFC2136 and RFC3645 but they're not very widely implemented.
- brightball 8y agoDNS provided by your hosting service is really just there for convenience IMO. Using services like DNS Made Easy or the like is worth the small annual fee to not have to worry about it anymore.
- icebraining 8y agoThere are free options with an API, such as Cloudflare (no, one doesn't have to use the CDN/proxy the traffic through them to use the DNS).
- ngrilly 8y agoYou may be interested by DNSControl, a tool developed by StackExchange: https://stackexchange.github.io/dnscontrol/getting-started https://stackexchange.github.io/dnscontrol/getting-started I wish they had use the standard bind format to describe the zones, instead of JavaScript, but the tool looks great.
- gobengo 8y agoOn a kubernetes cluster you can run external-dns, which always runs in the cluster and watches for new Ingress records routing traffic on a certain domain. And then external-dns will go manage Route53 DNS records (also works with the goog). https://github.com/kubernetes-incubator/external-dns https://github.com/kubernetes-incubator/external-dns A similar thing happens for ssl certs from LetsEncrypt https://github.com/jetstack/cert-manager https://github.com/jetstack/cert-manager So I just `kubecctl create ingress` with a new domain and after a minute or two, the cluster has set it all the certs/dns set up for me (and in the case of CI, the pipeline will continue and run e2e tests against it). It obv took investment to learn and set it all up, but on a team I could see how it could save people time who don't want to wrange dns records and such.