I can think of at least four reasons and security concerns not to use a service like this:
- Exposing a potentially private IP to an external service
- If testing local IPs, adds a requirement for an internet connection
- Must trust that it will always resolve to the actual IP not another one
- Requires your service to accept a hostname that it likely shouldn't