Suppose you have a DataFrame `df` with a column `url` containing URLs. How would you extract the domain name from these URLs and create a new column `domain` using Spark? Provide the code snippet. | Databricks Certified Data Engineer - Associate Quiz - LeetQuiz