AdguardTeam / AdguardTeam/AdGuardHome

Enable and disable the DHCP server via API

Aperta
#8,184 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub
feature request
Lingua principale
TypeScript
Stelle
36.9k
Fork
2.5k
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Descrizione

### Prerequisites

- [x] I have checked the [Wiki](https://github.com/AdguardTeam/AdGuardHome/wiki) and [Discussions](https://github.com/AdguardTeam/AdGuardHome/discussions) and found no answer

- [x] I have searched other issues and found no duplicates

- [x] I want to request a feature or enhancement and not ask a question

### The problem

Happy New Year to everyone :-)
I have two AdGuardHome instances that maintain redundant DNS functionality via keepalived. One instance has an active DHCP server. Is it possible to activate the backup DHCP server via API in the event of a failure of the active instance?
Perhaps something like this

`curl -k -s -X POST “http://localhost:3000/control/dhcp/enable” -u user:pwd`

Or is there already another way to do this?

### Proposed solution

`curl -k -s -X POST “http://localhost:3000/control/dhcp/enable” -u user:pwd`

### Alternatives considered and additional information

_No response_

Guida per i contributori

Apri la guida per i contributori

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.