News for hackers. Stuff that matters.

Ask HN: Anyone know what this DNS TXT record is?

There are two DNS TXT records for example.com, one is an SPF record but I can't find out anything about the other one:

$ dig example.com TXT +short

"v=spf1 -all"

"$Id: example.com 4415 2015-08-24 20:12:23Z davids $"

Does anyone know what the second TXT record relates to?

Thanks,

Elliott

( 6 comments | 3 points | on HN )
Re:Ask HN: Anyone know what this DNS TXT record is? by jwilk on Thursday April 12, 2018 @04:36AM (#16819016)
This looks like like RCS keywords, which are used also by other version control systems, such as CVS or Subversion:

http://svnbook.red-bean.com/en/1.7/svn.advanced.props.specia...

I... I don't know why would anyone put one in a TXT record. It's likely a mistake.

The other example domains (example.org, example.net) don't have such record.

Re:Ask HN: Anyone know what this DNS TXT record is? by Habbie on Friday April 13, 2018 @05:48AM (#16828407)
If you are managing your zone data in RCS or similar, why not expose that information in DNS as well? Could be useful for debugging.

Indeed, on 2015-01-01, it said "$Id: example.com 3280 2014-12-10 00:15:12Z spowell $".

It does not look like a mistake to me.

Re:Ask HN: Anyone know what this DNS TXT record is? by elliottinvent on Friday April 13, 2018 @05:19PM (#16833990)
Thanks for your input, I think you're right – it's deliberate, but seems like a pretty wasteful use of DNS TXT to me. Every SPF lookup is dragging that much bigger record with it too and it serves no real purpose for anyone other than the administrators of the example.com zone. It seems like a strange thing to put in this zone particularly because it's used in so many examples.
Re:Ask HN: Anyone know what this DNS TXT record is? by Habbie on Sunday April 15, 2018 @01:43PM (#16843798)
I bet this was in before the SPF also went in. You should feel free to take this up with IANA, of course :)
Re:Ask HN: Anyone know what this DNS TXT record is? by elliottinvent on Thursday April 12, 2018 @04:50AM (#16819077)
Thank you for your reply and the link. That's very helpful and I agree this looks like the explanantion.

Do you know of a definitive list anywhere that shows the different uses made of DNS TXT records?

I know Google and plenty of others use them for domain verification but I'm more interested in protocols like SPF, DKIM and DMARC but I've been unable to find a list. (edit: added missing word)

Re:Ask HN: Anyone know what this DNS TXT record is? by elliottinvent on Thursday April 12, 2018 @04:53AM (#16819093)
Also, a link I found for using RCS to track DNS changes:

https://www.techrepublic.com/blog/linux-and-open-source/how-...