Skip to content

Latest commit

 

History

History
13 lines (7 loc) · 585 Bytes

README.md

File metadata and controls

13 lines (7 loc) · 585 Bytes

gethostbyname Caching in Kubernetes

This repo outlines several approaches to implement caching for the gethostbyname function within Kubernetes environments.

Approaches

  • Description: Wrap the gethostbyname function with caching behavior by utilizing a library that is preloaded inside a container via LD_PRELOAD.
  • Description: Implement a global DNS cache. Inside the container, a library preloaded with LD_PRELOAD facilitates communication with the global DNS cache through a Unix socket.