Getting and/or setting network interface parameters on OS X

Shekhar Chandra shekharchandra058 at gmail.com
Fri Aug 7 03:10:36 EDT 2015


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 :

Gateways
DNS server
DHCP server
WINS server
IP address
DNS suffix

I also want to set them for a specific interface.



More information about the Python-list mailing list