---
title: "Searches for an active DHCP server on the network"
method: POST
path: "/dhcp/find_active_dhcp"
tags: ["dhcp"]
---

# Searches for an active DHCP server on the network

`POST /dhcp/find_active_dhcp`

## Request body

- DhcpFindActiveReq — Request for checking for other DHCP servers in the network.
  - `interface` string — The name of the network interface

## Response `200`

OK.

- DhcpSearchResult — Information about a DHCP server discovered in the current network.
  - `v4` DhcpSearchV4
    - `other_server` DhcpSearchResultOtherServer
      - `found` 'yes' | 'no' | 'error' — The result of searching the other DHCP server.
      - `error` string — Set if found=error
    - `static_ip` DhcpSearchResultStaticIP
      - `static` 'yes' | 'no' | 'error' — The result of determining static IP address.
      - `ip` string — Set if static=no
  - `v6` DhcpSearchV6
    - `other_server` DhcpSearchResultOtherServer
      - `found` 'yes' | 'no' | 'error' — The result of searching the other DHCP server.
      - `error` string — Set if found=error

## Other responses

- `501` — Not implemented (for example, on Windows).

---

[API](https://skmtc.net/guardllamanet/apis/adguard-home.md) · [All operations](https://skmtc.net/guardllamanet/apis/adguard-home/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/guardllamanet/adguard-home/revisions/14ff21aeb363/schema)
