What is the meaning of various flags in the output of dig command?

Solution Verified - Updated -

Issue

  • In the output of the dig command, I see the flags line. How to interpret those flags :-
[root@server ~]# dig example.com

; <<>> DiG 9.8.2rc1-RedHat-9.8.2-0.17.rc1.el6 <<>> example.com
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 51834
;; flags: qr aa rd ra; QUERY: 1, ANSWER: 2, AUTHORITY: 2, ADDITIONAL: 2  =======> flags like qr aa rd ra etc. 

;; QUESTION SECTION:
;example.com.                   IN      A

Environment

  • Red Hat Enterprise Linux
  • bind
  • dns
  • dig command

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