How to find out DNS ?

William Park opengeometry at NOSPAM.yahoo.ca
Sat Jun 29 04:16:16 CEST 2002


Wolfgang Strobl <ws at mystrobl.de> wrote:
> Thu, 27 Jun 2002 19:03:34 +0200, "A" <printers at sendme.cz>:
> 
>>Hi,
>>Is there a way how to find out, from Python , what primary or 
>>secondary DNS I use when connecting to internet?
>>Thanks for help
>>Ladislav
> 
> Dear Ladislav (who?),
> 
> didn't you already ask some variants of this question last year? For
> example
> 
> http://groups.google.de/groups?selm=mailman.1006268728.27197.python-list%40python.org
> 
> Weren't you satisfied by the answer given by Michael Str?der in
> 
> http://groups.google.de/groups?selm=3BC16D75.566E9502%40stroeder.com
> for example? If not, why not?

You have good memory.  Usenet posts are not things that I would remember...
Anyways, if it's Unix, then
    - /etc/resolv.conf
    - host -t ns 
And, if it's Windows, then try
    - CGI scripts from <http://www.DNSstuff.com/>

-- 
William Park, Open Geometry Consulting, <opengeometry at yahoo.ca>
8-CPU Cluster, Hosting, NAS, Linux, LaTeX, python, vim, mutt, tin



More information about the Python-list mailing list