dig +noall still prints comment lines for version in RHEL 5

Solution Verified - Updated -

Issue

  • In RHEL 5, the command 'dig +noall' is printing the version of dig.  Doing a dig +noall souldn't print version information.
  • # dig www.redhat.com +noall +answer

    ;  <<>> DiG 9.3.6-P1-RedHat-9.3.6-4.P1.el5_4.2  <<>> www.redhat.com +noall +answer ;; global options:  printcmd 
    www.redhat.com. 600 IN CNAME origin-www.redhat.com. 
    origin-www.redhat.com. 600 IN A 10.4.127.15
    

Environment

  • Red Hat Enterprise Linux (RHEL) 5

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