classification
Title: socket.getfqdn docs are not explicit enough about the algorithm.
Type: behavior Stage:
Components: Documentation Versions: Python 3.4, Python 3.5, Python 2.7
process
Status: open Resolution:
Dependencies: Superseder:
Assigned To: docs@python Nosy List: docs@python, r.david.murray
Priority: normal Keywords:

Created on 2012-12-09 21:44 by r.david.murray, last changed 2019-04-26 19:38 by BreamoreBoy.

Messages (2)
msg177236 - (view) Author: R. David Murray (r.david.murray) * (Python committer) Date: 2012-12-09 21:44
From the docs it isn't quite clear if getfqnd() does the equivalent of:

  gethostbyaddr('127.0.0.1')

or

  gethostbyaddr(gethostbyname(gethostname()))

It matters which it is, when debugging a host's name configuration and DNS server problems.
msg223119 - (view) Author: Mark Lawrence (BreamoreBoy) * Date: 2014-07-15 17:00
I'm assuming that this still needs doing.
History
Date User Action Args
2019-04-26 19:38:09BreamoreBoysetnosy: - BreamoreBoy
2014-07-15 17:00:41BreamoreBoysetnosy: + BreamoreBoy

messages: + msg223119
versions: + Python 3.5, - Python 3.2, Python 3.3
2012-12-09 21:44:41r.david.murraycreate