How IPFS is showing up-to-date Information

After a few small changes of the last article I have seen that the current IPFS has been changed to a newer one. Changing is not the acuarate working. A new hash been created and the old one exists too but will not be used anymore. The current one is Qmd1vjCbc5yzndS6TZg9KS5hhPVNyJL2RX8DpxWGD2Jeop which is already outdated after posting this article. How do I have observed this?

  1. First the hash that Fleek is pointing to has been changed on the UI.
  2. Secondary dig +short TXT _dnslink.benni.tech | sed -E 's/"dnslink=(.*)"/\1/g' is pointing now to /ipfs/Qmd1vjCbc5yzndS6TZg9KS5hhPVNyJL2RX8DpxWGD2Jeop
  3. Third https://ipfs.io/ipfs/QmdxaxczCgnNgDA4wy6gjAJoKqXFKJiYhquKYqUHMk4ysu/ was still showing the old data. Secondary
  4. Fourth ipfs dns benni.tech is pointing to /ipfs/Qmd1vjCbc5yzndS6TZg9KS5hhPVNyJL2RX8DpxWGD2Jeop too
  5. Fifth ipfs cat /ipfs/Qmd1vjCbc5yzndS6TZg9KS5hhPVNyJL2RX8DpxWGD2Jeop/index.html is showing up-to-date data.

So that

  1. for all new data will be a new IPFS hash created
  2. Fleek is pointing after every update to the current/latest IPFS hash. This is how Fleek is ensuring the latest page will shown.

How to flush DNS Cache in Firefox

Today I have moved the domain record benn.tech from based an ip address to a resolution using IPFS based on fleek. For DNS is am using Namecheap. This is how the setup now looks like:

Type Host Value
CNAME _dnslink.www _dnslink.bennitech.on.fleek.co.
CNAME _dnslink _dnslink.bennitech.on.fleek.co.
CNAME @ 4cbeeb4387fc7eacf4a4.b-cdn.net.
CNAME www 4cbeeb4387fc7eacf4a4.b-cdn.net.

I have verified the DNS setup using host -a -t any benni.tech 8.8.8.8. The response was good. Also DNS Checker was showng the correct response.

But a host -a -t any benni.tech which is served by my local dns server based on Pihole was still showing the wrong ip. A pihole restartdns helped here before the TTL has expired. So that curl and other tools were showing the right responses.

Firefox was still showing the old page. So that I have cleared the DNS cache in firefox using this entry on Stackoverflow. I have just opened about:networking#dns and have pressed the button Clear DNS Cache. This solved the problem.

This blog is now available via:

Hello World

Welcome to my awesome new blog everyone! This is my first blog post. I have decided to run this blog on decentralized infrastructure and have choosen to deploy My blog IPFS using Fleek and Hugo. In the next weeks I am planning to write about the learnings I will do about running a blog that runs on decentralized infrastructure.