This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author loewis
Recipients baikie, ezio.melotti, jesterKing, lemburg, loewis, vstinner
Date 2010-10-21.05:09:50
SpamBayes Score 9.3678256e-07
Marked as misclassified No
Message-id <4CBFCB1D.3080003@v.loewis.de>
In-reply-to <20101020234248.GA4405@dbwatson.ukfsn.org>
Content
> Sorry, I didn't mean how Windows constructs the result for the
> "A" interface - I was talking about Python code being able to map
> the result from the Unicode interface to the form used in the
> protocol (e.g. DNS).  I believe the proposal is to use the DNS
> name

I disagree with the proposal - it should return whatever
name gethostname from winsock.dll returns (which I expect
to be the netbios name).

> so since the DNS is byte oriented, I would have thought
> that the Unicode "DNS name" result would always have a bytes
> equivalent that the DNS resolver code would use - perhaps its
> UTF-8 encoding?

No no no. When Microsoft calls it the DNS name, they don't actually
mean that it has to do anything with DNS. In particular, it's not
byte-oriented.
History
Date User Action Args
2010-10-21 05:09:55loewissetrecipients: + loewis, lemburg, vstinner, baikie, ezio.melotti, jesterKing
2010-10-21 05:09:52loewislinkissue9377 messages
2010-10-21 05:09:50loewiscreate