[issue36382] socket.getfqdn() returns domain "mshome.net"

Steve Dower report at bugs.python.org
Wed Mar 20 11:04:39 EDT 2019


Steve Dower <steve.dower at python.org> added the comment:

We just return the result of GetComputerNameEx [1] here - we don't use WMI at all (and given the complexities, we are not going to start).

Are you able to provide any more information? In particular, if the documentation for GetComputerNameEx (below) helps you understand why these machines are different, that would be helpful to know.

Obviously (I hope) we can't diagnose a DHCP issue on your network, so claiming this is a bug in Python is likely premature.

[1]: https://docs.microsoft.com/en-us/windows/desktop/api/sysinfoapi/nf-sysinfoapi-getcomputernameexw

----------

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue36382>
_______________________________________


More information about the Python-bugs-list mailing list