Hi all,
I don’t know if it’s the right place to post or i should open an issue on github but… here it is.
I’m using the Telegram platform to send notification on my phone, but I’ve seen a lot of dns request to my local dns server, about one every five seconds, here is what I’m talking about:
Oct 30 15:20:08 dnsmasq[19282]: 3566 127.0.0.1/37303 query[A] api.telegram.org from 127.0.0.1
Oct 30 15:20:13 dnsmasq[19282]: 3568 127.0.0.1/36185 query[A] api.telegram.org from 127.0.0.1
Oct 30 15:20:18 dnsmasq[19282]: 3570 127.0.0.1/48509 query[A] api.telegram.org from 127.0.0.1
Oct 30 15:20:25 dnsmasq[19282]: 3572 127.0.0.1/55140 query[A] api.telegram.org from 127.0.0.1
Oct 30 15:20:30 dnsmasq[19282]: 3574 127.0.0.1/45211 query[A] api.telegram.org from 127.0.0.1
Oct 30 15:20:36 dnsmasq[19282]: 3576 127.0.0.1/46554 query[A] api.telegram.org from 127.0.0.1
Oct 30 15:20:41 dnsmasq[19282]: 3578 127.0.0.1/45435 query[A] api.telegram.org from 127.0.0.1
Oct 30 15:20:47 dnsmasq[19282]: 3580 127.0.0.1/53241 query[A] api.telegram.org from 127.0.0.1
Oct 30 15:20:53 dnsmasq[19282]: 3582 127.0.0.1/38856 query[A] api.telegram.org from 127.0.0.1
Oct 30 15:20:58 dnsmasq[19282]: 3584 127.0.0.1/59221 query[A] api.telegram.org from 127.0.0.1
Oct 30 15:21:03 dnsmasq[19282]: 3586 127.0.0.1/49408 query[A] api.telegram.org from 127.0.0.1
Oct 30 15:21:09 dnsmasq[19282]: 3588 127.0.0.1/42173 query[A] api.telegram.org from 127.0.0.1
Oct 30 15:21:14 dnsmasq[19282]: 3590 127.0.0.1/57437 query[A] api.telegram.org from 127.0.0.1
Oct 30 15:21:20 dnsmasq[19282]: 3592 127.0.0.1/45484 query[A] api.telegram.org from 127.0.0.1
Oct 30 15:21:25 dnsmasq[19282]: 3594 127.0.0.1/51368 query[A] api.telegram.org from 127.0.0.1
Oct 30 15:21:30 dnsmasq[19282]: 3596 127.0.0.1/50591 query[A] api.telegram.org from 127.0.0.1
Oct 30 15:21:35 dnsmasq[19282]: 3598 127.0.0.1/46044 query[A] api.telegram.org from 127.0.0.1
Oct 30 15:21:41 dnsmasq[19282]: 3600 127.0.0.1/60250 query[A] api.telegram.org from 127.0.0.1
I’m 100% sure that the query comes from Home Assistant because on localhost it’s the only thing running that could query for api.telegram.com. Is this behaviour normal? Why the ‘telegram’ module doesn’t keep in cache the hostname for at least the ttl time in the dns response?
Thanks all.