There are 3 things one must watch out for when finding domain and range...
1. Variables in the denominator of a fraction
2. Variables under even root signs
3. Logarithms
The domain and range of a line is
(-∞,∞) which means all real numbers because there aren't any of these things in linear functions.
I hope this helps!
Best wishes :)