Issue #14713 has been updated by Josh Cooper.

Status changed from Unreviewed to Needs More Information

Thanks Rohan. I believe this is a configuration issue, likely with how DHCP is 
configuring the client's DNS settings.

Puppet gives priority to the per-interface settings it obtains from WMI. So it 
will use the `DNSDomain` value of:

<pre>
Caption                                             DNSDomain                   
                          IPEnabled  
[00000007] Intel(R) PRO/1000 MT Network Connection  apac.nokia.com 
noe.nokia.com nee.nokia.com nokia.com  TRUE      
</pre>

Usually the domain is a single value, but it seems to be set to multiple 
domains. According to MSDN 
<http://msdn.microsoft.com/en-us/library/windows/desktop/aa394217(v=vs.85).aspx>,
 the DNSDomain property should be "Organization name followed by a period and 
an extension that indicates the type of organization, such as microsoft.com. 
The name can be any combination of the letters A through Z, the numerals 0 
through 9, and the hyphen (-), plus the period (.) character used as a 
separator." In particular, it doesn't mention using a space to separate 
multiple domains.

Assuming `apac.nokia.com` should be the domain for the interface, I would 
expect to see the other domains stored in the `DNSDomainSuffixSearchOrder` 
property instead.
----------------------------------------
Bug #14713: Incorrect domain (and fqdn) fact on Windows
https://projects.puppetlabs.com/issues/14713#change-63914

Author: Rohan McGovern
Status: Needs More Information
Priority: Normal
Assignee: Josh Cooper
Category: 
Target version: 
Affected Puppet version: 3.0.0rc2
Keywords: windows
Branch: 


On a host where I've installed 3.0.0rc2, my "domain" fact contains several 
domain names (and hence the "fqdn" fact is also wrong).

Facter output:
<pre>
  architecture => i386
  dir => c:\Program Files\Puppet Labs\Puppet\facter
  domain => apac.nokia.com noe.nokia.com nee.nokia.com nokia.com
  env_windows_installdir => c:\Program Files\Puppet Labs\Puppet
  facterversion => 2.0.0
  fqdn => vm139225.apac.nokia.com noe.nokia.com nee.nokia.com nokia.com
  hardwaremodel => i686
  hostname => vm139225
  id => vm139225\pulse
  interfaces => 
Loopback_Pseudo_Interface_1,Local_Area_Connection,Local_Area_Connection__11
  ipaddress => 172.30.139.225
  ipaddress6 => 2001:0:4137:9e76:100d:2ced:c2f1:72dc
  ipaddress6_local_area_connection__11 => 2001:0:4137:9e76:100d:2ced:c2f1:72dc
  ipaddress_local_area_connection => 172.30.139.225
  ipaddress_loopback_pseudo_interface_1 => 127.0.0.1
  kernel => windows
  kernelmajversion => 6.1
  kernelrelease => 6.1.7601
  kernelversion => 6.1.7601
  macaddress => 00:50:56:10:47:03
  manufacturer => Phoenix Technologies LTD
  memoryfree => 1.79 GB
  memorysize => 3.00 GB
  netmask_local_area_connection => 255.255.255.0
  netmask_loopback_pseudo_interface_1 => 255.0.0.0
  network_local_area_connection => 172.30.139.0
  network_loopback_pseudo_interface_1 => 127.0.0.0
  operatingsystem => windows
  operatingsystemrelease => 6.1.7601
  osfamily => windows
  path => c:\Program Files\Puppet Labs\Puppet\puppet\bin;c:\Program 
Files\Puppet Labs\Puppet\facter\bin;c:\Program Files\Puppet 
Labs\Puppet\hiera\bin;c:\Program Files\Puppet 
Labs\Puppet\hiera-puppet\bin;c:\Program Files\Puppet Labs\Puppet\bin;c:\Program 
Files\Puppet Labs\Puppet\sys\ruby\bin;c:\Program Files\Puppet 
Labs\Puppet\sys\tools\bin;c:\Program Files\Puppet 
Labs\Puppet\bin;C:\OpenSSL\bin;c:\test\bin;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;c:\Program
 Files\Microsoft SQL Server\100\Tools\Binn\;c:\Program Files\Microsoft SQL 
Server\100\DTS\Binn\;C:\Program Files\Microsoft Windows Performance 
Toolkit\;c:\Python27;c:\Python27\Scripts;C:\strawberry\c\bin;C:\strawberry\perl\site\bin;C:\strawberry\perl\bin;c:\Program
 Files\Git\cmd;C:\Program 
Files\Xoreax\IncrediBuild;C:\Users\pulse\perl5\bin;C:\OpenSSL\bin;c:\test\bin;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;c:\Program
 Files\Microsoft SQL Server\100\Tools\Binn\;c:\Program Files\Microsoft SQL 
Server\100\DTS\Binn\;C:\Program Files\Microsoft Windows Performance 
Toolkit\;c:\Python27;c:\Python27\Scripts;C:\strawberry\c\bin;C:\strawberry\perl\site\bin;C:\strawberry\perl\bin;c:\Program
 Files\Git\cmd;C:\Program Files\Xoreax\IncrediBuild;/usr/sbin;/sbin
  physicalprocessorcount => 2
  processor0 => Intel(R) Xeon(R) CPU E5530 @ 2.40GHz
  processor1 => Intel(R) Xeon(R) CPU E5530 @ 2.40GHz
  processor2 => Intel(R) Xeon(R) CPU E5530 @ 2.40GHz
  processor3 => Intel(R) Xeon(R) CPU E5530 @ 2.40GHz
  processorcount => 4
  productname => VMware Virtual Platform
  ps => tasklist.exe
  puppetversion => 3.0.0
  rubysitedir => c:/Program Files/Puppet 
Labs/Puppet/sys/ruby/lib/ruby/site_ruby/1.8
  rubyversion => 1.8.7
  serialnumber => VMware-42 05 2c f8 3c 58 57 23-e3 25 8b ad 98 7d c9 dd
  timezone => E. Australia Standard Time
  uptime => 1 day
  uptime_days => 1
  uptime_hours => 26
  uptime_seconds => 95012
</pre>

<pre>
# reg query HKLM\System\CurrentControlSet\Services\Tcpip\Parameters

HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\Tcpip\Parameters
    ICSDomain    REG_SZ    mshome.net
    SyncDomainWithMembership    REG_DWORD    0x1
    NV Hostname    REG_SZ    vm139225
    DataBasePath    REG_EXPAND_SZ    %SystemRoot%\System32\drivers\etc
    NameServer    REG_SZ    
    ForwardBroadcasts    REG_DWORD    0x0
    IPEnableRouter    REG_DWORD    0x0
    Domain    REG_SZ    
    Hostname    REG_SZ    vm139225
    SearchList    REG_SZ    
    UseDomainNameDevolution    REG_DWORD    0x1
    EnableICMPRedirect    REG_DWORD    0x1
    DeadGWDetectDefault    REG_DWORD    0x1
    DontAddDefaultGatewayDefault    REG_DWORD    0x0
    EnableWsd    REG_DWORD    0x1
    QualifyingDestinationThreshold    REG_DWORD    0x3
    ReservedPorts    REG_MULTI_SZ    1433-1434
    TcpWindowSize    REG_DWORD    0xfaf0
    DhcpNameServer    REG_SZ    172.30.136.47 <redacted> <redacted>
    DhcpDomain    REG_SZ    apac.nokia.com noe.nokia.com nee.nokia.com nokia.com

HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\Tcpip\Parameters\Adapters
HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\Tcpip\Parameters\DNSRegisteredAdapters
HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\Tcpip\Parameters\Interfaces
HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\Tcpip\Parameters\PersistentRoutes
HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\Tcpip\Parameters\Winsock
</pre>

<pre>
# wmic path Win32_NetworkAdapterConfiguration get caption, ipenabled, dnsdomain
Caption                                             DNSDomain                   
                          IPEnabled  
[00000000] WAN Miniport (SSTP)                                                  
                          FALSE      
[00000001] WAN Miniport (IKEv2)                                                 
                          FALSE      
[00000002] WAN Miniport (L2TP)                                                  
                          FALSE      
[00000003] WAN Miniport (PPTP)                                                  
                          FALSE      
[00000004] WAN Miniport (PPPOE)                                                 
                          FALSE      
[00000005] WAN Miniport (IPv6)                                                  
                          FALSE      
[00000006] WAN Miniport (Network Monitor)                                       
                          FALSE      
[00000007] Intel(R) PRO/1000 MT Network Connection  apac.nokia.com 
noe.nokia.com nee.nokia.com nokia.com  TRUE       
[00000008] WAN Miniport (IP)                                                    
                          FALSE      
[00000009] Microsoft ISATAP Adapter                                             
                          FALSE      
[00000010] RAS Async Adapter                                                    
                          FALSE      
[00000011] Microsoft Teredo Tunneling Adapter                                   
                          FALSE      
[00000012] Microsoft ISATAP Adapter                                             
                          FALSE      
</pre>

I can't rule out that the machine is misconfigured, apologies in advance if 
this is the reason.


-- 
You have received this notification because you have either subscribed to it, 
or are involved in it.
To change your notification preferences, please click here: 
http://projects.puppetlabs.com/my/account

-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Bugs" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/puppet-bugs?hl=en.

Reply via email to