# How to change the Primary DNS Suffix of this computer

**URL:** <https://forum.ansible.com/t/how-to-change-the-primary-dns-suffix-of-this-computer/35353>\
**Category:** Ansible Project\
**Tags:** windows\
**Created:** [June 15, 2021, 5:14pm UTC](https://forum.ansible.com/t/how-to-change-the-primary-dns-suffix-of-this-computer/35353 "2021-06-15T17:14:31Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Gabriel\_Viegas](https://avatars.discourse-cdn.com/v4/letter/g/4491bb/32.png) [@Gabriel\_Viegas](https://forum.ansible.com/u/Gabriel_Viegas)\
**Post date:** [June 15, 2021, 5:14pm UTC](https://forum.ansible.com/t/how-to-change-the-primary-dns-suffix-of-this-computer/35353/1 "2021-06-15T17:14:31Z")

</div>

How to change the primary DNS suffix of this computer using Ansible for Windows?

 ![DNS-Suffix-Dialog.png](https://us1.discourse-cdn.com/ansible/original/2X/0/02a117cb63d7e135845aca17752f98d48d7fb26f.png)
