Arduino Nano + ENC28J60 + Wireless Network

Quick question, would the example "getDHCPandDNS" do this?