Post B12sE5bNziu4YmAzq4 by alarig@hostux.social
(DIR) More posts by alarig@hostux.social
(DIR) Post #B12sE5bNziu4YmAzq4 by alarig@hostux.social
2025-12-06T10:25:48Z
0 likes, 0 repeats
@job At my previous job we used lmdb to store DNS records with a btree on the reversed domain name.So, example.com became moc.elpmaxe (as domain names are written the wrong way), and we had three tables: one for the SOAs, one for DNSSEC and one for the rest of the rest of the zone.It looks like kind of the same load as you, and it was blazing fast.I wasn’t the author of this (I mostly don’t code) but I can get you in touch with my previous teammates if you want to exchange directly with them.
(DIR) Post #B12sE6RUryaTAOYc40 by hyc@mastodon.social
2025-12-08T11:47:17Z
0 likes, 0 repeats
@alarig @job y'know, you could have just stored the names in forward order, and set the MDB_REVERSEKEY option...
(DIR) Post #B12sE73Qawvd42IuBc by alarig@hostux.social
2025-12-08T15:28:40Z
1 likes, 0 repeats
@hyc Ah!