> For the complete documentation index, see [llms.txt](https://pentesting.mrw0l05zyn.cl/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://pentesting.mrw0l05zyn.cl/explotacion/servicios/53-tcp-53-udp-dns.md).

# 53/TCP, 53/UDP (DNS)

## Transferencia de zona

### **host**

```shell
host -t ns <domain-name>
```

```shell
host -l <domain-name> <nameserver>
```

* \<domain-name> = nombre de dominio.
* \<nameserver> = nombre de servidor (NS).

### **nslookup**

nslookup: Name System Lookup.

```shell
nslookup -type=any -query=AXFR <domain-name> <nameserver>
```

```shell
nslookup
server <nameserver>
set type=any
ls -d <domain-name>
```

* \<nameserver> = nombre de servidor (NS).
* \<domain-name> = nombre de dominio.

### **dig**

dig: Domain Information Groper.

```shell
dig @<nameserver> <domain-name> -t axfr +nocookie
```

* \<nameserver> = nombre de servidor (NS).
* \<domain-name> = nombre de dominio.

### Fierce

```shell
fierce --domain <domain-name>
```

* \--domain = nombre de dominio.
  * \<domain-name> = nombre de dominio.

### DNSRecon

```shell
dnsrecon -d <domain-name> -t axfr
```

* -d = nombre de dominio.
  * \<domain-name> = nombre de dominio.
* -t = tipo de enumeración.
  * axfr = transferencia de zona.


---

# 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:

```
GET https://pentesting.mrw0l05zyn.cl/explotacion/servicios/53-tcp-53-udp-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.
