Find more information here. Download the Public Suffix List here.
Download project and prepare sources with
git clone http://github.com/rockdaboot/libpsl ./autogen.sh ./configure make make check