How does one banner grab DNS? I'm able to banner grab other services such as HTTP/FTP/SMTP but for DNS it's not immediately obvious.
Typically for HTTP I use nc
with HEAD / HTTP/1.1 {ENTER}{ENTER}
.
I had assumed that it'd be possible with DNS if you know the initial structure of the query, but I can't seem to find documentation on this.