Path: csiph.com!usenet.pasdenom.info!weretis.net!feeder1.news.weretis.net!feeder.erje.net!newsfeed.xs4all.nl!newsfeed6.news.xs4all.nl!xs4all!post.news.xs4all.nl!not-for-mail Return-Path: X-Original-To: python-list@python.org Delivered-To: python-list@mail.python.org X-Spam-Status: OK 0.010 X-Spam-Evidence: '*H*': 0.98; '*S*': 0.00; 'linux,': 0.05; 'hosts': 0.07; 'skip:/ 10': 0.07; 'dns.': 0.16; 'from:addr:rosuav': 0.16; 'from:name:chris angelico': 0.16; 'hard-coded': 0.16; 'oct': 0.16; 'roy': 0.16; 'wrote:': 0.17; 'thu,': 0.17; 'windows': 0.19; 'header:In-Reply-To:1': 0.25; 'am,': 0.27; 'message- id:@mail.gmail.com': 0.27; "i'm": 0.29; 'file': 0.32; 'sources': 0.32; 'to:addr:python-list': 0.33; 'likely': 0.33; 'received:google.com': 0.34; 'path': 0.35; 'received:209.85': 0.35; 'but': 0.36; 'should': 0.36; 'received:209': 0.37; 'data': 0.37; 'subject:: ': 0.38; 'files': 0.38; 'to:addr:python.org': 0.39; 'header:Received:5': 0.40; 'think': 0.40; 'smith': 0.71; 'presumably': 0.84 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=PLQ//T8PsKT2/vQH5hOCuW+lg0vBfbogQLFwA/Z0yxs=; b=d5wsSasEe29v9Bs1Uv6OVVYNtRaFt6AjD5ezST70CWuvJylRdLSPtjkyOtijN0KsQl fEuz3Ca1egiOlUiFaY/I1BLxMtJECc1G+RLvkXSRWqPCd/R9Zn7VuTlCDWIh257STsCO 9XeErlQkPy65nghXigKNySeCa2E0BqXm4p+gU+9Pgo19XV0WFhkVn02r/y1dNHGlPCbA FccVhXMssdLwWOHuqhNZUcBLXzCG38NwRIOepIM8EaG+oA7xTYxf10djOlFfMhgWtLov yrJqWdINATjlVBIRLH/ncVyEW/hRPke+lk09LwwsXMjwQxkTG/xBvHIvO3XUoyGlEVNr dRfA== MIME-Version: 1.0 In-Reply-To: References: <1s42l9-9al.ln1@satorlaser.homedns.org> Date: Thu, 18 Oct 2012 14:42:54 +1100 Subject: Re: bad httplib latency due to IPv6 use From: Chris Angelico To: python-list@python.org Content-Type: text/plain; charset=ISO-8859-1 X-BeenThere: python-list@python.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: General discussion list for the Python programming language List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Newsgroups: comp.lang.python Message-ID: Lines: 12 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1350531776 news.xs4all.nl 6841 [2001:888:2000:d::a6]:46301 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:31569 On Thu, Oct 18, 2012 at 11:28 AM, Roy Smith wrote: > One likely path is to check in /etc/nsswitch.conf to see what data > sources the resolver should consult. On the box I'm using at the > moment, it says: > > hosts: files dns This is true on Linux, and presumably on various other Unices, but the OP is on Windows. I think it's hard-coded on Windows to just use the hosts file and then DNS. ChrisA