Now adds the current host to dns based on the ip that was assigned.