#domain-name #trie #dns #search-algorithms #dns-lookup #fqdn

fqdn-trie

FQDN (Fully Qualified Domain Name) lookup structures (based on tries)

3 unstable releases

0.4.2 Sep 18, 2023
0.4.1 Aug 8, 2023
0.4.0 Aug 8, 2023
0.3.0 Aug 6, 2023
0.1.0 Jul 12, 2022

#714 in Algorithms

43 downloads per month

MIT license

57KB
1K SLoC

fqdn-trie

Crates.io Crates.io License Docs

This crate provides two data structures based on FQDN tries in order to provide very fast lookup in the FQDN hierarchy.

The trie implementation is optimized to FQDN context and follows these rules:

  • the search algorithm finds the longuest domain suffix
  • the algorithm is case-insensitive
  • the internal structure exploits the range of allowed characters in FQDN

lib.rs:

This crate provides two data structures based on FQDN tries in order to provide very fast lookup in the FQDN hierarchy.

The trie implementation is optimized to FQDN context and follows these rules:

  • the search algorithm finds the longuest domain suffix
  • the algorithm is case-insensitive
  • the internal structure exploits the range of allowed characters in FQDN

Dependencies