# how can i have my windows instances to use IP address instead of dns name?

**URL:** <https://forum.ansible.com/t/how-can-i-have-my-windows-instances-to-use-ip-address-instead-of-dns-name/32196>\
**Category:** Ansible Project\
**Tags:** windows\
**Created:** [February 10, 2020, 11:42pm UTC](https://forum.ansible.com/t/how-can-i-have-my-windows-instances-to-use-ip-address-instead-of-dns-name/32196 "2020-02-10T23:42:00Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Work\_Email](https://avatars.discourse-cdn.com/v4/letter/w/34f0e0/32.png) [@Work\_Email](https://forum.ansible.com/u/Work_Email)\
**Post date:** [February 10, 2020, 11:42pm UTC](https://forum.ansible.com/t/how-can-i-have-my-windows-instances-to-use-ip-address-instead-of-dns-name/32196/1 "2020-02-10T23:42:00Z")

</div>

Hello,  
how can i have my windows instances to use IP address instead of dns name? it works with my Linux instances but windows.

---

<div class="post-metadata">

**Author:** ![jborean](https://sea1.discourse-cdn.com/ansible/user_avatar/forum.ansible.com/jborean/32/1525_2.png) [@jborean](https://forum.ansible.com/u/jborean)\
**Post date:** [February 11, 2020, 2:26am UTC](https://forum.ansible.com/t/how-can-i-have-my-windows-instances-to-use-ip-address-instead-of-dns-name/32196/2 "2020-02-11T02:26:02Z")

</div>

Just set the connection to use IPs as you would Linux it should just work. Without seeing the error that you are receiving we can’t help you anymore. The most common reason why it doesn’t is if you are using Kerberos auth. This is because DNS is a very important part of Kerberos auth and using IPs removes some of protection kerberos offers. It is still possible but I wouldn’t recommend it at all.

---

<div class="post-metadata">

**Author:** ![Work\_Email](https://avatars.discourse-cdn.com/v4/letter/w/34f0e0/32.png) [@Work\_Email](https://forum.ansible.com/u/Work_Email)\
**Post date:** [February 11, 2020, 11:57pm UTC](https://forum.ansible.com/t/how-can-i-have-my-windows-instances-to-use-ip-address-instead-of-dns-name/32196/3 "2020-02-11T23:57:05Z")

</div>

okay thank you
