[5.0] Check url as 'A' type record in DNS instead 'MX'

Example,
```
checkdnsrr('www.laravel.com'); // false
but
checkdnsrr('www.laravel.com', 'A'); //true
```