# AWX GUI-Ping module not working with hostname

**URL:** <https://forum.ansible.com/t/awx-gui-ping-module-not-working-with-hostname/34525>\
**Category:** AWX Project\
**Tags:** awx\
**Created:** [January 27, 2021, 5:48pm UTC](https://forum.ansible.com/t/awx-gui-ping-module-not-working-with-hostname/34525 "2021-01-27T17:48:58Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Ravikumar\_Arigela](https://avatars.discourse-cdn.com/v4/letter/r/f475e1/32.png) [@Ravikumar\_Arigela](https://forum.ansible.com/u/Ravikumar_Arigela)\
**Post date:** [January 27, 2021, 5:48pm UTC](https://forum.ansible.com/t/awx-gui-ping-module-not-working-with-hostname/34525/1 "2021-01-27T17:48:58Z")

</div>

Hello,

I’m unable to ping linux VM through AWX GUI…

Error: msg": “Failed to connect to the host via ssh: ssh: Could not resolve hostname : Name or service not known”

However, I am able to ping through IP address.

Does anyone encounter Similar the issue before? Please do help me.

Best Regards,  
Ravikumar

---

<div class="post-metadata">

**Author:** ![ffirg](https://sea1.discourse-cdn.com/ansible/user_avatar/forum.ansible.com/ffirg/32/10029_2.png) [@ffirg](https://forum.ansible.com/u/ffirg)\
**Post date:** [February 3, 2021, 2:10pm UTC](https://forum.ansible.com/t/awx-gui-ping-module-not-working-with-hostname/34525/2 "2021-02-03T14:10:06Z")

</div>

Sort out your DNS config so it can resolve hostnames.
