whois-server-list / public-suffix-list

Java API for Mozilla's Public Suffix List
Do What The F*ck You Want To Public License
46 stars 14 forks source link

.kw domains parse incorrectly #2

Closed jgangemi closed 9 years ago

jgangemi commented 9 years ago

it looks like kw domains are being parsed incorrectly and the tld being returned is equal to whatever fqdn was passed in, eg testdomain.kw.

malkusch commented 9 years ago

Hi jgangemi

The effective_tld_names.dat contains this entry:

// kw : http://en.wikipedia.org/wiki/.kw
*.kw

This is a wildcard for .kw. I.e. testdomain.kw is a public suffic and therefore not registrable. If you just want to get the Top Level Domain (which is not always the same as the public suffix) you don't need this API.

If you think *.kw is a wrong entry you should contact the maintainer of the list.

jgangemi commented 9 years ago

no - ok - i've never seen this tld before (i have a on again/off again history in the domain business) and this was a misunderstanding on my part. thanks for clarifying.