Openfire can't lookup DNS entries

HI,

I am setting up new servers with openfire on ubuntu and having issues with openfire not able to lookup DNS entries.

Refer the screenshot below showing my XMPP domain and host name. I also added the SRV records on my Domain, but still openfire is not able to lookup.
Screenshot 2020-03-24 at 21.59.28

Can you please help me pointing in the right direction? What am I missing here?

Thanks