This will usually give you the right answer, but it might be an old cached version."
Is that really ever a problem? Who changes authoritative nameservers for a domain? This is by far the easiest way and the whole blog post could have just been six lines long.