Getting and/or setting network interface parameters on OS X

Shekhar Chandra shekharchandra058 at
Fri Aug 7 09:10:36 CEST 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 :

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