> For the complete documentation index, see [llms.txt](https://www.marialc.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://www.marialc.com/pentesterlab-labs/recon-badge/recon_15-int-zone-transfer.md).

# recon\_15 (int zone transfer)

View the exercise here: [PentesterLab: Recon 15](https://pentesterlab.com/exercises/recon_15/course)

### **OBJECTIVE**

For this challenge, your goal is to perform a zone transfer on the internal zone named: "**int**" using the nameserver of **z.hackycorp.com**.

### **ZONE TRANSFER**

Zone transfers are usually used to synchronize multiple DNS servers. Only a list of pre-defined hosts should be able to perform this operation. However, it's sometimes possible to retrieve information from internal zones by asking publicly available servers.

### **SOLUTION**

{% hint style="success" %}

```bash
dig AXFR @z.hackycorp.com int
```

* **`dig`**: The tool for querying DNS.
* **`AXFR`**: The query type, which requests a **zone transfer** (a copy of all DNS records for a domain).
* **`@z.hackycorp.com`**: Specifies the DNS server (`z.hackycorp.com`) to contact.
* **`int`**: The domain (zone) you're requesting the transfer for, in this case, `int`.
  {% endhint %}

<figure><img src="/files/hpXOywBBe461f8A6Ne8a" alt="" width="563"><figcaption></figcaption></figure>


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## 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, and the optional `goal` query parameter:

```
GET https://www.marialc.com/pentesterlab-labs/recon-badge/recon_15-int-zone-transfer.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
