Domain:
For every value of x, the denominator is greater than the numerator. For x=0, the function becomes 0. So, it will accept all values and the function is never going to be undefined. Therefore Domain = R.
Range:
Since the denominator is always greater than the numerator for all values of x other than 0. And at 0 the function is =0 , the range is [0,1).