This patch will correctly identify a system configured with hesiod. See attached patch
Created attachment 3680 [details] hesiod patch file
committed to CVS