What is the domain and range of a linear function?

The domain and range of a linear function are both $\left(- \infty , \infty\right)$.