• 4 Posts
  • 117 Comments
Joined 2 years ago
cake
Cake day: June 17th, 2023

help-circle





  • If I can ramble a bit more - forget the Anycast bit. If you run your own DNS server(s), you can just configure them to respond based on the geographic location of the requester. PowerDNS is pretty easy to set up for this. You could run your own DNS just for the image domain. You basically run PowerDNS authoritative server, set up your zones and the geoip stuff, then slap dnsdist in front of it to be publicly exposed. dnsdist has anti-DDoS features and loadbalancing in it, in case you need it down the road.

    Since it’s just for static images, you can have a higher TTL so you don’t need to worry about distributing the DNS servers. (ie. the DNS lookup might not be super fast since it could go across the country, but it doesn’t matter since that lookup is only going to happen every TTL period on each client, which can be high.)


  • One suggestion to consider for Lemmy.ca is to move your images and other easily-cacheable content to a different domain or subdomain, to give you more flexibility.

    eg. If you serve your static assets off of lemmyimages.ca, then you can have only that behind a CDN, Cloudflare, or some other hosting with DDoS scrubbing. It gives you more flexibility to cope with various situations.

    2tb a week isn’t much (6 mbps on average?). It’s pretty easy to set up nginx as a caching reverse proxy and spin that up on a couple of VPSes, but the annoying bit is you need to anycast your own IP address space in order for it to be functional as a CDN.

    I’m not aware of any Canadian-owned CDNs either… OVH has one but they’re pretty crappy as a company. Beware of whitelabelled CDNs too, even some of the CDNs provided by big cloud hosting companies are actually whitelabelled from another company.







  • It’s great that you’ve pointed this out and I hope there’s more awareness about it. In practice, it’s not hard: Buy from candian-owned small businesses who manufacture in Canada.

    In my not-at-all-humble opinion, most of your examples are all shit you shouldn’t be buying in the first place:

    • We have copious amounts of local craft beer. Never buy the big brands, they’re all swill. If you actually drink craft beer, you’ll know which brands, like Creemore and Millstreet, are fake craft.

    • Nobody should be buying anything from Coca-Cola in the 21st century. We’ve known pop is terrible for your health for like 50 years. They’re a shit company who is the biggest polluter of plastics in the world.

    • Canada Goose is for tools with no taste. By the time any trendy fashion company gets bought out, it’s not cool anymore.

    All we have to do as a nation is just put that little extra effort into learning about what we’re buying and making different choices, and it’s actually great that we’re all doing that because we should have been doing it all along.



  • As someone who works in tech, I feel like the sales pitch for VPNs is snakeoil for the average person. All you’re doing is trading out your own ISP spying on you for another ISP who can spy on you. I know I have rights if my ISP spies on me in my own country, but if my traffic is all egressing via a foreign country, I may have zero privacy rights in that country.

    If you need to hide your torrenting activity, just use a seedbox. If you need to hide from the NSA, none of this is going to help you. And TLS basically does the rest.

    Same with DNS-over-HTTPS - the DNS server is where they’re going to be spying on you!