DNS misconfiguration

When I start the xwiki server I am noting the following and it takes time to load

2019-11-05 15:50:13,143 [main] WARN o.a.s.h.a.SystemInfoHandler - Resolving canonical hostname for local host took 35.051 seconds, possible DNS misconfiguration. Set the ‘solr.dns.prevent.reverse.lookup’ sysprop to true on startup to prevent future lookups if DNS can not be fixed.

2019-11-05 15:50:37,248 [coreLoadExecutor-9-thread-1] WARN o.a.s.h.a.SystemInfoHandler - Resolving canonical hostname for local host took 20.026 seconds, possible DNS misconfiguration. Set the ‘solr.dns.prevent.reverse.lookup’ sysprop to true on startup to prevent future lookups if DNS can not be fixed.

It says I need to set the property “solr.dns.prevent.reverse.lookup=true”. Just wondering where to set this property?