I am learning about DNS enumeration and I am working on a lab exercise at the moment. To do a zone transfer, I entered the following:
dig @10.83.185.5 example.com AXFR
the result is
;; global options: +cmd
; Transfer failed.
However, when I add the +nocookie
flag ie:
dig @10.83.185.5 example.com AXFR +nocookie
The zone transfer is successful. While I know that +nocookie
forces not sending cookies, what I want to know is why does sending cookies result in a blank response, and should I be checking both sending with and without cookies whenever I'm enumerating DNS servers?
Also, is there a way to disable cookies with nslookup?