elceef / dnstwist

Domain name permutation engine for detecting homograph phishing attacks, typo squatting, and brand impersonation
https://dnstwist.it
Apache License 2.0
4.76k stars 760 forks source link

Update common_tlds.dict so that the TLD's are listed in alphabetical order #128

Closed MalachiCunliffe closed 3 years ago

MalachiCunliffe commented 3 years ago

When I wanted to browse what TLD's were in the file I found that if they were arranged in alphabetical order they were more user friendly.

elceef commented 3 years ago

TLD's are listed starting with the original gTLD followed by country-code TLD. I'd like to keep it that way. If anyone prefer alphabetical order, he is welcome to sort it. After all it's just a single command.

MalachiCunliffe commented 3 years ago

I agree that the original gTLDs can be at the top but I would highly recommend that the rest of the TLDs be listed in alphabetical order so that they are human readable.

Right now they are not ordered at all and it is hard to see what is in the dictionary and what is missing.

I have created pull request #129 that has the gTLDs at the top and after that in alphabetical order.