---
title: "Gets the current DHCP settings and status"
method: GET
path: "/dhcp/status"
tags: ["dhcp"]
---

# Gets the current DHCP settings and status

`GET /dhcp/status`

## Request

- Base URL: `/control` (relative, and the document was published on a file host, not at the API’s origin)
- URL: `/control/dhcp/status`
- Auth: HTTP basic

## Response `200`

OK.

- DhcpStatus: Built-in DHCP server configuration and status
  - `enabled` boolean
  - `interface_name` string
  - `v4` DhcpConfigV4
    - `gateway_ip` string
    - `subnet_mask` string
    - `range_start` string
    - `range_end` string
    - `lease_duration` integer
  - `v6` DhcpConfigV6
    - `range_start` string
    - `lease_duration` integer
  - `leases` DhcpLease[], required
    - `mac` string, required
    - `ip` string, required
    - `hostname` string, required
    - `expires` string, required
  - `static_leases` DhcpStaticLease[]
    - `mac` string, required
    - `ip` string, required
    - `hostname` string, required

## Other responses

- `500`: Not implemented (for example, on Windows).

---

[API](https://skmtc.dev/guardllamanet/apis/adguard-home.md) - [All operations](https://skmtc.dev/guardllamanet/apis/adguard-home/llms.txt) - [OpenAPI document](https://skmtc.dev/guardllamanet/apis/adguard-home/revisions/14ff21aeb363?raw)
