puppetlabs/facter — pull request #192 by jeffweiss (2012-04-27 07:56:25+00:00)
Title: Ticket/1.6.x/12864 windows primary dns suffix

Windows does not expose the host's primary DNS suffix via WMI, only the
registry. This commit adds a registry helper class and will retrieve the
primary DNS suffix from the registry. In the case the primary DNS suffix
does not exist or is empty, the domain fact will fall back to using WMI
for any connection-specific DNS suffix.