named.service listening only on 127.0.0.1 instead of 0.0.0.0

Solution Verified - Updated -

Issue

  • named.service only listening on 127.0.0.1:53 instead of all available interfaces.
# netstat -tuln | grep -i 53
tcp        0      0 127.0.0.1:53            0.0.0.0:*               LISTEN
  • DNS queries only accepted from localhost.
  • Remote clients are not able to communicate to the DNS server and getting connection timed out; no servers could
    be reached
    error.

Environment

  • Red Hat Enterprise Linux 7
  • Red Hat Enterprise Linux 8
  • Red Hat Enterprise Linux 9

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