I know that the authoritative name servers for google.com are ns1-4.google.com.
Now, I do this:
dig google.com @ns1.google.com
And the response is:
; <<>> DiG 9.11.3-1ubuntu1.8-Ubuntu <<>> google.com @ns1.google.com
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 64710
;; flags: qr rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 0, ADDITIONAL: 0
;; QUESTION SECTION:
;google.com. IN A
;; ANSWER SECTION:
google.com. 292 IN A 172.217.167.174
;; Query time: 1 msec
;; SERVER: 216.239.32.10#53(216.239.32.10)
;; WHEN: Sun Jun 30 12:53:09 IST 2019
;; MSG SIZE rcvd: 44
Now, as per my understanding, there should be an authoritative bit that should be set in this response, but from the output flags, it seems like there's no authoritative bit set (No aa flags). Moreover, how can recursion be available from an authoritative nameserver (How can there be a ra flag)
I think I'm missing some basic thing here, I'd appreciate some light on the same.
Thanks in advance.