Changing IP adress to DNS while using WEBRTC

Hi, We are using the wowza streaming server very successfully with IP and now we want to change it to DNS name (The IP is not static any more)

While we are using WEBRTC part of the application.xml script is including the IP, When i change it to DNS name, The web RTC is not working anymore.

This is the part that i am using in the application.xml file:

webrtcIceCandidateIpAddresses

142.154.197.228,udp

String

I would appropriate your kind help