How to find out DNS ?

William Park opengeometry at
Sat Jun 29 04:16:16 CEST 2002

Wolfgang Strobl <ws at> wrote:
> Thu, 27 Jun 2002 19:03:34 +0200, "A" <printers at>:
>>Is there a way how to find out, from Python , what primary or 
>>secondary DNS I use when connecting to internet?
>>Thanks for help
> Dear Ladislav (who?),
> didn't you already ask some variants of this question last year? For
> example
> Weren't you satisfied by the answer given by Michael Str?der in
> 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 <>

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

More information about the Python-list mailing list