The domain of any function is the set of values for which the function is defined, or said another way, is the set of all numbers excluding any values for which the function is undefined. Rational functions are undefined for any value that would make the denominator equal zero.
Set the denominator polynomial equal to zero and solve for all possible real values. The domain of the original function is then the set of all real numbers except the zeros of the denominator function.