Parsing domain names is not easy.
For example, how does one extract Top Level Domain (TLD) data from the address 'me.com.br'? Is the TLD br, or is it com.br? The correct answer is com.br, but how can we know? The answer is that it is not possible to write simple rules in code to determine TLDs with any accuracy. Therefore, a list of all TLDs is maintained at https://publicsuffix.org.
This software parses domain names into TLD, Second Level Domain (SLD) and host using rules found at https://publicsuffix.org.
Features of this package include: High performance by using aggressive caching, data redundancy, async logging and async/await compatible methods.
This component is for anyone that needs reliable, accurate and fast domain name parsing.
DependenciesThis package has 10 dependencies.
- JetBrains ReSharper Annotations
dotnet add package Rsft.Net.DomainParser
paket add Rsft.Net.DomainParser