[New-bugs-announce] [issue36382] socket.getfqdn() returns domain "mshome.net"
Markus
report at bugs.python.org
Wed Mar 20 09:40:50 EDT 2019
New submission from Markus <markus.kramer at posteo.de>:
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.
----------
components: Windows
messages: 338472
nosy: markuskramerIgitt, paul.moore, steve.dower, tim.golden, zach.ware
priority: normal
severity: normal
status: open
title: socket.getfqdn() returns domain "mshome.net"
type: behavior
versions: Python 2.7, Python 3.7
_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue36382>
_______________________________________
More information about the New-bugs-announce
mailing list