News for hackers. Stuff that matters.
Re:Show HN: This website is hosted on DNS by Kharacternyk on Sunday February 25, 2024 @01:11PM (#39503180)
This is a nice PoC. For how long are TXT records usually cached? Triweb might not see the latest changes to the websites for quite some time.
Re:Show HN: This website is hosted on DNS by zzem on Sunday February 25, 2024 @01:52PM (#39503560)
Thanks! The time for which TXT records are cached is determined by their TTLs. When publishing a DNS TXT record, you can usually set the TTL to be as low as 1 minute or even less, so any changes to the content would be picked up really quickly. (https://developers.cloudflare.com/dns/manage-dns-records/ref...)
Re:Show HN: This website is hosted on DNS by Kharacternyk on Monday February 26, 2024 @02:52PM (#39516041)
I know that it's all configurable, what I meant is that some DNS providers may apply a long TTL by default, and it may be desirable to let users of Triweb know about this possible source of confusion.
Re:Show HN: This website is hosted on DNS by zzem on Tuesday February 27, 2024 @10:07AM (#39524965)
The DNS name resolution is actually not done by your system or ISP, but by a DNS over HTTPs (DoH) service (Cloudflare 1.1.1.1 resolver). Cloudflare seems to be respecting the TTL as returned by the authoritative name server for your domain, so if you are able to specify a short TTL for a TXT record in your domain control panel, any changes made to the website should be live within that time.
Re:Show HN: This website is hosted on DNS by Kharacternyk on Wednesday March 06, 2024 @11:32AM (#39617642)
> so if you are able to specify a short TTL for a TXT record in your domain control panel

Triweb users are able to do that, but they don't necessarily know that they need to do that. For example, the Cloudflare DNS dashboard displays "auto" as a TTL by default, and one has no idea how many seconds "auto" is for a TXT record.