Elektrine lite

← Feed

@dbauer@social.caserio.de

Post #1695155

2026-03-26 22:33 UTC

@pmevzek I specifically want to see if I have screwed up my local DNS config by either using a local DNS server or /etc/hosts @tykling

Replies (1)

  • @pmevzek@framapiaf.org 2026-03-26 22:41

    @dbauer @tykling Testing local DNS config (or I will say "local resolution config" because names can be resolved in many ways, static /etc/hosts being one) is related but slightly different from testing DNS (purely) by doing DNS queries. To test local resolution config I would advise more towards using `getent ahosts` or `resolvectll`. Or any language piggybacking `gethostbyname` and similar libc endpoints.

    Open ##1695156