How to see dns caches of systemd-resolved?

Solution Verified - Updated -

Issue

  • We have enabled the systemd-resolved.service on RHEL 8 but could you please confirm how we can test whether it is working or not.
  • Is there anyway to see dns caching working in systemd-resolved?
  • How to see dns caches done by systemd-resolved?

Environment

  • Red Hat Enterprise Linux 8
  • systemd-resolved

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content