This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author markuskramerIgitt
Recipients markuskramerIgitt, paul.moore, steve.dower, tim.golden, zach.ware
Date 2019-03-20.13:40:49
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1553089250.0.0.713601521927.issue36382@roundup.psfhosted.org>
In-reply-to
Content
In a corporate network, `wmic computersystem get domain` returns the correct domain.

On some clients, the Python query "socket.getfqdn()" returns the wrong domain, namely "mshome.net"

>>> import socket
>>> socket.getfqdn()
'*****.mshome.net'

I have only found only very old nominations of that domain.

Problems persists after reboot.

Tried versions 
Python 2.7.15 (v2.7.15:ca079a3ea3, Apr 30 2018, 16:30:26) [MSC v.1500 64 bit (AMD64)] on win32
Python 3.7.2 (tags/v3.7.2:9a3ffc0492, Dec 23 2018, 22:20:52) [MSC v.1916 32 bit (Intel)] on win32

Currently, I suspect this is a DHCP configuration problem.
History
Date User Action Args
2019-03-20 13:40:50markuskramerIgittsetrecipients: + markuskramerIgitt, paul.moore, tim.golden, zach.ware, steve.dower
2019-03-20 13:40:50markuskramerIgittsetmessageid: <1553089250.0.0.713601521927.issue36382@roundup.psfhosted.org>
2019-03-20 13:40:49markuskramerIgittlinkissue36382 messages
2019-03-20 13:40:49markuskramerIgittcreate