Added API to set static IP and DNS server