Mod_auth_token does not using entry in hosts file, but always query from DNS

I am self deployed Jitsi Meet and everythings works fine until I have moved it into Production environment which is behind firewall and has no outgoing connection to the Internet.

I have setup asap to publish my public key.

asap_key_server = "https://www.jitsi.example.com/asap";

Due to not able to go out to the Internet to resolve the domain name, I have configured hosts file in /etc/hosts, but it still always resolve from the DNS not using from hosts file.

Dec 07 09:05:52 xmpp.jitsi.example.com:auth_token  debug   Cache miss for key: sample
Dec 07 09:05:52 xmpp.jitsi.example.com:auth_token  debug   Fetching public key from: https://www.jitsi.example.com/asap/af2bdbe1aa9b6ec1e2ade1d694f41fc71a831d0268e9891562113d8a62add1bf.pem
Dec 07 09:05:52 http    debug   Making HTTPS GET request '5564e2885a10' to https://www.jitsi.example.com/asap/af2bdbe1aa9b6ec1e2ade1d694f41fc71a831d0268e9891562113d8a62add1bf.pem
Dec 07 09:05:52 net.connect     debug   [pending connection rBTU0TZt] Starting connection process
Dec 07 09:05:52 net.connect     debug   [pending connection rBTU0TZt] Checking for targets...
Dec 07 09:05:52 adns    debug   Records for www.jitsi.example.com not in cache, sending query (thread: 0x5564e28877f8)...
Dec 07 09:05:52 adns    debug   Sending DNS query to 127.0.0.1
Dec 07 09:05:52 adns    debug   Records for www.jitsi.example.com not in cache, sending query (thread: 0x5564e2c0f9c8)...
Dec 07 09:05:52 adns    debug   Sending DNS query to 127.0.0.1

Any idea how to make it use hosts file entry instead of always query from the DNS ?

This is very prosody specific question. You better ask it on their mailing list or in the chat room, the guys are pretty active and responsive there.