Skip to content

Instantly share code, notes, and snippets.

@miguelmota
Created April 2, 2022 02:30
Show Gist options
  • Save miguelmota/deab8a14feb29d2331f60587ab744ea9 to your computer and use it in GitHub Desktop.
Save miguelmota/deab8a14feb29d2331f60587ab744ea9 to your computer and use it in GitHub Desktop.
Cloudflare DNS IPFS IPNS CNAME TXT record setup example
1. upload site to ipfs
2. update dns TXT record _dnslink.example.com to `"dnslink=/ipfs/QmZ4tDuvesekSs4qM5ZBKpXiZGun7S2CYtEZRB3DYXkjGx`(replace hash)
3. upadate dns CNAME record for `@` set to `cloudflare-ipfs.com`
4. set to always use https on cloudflare settings
5. visit https://ipfs.io/ipns/example.com to see if dnslink works
5. visit example.com and content should be served from cloudflare ipfs
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment