[BangPypers] How to set DNS IP of a machine

Aravind Kamble arvind.kamble at gmail.com
Sun Apr 7 08:36:02 CEST 2013

Sorry for mistake. As I said I am the beginner, am still learning. I am
using windows 7 machine.
For my tests to run I need to set the machine's DNS IP address manually.
For example if my DNS server IP is then I would go to Control
Panel\Network and Internet\Network Connections, open the properties of
Local LAN connection, open TCP/IP properties and set the DNS IP manually.

I want to do the same using script. Hope I am clear this time.


On Sun, Apr 7, 2013 at 11:57 AM, Gora Mohanty <gora at mimirtech.com> wrote:

> On 7 April 2013 11:44, Aravind Kamble <arvind.kamble at gmail.com> wrote:
> > Hi All,
> >
> > I am a beginner in Pyhton scripting. I want to know how can I set a
> > predefined IP address as DNS IP  of a machine in my Python script.
> You provide nowhere near enough details for anyone to help
> you. To start with, what operating system? It is also not clear
> what you want to do. Do you want to set the DNS nameserver
> for the current machine that the DNS server is running on?
> If so, you are very likely to need administrative access on the OS.
> Regards,
> Gora
> _______________________________________________
> BangPypers mailing list
> BangPypers at python.org
> http://mail.python.org/mailman/listinfo/bangpypers

More information about the BangPypers mailing list