# Backup Static Ip/DNS for Ignition Gateway

**URL:** <https://forum.inductiveautomation.com/t/backup-static-ip-dns-for-ignition-gateway/72689>\
**Category:** Ignition\
**Tags:** ignition80\
**Created:** [April 20, 2023, 7:49am UTC](https://forum.inductiveautomation.com/t/backup-static-ip-dns-for-ignition-gateway/72689 "2023-04-20T07:49:25Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![daniele1](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/daniele1/32/31531_2.png) [@daniele1](https://forum.inductiveautomation.com/u/daniele1)\
**Post date:** [April 20, 2023, 7:49am UTC](https://forum.inductiveautomation.com/t/backup-static-ip-dns-for-ignition-gateway/72689/1 "2023-04-20T07:49:25Z")

</div>

Hi,  
a client with an Ignition Gateway on an internal server has installed a backup net and wants to provide us a second static IP, or a dns address in which a defined thw IPs, so in case the main net goes down the server is still accessible on the backup.  
The problem is that the project on the gateway communicate its data through MQTT and on the remote devices the Mosquitto Broker is defined with the main IP.  
If we associate the server with the dns willl the devices still be able to communicate with the server? Is there any configuration I should change on the Gateway to accomodate this changes?  
Thanks

---

<div class="post-metadata">

**Author:** ![pturmel](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/pturmel/32/3295_2.png) [@pturmel](https://forum.inductiveautomation.com/u/pturmel)\
**Post date:** [April 20, 2023, 11:51am UTC](https://forum.inductiveautomation.com/t/backup-static-ip-dns-for-ignition-gateway/72689/2 "2023-04-20T11:51:43Z")

</div>

Where is the Mosquito broker? That is the DNS that would matter, and yes, your devices would need its DNS name, not its IP address. So after breakage, your various networks DNS servers could point the MQTT devices at the correct endpoint.

---

<div class="post-metadata">

**Author:** ![daniele1](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/daniele1/32/31531_2.png) [@daniele1](https://forum.inductiveautomation.com/u/daniele1)\
**Post date:** [April 20, 2023, 1:28pm UTC](https://forum.inductiveautomation.com/t/backup-static-ip-dns-for-ignition-gateway/72689/3 "2023-04-20T13:28:20Z")

</div>

Thanks for your response.  
The Mosquitto broker is on the server itself.  
So if I understand correctly, if the dns is implemented, the only change I would have to make would be on the MQTT clients?  
(I guess I would have to reinstall the perspective projects with the new dns but that is a relative minor issue)

---

<div class="post-metadata">

**Author:** ![pturmel](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/pturmel/32/3295_2.png) [@pturmel](https://forum.inductiveautomation.com/u/pturmel)\
**Post date:** [April 20, 2023, 1:31pm UTC](https://forum.inductiveautomation.com/t/backup-static-ip-dns-for-ignition-gateway/72689/4 "2023-04-20T13:31:02Z")

</div>

Yes, but you also need to make sure your network's DNS servers know how to detect and switch the IP addresses they hand out. That isn't an Ignition thing.

---

<div class="post-metadata">

**Author:** ![daniele1](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/daniele1/32/31531_2.png) [@daniele1](https://forum.inductiveautomation.com/u/daniele1)\
**Post date:** [April 20, 2023, 1:53pm UTC](https://forum.inductiveautomation.com/t/backup-static-ip-dns-for-ignition-gateway/72689/5 "2023-04-20T13:53:07Z")

</div>

Ok, so in theory it should be handled by the client IT, being the server on their network. After they have defined the dns and installed the dns server on the windows server I should be able to see the gateway by looking at the url they will provide.
