[issue16652] socket.getfqdn docs are not explicit enough about the algorithm.
New submission from R. David Murray:
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. ---------- assignee: docs@python components: Documentation messages: 177236 nosy: docs@python, r.david.murray priority: normal severity: normal status: open title: socket.getfqdn docs are not explicit enough about the algorithm. type: behavior versions: Python 2.7, Python 3.2, Python 3.3, Python 3.4 _______________________________________ Python tracker <report@bugs.python.org> <http://bugs.python.org/issue16652> _______________________________________
Mark Lawrence added the comment: I'm assuming that this still needs doing. ---------- nosy: +BreamoreBoy versions: +Python 3.5 -Python 3.2, Python 3.3 _______________________________________ Python tracker <report@bugs.python.org> <http://bugs.python.org/issue16652> _______________________________________
Change by Mark Lawrence <breamoreboy@gmail.com>: ---------- nosy: -BreamoreBoy _______________________________________ Python tracker <report@bugs.python.org> <https://bugs.python.org/issue16652> _______________________________________
participants (2)
-
Mark Lawrence
-
R. David Murray