Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

I host my companys website on Cloudflare pages using Cloudflare's DNS. I don't want to move to 100% self hosting but I would like to have self hosted backup. Has anyone solved this?


Having a self-hosted “backup” that is ready to go at any time means having a self-hosted server that’s always on, basically. There are lots of cheap colo or VM options out there. But the problem is going to be dealing with an outage… how do you switch DNS over when your DNS provider is down?

Well, one way is to use a different DNS provider than either of your hosting options.

You can see this is getting complicated. Might be better to take the downtime.

But if I had to make a real recommendation I’m not aware of any time in the last decade that a static site deployed on AWS S3/Cloudfront would have actually been unavailable.


> how do you switch DNS over when your DNS provider is down?

You list multiple nameservers.

    yoursite.com. 86400 IN NS ns1.yourprovider.com.
    yoursite.com. 86400 IN NS ns2.yourprovider.com.
    yoursite.com. 86400 IN NS ns1.yourotherprovider.com.
    yoursite.com. 86400 IN NS ns2.yourotherprovider.com.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: