Message338472
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. |
|
Date |
User |
Action |
Args |
2019-03-20 13:40:50 | markuskramerIgitt | set | recipients:
+ markuskramerIgitt, paul.moore, tim.golden, zach.ware, steve.dower |
2019-03-20 13:40:50 | markuskramerIgitt | set | messageid: <1553089250.0.0.713601521927.issue36382@roundup.psfhosted.org> |
2019-03-20 13:40:49 | markuskramerIgitt | link | issue36382 messages |
2019-03-20 13:40:49 | markuskramerIgitt | create | |
|