On 26 Jul 2010, at 20:24, Marc Vilanova wrote:

> Thanks Ralf. Your solution will work for this particular case and
> similar ones, but not for "forsight.com".
> 
> The problem is that I am collecting both domain names and host names
> from different internet sources and I need a way to obtain the second
> level domain name regardless of the type.

Is what you're really after the closest-to-the-root name that isn't a major 
registry origin?  If so, I don't know how to do that short of compiling a list 
of major registry origins and checking against it.

/Bob

_______________________________________________
dnspython-users mailing list
[email protected]
http://howl.play-bow.org/mailman/listinfo.cgi/dnspython-users

Reply via email to