Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #55074

Re: DNS query against a specific server.

Path csiph.com!usenet.pasdenom.info!weretis.net!feeder4.news.weretis.net!rt.uk.eu.org!newsfeed.xs4all.nl!newsfeed3.news.xs4all.nl!xs4all!post.news.xs4all.nl!not-for-mail
Return-Path <gvanem@yahoo.no>
X-Original-To python-list@python.org
Delivered-To python-list@mail.python.org
X-Spam-Status OK 0.034
X-Spam-Evidence '*H*': 0.93; '*S*': 0.00; 'url:pypi': 0.03; 'subject:query': 0.07; 'performs': 0.09; 'python': 0.11; 'dependency,': 0.16; 'modules.': 0.16; 'wrote:': 0.18; 'library': 0.18; 'module': 0.19; 'seems': 0.21; 'x-mailer:microsoft outlook express 6.00.2900.5931': 0.24; 'requests': 0.31; 'interface': 0.32; 'another': 0.32; 'url:python': 0.33; 'to:name:python-list': 0.33; 'could': 0.34; 'but': 0.35; 'there': 0.35; 'url:org': 0.36; 'to:addr:python-list': 0.38; 'little': 0.38; 'to:addr:python.org': 0.39; 'manually': 0.60; 'url:3': 0.61; 'name': 0.63; 'url:0': 0.67; 'from:addr:yahoo.no': 0.84; 'received:98.138.226': 0.93
DKIM-Signature v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.no; s=s1024; t=1380548111; bh=n2gDd39WGWEStzOZVJJZ8Jm7HhcK3ZcSK3Xwkld7fYQ=; h=X-Yahoo-Newman-Id:X-Yahoo-Newman-Property:X-YMail-OSG:X-Yahoo-SMTP:X-Rocket-Received:Message-ID:From:To:References:Subject:Date:MIME-Version:Content-Type:Content-Transfer-Encoding:X-Priority:X-MSMail-Priority:X-Mailer:X-MIMEOLE; b=3+u+1a3EiLTVdcvgCZZt9dYqUBKRHTURaxsuYQziqczISMFbven6irvZGwAisy630Z8rAGgWF3EjjVDrQhFZXyGeY8GGgRZJ68odBQVzmDG6TtBStDo/FfNm/yUw7ZzBr9YC1B65m3HXgI5U0kKIJvsH38CNLyZmS3JItqtzAc8=
X-Yahoo-Newman-Id 588238.90017.bm@smtp207.mail.ne1.yahoo.com
X-Yahoo-Newman-Property ymail-3
X-YMail-OSG ON3pAjUVM1mgpF2x0SFL6pMLwZ0z9fE.HuxkT.9jobMP3Rs qlhMbgTgbF3wOAc7a9JG.TJ7FsfuMHVpH2lauVvND1RAGmDHIGmwfiaJwctb Ru.auPQJSWgC1sOVqHaHe4Pv4HropsLeUco3zbEzZEIi_nGeJm1tM7TYrtVb DCGahVqAGXglyE7RB6Ydknmu8yKfWgaIR74RGFMADv9YnvB4o7bVAzDijhIs MrngaRn93VJE.JBPultD0LYlHEGhuAJ5Gc7I30SEqpViRhATXRNPjr7Ojy1U SVUf73BKUeKR0dnOc9l4Iga7H__xNIfsnd5SUomL9_Rx5I4iYTblP2TXKqW_ c9oI2zBDVJzabekoZI7UtbPoT5etgQeKCkQvErMwgaBDjjZh8Tgeg2Fa9Z9K 88ZrCDW.bHoCZkP4yzCMib8RsivC5fnjqH5_GxSxvWodbUDYJbBG3Wd5xM1k fQb0E2XEfKTprEAKhzLGa2ilQeFoKG8P8VYpsMwfwu7FrXJJp475CVZPP4yO kf3PFyAAz67CQJaCAsJp.JIP4mFkOAGCz66w4NxeOkZ8.ZJh9NNz26SviZjB DFjQc7WiUkxt5ydrOlBxriaFBr5gm7evZ9nuvX7BtjeXkaAYD6hRtOfaLCni D7X3tLD4s
X-Yahoo-SMTP 8zhYLGyswBB3AGU8c4pvFIFOfA--
X-Rocket-Received from SNURRE (gvanem@108.171.112.228 with ) by smtp207.mail.ne1.yahoo.com with SMTP; 30 Sep 2013 06:35:11 -0700 PDT
From "Gisle Vanem" <gvanem@yahoo.no>
To "Python-list" <python-list@python.org>
References <634fa158-1d15-4a7e-ac0f-7a3f57f55cc7@googlegroups.com> <mailman.481.1380544612.18130.python-list@python.org> <e76f9cfa-c8ad-4eee-86e3-1f0a0bffe646@googlegroups.com> <CAPTjJmqz82=zWBjKtMOqOx_iRx=1+C9mFe484Uv8D4rFZj0_Gw@mail.gmail.com>
Subject Re: DNS query against a specific server.
Date Mon, 30 Sep 2013 15:35:15 +0200
MIME-Version 1.0
Content-Type text/plain; format=flowed; charset="iso-8859-1"; reply-type=original
Content-Transfer-Encoding 7bit
X-Priority 3
X-MSMail-Priority Normal
X-Mailer Microsoft Outlook Express 6.00.2900.5931
X-MIMEOLE Produced By Microsoft MimeOLE V6.00.2900.6157
X-BeenThere python-list@python.org
X-Mailman-Version 2.1.15
Precedence list
List-Id General discussion list for the Python programming language <python-list.python.org>
List-Unsubscribe <https://mail.python.org/mailman/options/python-list>, <mailto:python-list-request@python.org?subject=unsubscribe>
List-Archive <http://mail.python.org/pipermail/python-list/>
List-Post <mailto:python-list@python.org>
List-Help <mailto:python-list-request@python.org?subject=help>
List-Subscribe <https://mail.python.org/mailman/listinfo/python-list>, <mailto:python-list-request@python.org?subject=subscribe>
Newsgroups comp.lang.python
Message-ID <mailman.486.1380548298.18130.python-list@python.org> (permalink)
Lines 14
NNTP-Posting-Host 2001:888:2000:d::a6
X-Trace 1380548298 news.xs4all.nl 15919 [2001:888:2000:d::a6]:44566
X-Complaints-To abuse@xs4all.nl
Xref csiph.com comp.lang.python:55074

Show key headers only | View raw


"Chris Angelico" <rosuav@gmail.com> wrote:

> There are a few Python DNS modules. It means adding another
> dependency, but perhaps not as large as twisted. And of course, you
> could always manually send UDP packets and listen for responses, but
> that seems a little unnecessary :)

Then there is pycares; "a Python module which provides an interface to 
c-ares.... c-ares is a C library that performs DNS requests and name resolves 
asynchronously.". I have good experience wih C-ares and it can set
specific nameservers. Ref:
  https://pypi.python.org/pypi/pycares/0.3.0

--gv

Back to comp.lang.python | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

DNS query against a specific server. Michel Albert <exhuma@gmail.com> - 2013-09-30 04:42 -0700
  Re: DNS query against a specific server. William Ray Wing <wrw@mac.com> - 2013-09-30 08:36 -0400
    Re: DNS query against a specific server. Michel Albert <exhuma@gmail.com> - 2013-09-30 05:45 -0700
      Re: DNS query against a specific server. Chris Angelico <rosuav@gmail.com> - 2013-09-30 22:56 +1000
      Re: DNS query against a specific server. "Gisle Vanem" <gvanem@yahoo.no> - 2013-09-30 15:35 +0200
  Re: DNS query against a specific server. Ervin Hegedüs <airween@gmail.com> - 2013-09-30 14:54 +0200
    Re: DNS query against a specific server. Michel Albert <exhuma@gmail.com> - 2013-09-30 06:04 -0700

csiph-web