Recursively sets the DNS settings for a specified network interface