Getting and/or setting network interface parameters on OS X
rosuav at gmail.com
Fri Aug 7 09:26:52 CEST 2015
On Fri, Aug 7, 2015 at 5:10 PM, Shekhar Chandra
<shekharchandra058 at gmail.com> wrote:
> Looking for a Python 2.7 module through which I can fetch the below details for all available network interfaces on a OS X device :
> DNS server
> DHCP server
> WINS server
> IP address
> DNS suffix
> I also want to set them for a specific interface.
If that doesn't answer your question, then try looking for a command
you can invoke, which you'd then parse the output of.
More information about the Python-list