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 of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.