> For the complete documentation index, see [llms.txt](https://documentation.hak5.org/lan-turtle-hub/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://documentation.hak5.org/lan-turtle-hub/payload-development/duckyscript-for-lan-turtle/system_dns.md).

# SYSTEM\_DNS

## SYSTEM\_DNS

The `SYSTEM_DNS` command manipulates the DNS server used by the LAN Turtle Hub.

By default, the DNS server is configured by the DHCP information on the RJ45 Ethernet.  An alternative DNS server can be specified here.

### Options

The `SYSTEM_DNS` command expects one of two options:

```
SYSTEM_DNS DHCP
SYSTEM_DNS [IP]
```

#### DHCP

Use the DNS server provided by DHCP.  This is the default behavior of the system.

#### IP Address

Use the specified DNS server.  This can be a DNS server on the local network, on a connected VPN (make sure the VPN connects by IP), or a public DNS server such as `8.8.8.8` or `1.1.1.1`.
