# Github A records not cached

**URL:** <https://discourse.pi-hole.net/t/github-a-records-not-cached/62158>\
**Category:** Community Help\
**Created:** [March 30, 2023, 9:28am UTC](https://discourse.pi-hole.net/t/github-a-records-not-cached/62158 "2023-03-30T09:28:20Z")\
**Posts on this page:** 1\
**Showing post:** 12

<div class="post-metadata">

**Author:** ![Bucking\_Horn](https://discourse-cdn.pi-hole.net/user_avatar/discourse.pi-hole.net/bucking_horn/32/18719_2.png) [@Bucking\_Horn](https://discourse.pi-hole.net/u/Bucking_Horn)\
**Post date:** [March 31, 2023, 2:10pm UTC](https://discourse.pi-hole.net/t/github-a-records-not-cached/62158/12 "2023-03-31T14:10:57Z")

</div>

> [@NogNeetMachinaal](#):
>
> Why such low TTL-values?

As explained:

> [@Bucking\_Horn](#):
>
> (...) for local changes to propagate quickly

This is not about TTLs from public resolution.  
`local-ttl` controls TTL of the values that Pi-hole is administering, e.g. Local DNS records or DHCP lease hostnames (if Pi-hole is acting as DHCP server).

Likely, you wouldn't want clients to continue with outdated information and to wait for an hour or two before clients would re-request resolution of a local DNS record that has been changed by you in the meantime.

In the past, e.g., this would also have affected domains that you'd have blocked manually in Pi-hole. (_from Pi-hole's [September 2021 release](https://discourse.pi-hole.net/t/pi-hole-ftl-v5-10-1-web-v5-7-and-core-v5-5-released/50009#:~:text=Handle%20TTL%20for%20blocked%20queries%20separately), Pi-hole uses a separate TTL for blocked domains_).

Note that _`pihole-FTL`_ /_`dnsmasq`_ is defaulting `local-ttl` to zero:

> **`local-ttl=<time>`**  
> When replying with information from /etc/hosts or configuration or the DHCP leases file dnsmasq by default sets the time-to-live field to zero, meaning that the requester should not itself cache the information. This is the correct thing to do in almost all situations. This option allows a time-to-live (in seconds) to be given for these replies. This will reduce the load on the server at the expense of clients using stale data under some circumstances.

My suggestion of a few seconds to a few minutes would try to strike a compromise here.

My recommendation was to keep only `local-ttl`, and remove the other four cache and ttl related options from your configuration.

---

_[View the full topic](https://discourse.pi-hole.net/t/github-a-records-not-cached/62158)._
