# 53 - DNS

### Table of Contents

* [Zone Transfer](#zone-transfer)
* [Any Record](#list-shares)

### Zone Transfer

```bash
# Try zone transfer without domain
dig axfr @10.10.10.100 

# Try zone transfer with the domain
dig axfr @10.10.10.100 candy.local
```

### Any Record

```bash
# Ask the DNS server to return all available entries that it's willing to give.
dig any candy.local @10.10.10.100
```


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://gokulkarthik.gitbook.io/pentesting-checklist/windows-and-active-directory/protocol-enumeration/53-dns.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
