So I need to validate email addresses to ensure they have a valid TLD. I found http://data.iana.org/TLD/tlds-alpha-by-domain.txt has a list of current TLD's.
I came across records in that list like: "XN--VERMGENSBERATER-CTB" which with some googleing I found is a delegation record for a domain. Here is the iana info: https://www.iana.org/domains/root/db/xn--vermgensberater-ctb.html
My problem is that given the delegation record XN--VERMGENSBERATER-CTB how can I get the actual extension of .VERMÖGENSBERATER programatically?
fwiw I'm using c# but its the method of figuring out how to accomplish the task that I care about.
Thanks,