RHEL: name resolution fails with some commands, like telnet but some commands, like ping succeed

Solution In Progress - Updated -

Issue

  • ping works
# ping A.B.C.com
PING A.B.C.com (10.0.0.31) 56(84) bytes of data.
. . . 
  • telnet fails
# telnet A.B.C.com 389
telnet: A.B.C.com: Name or service not known
#

Environment

  • Red Hat Enterprise Linux
  • unknown DNS server

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