AdguardTeam / AdguardTeam/AdGuardHome

Option to import clients from file

Aperta
#4,869 2 commenti 3 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

### Description

#### What problem are you trying to solve?
To write docker container's name instead of ip

#### Proposed solution
To have option to pass client - ip list to adguardhome (like simple "ip- name"). Adguardhome already read content of /etc/hosts, it would be nice to have option to just specify custom path to "hosts" file

And then something simple like ` docker ps -q | xargs -n 1 docker inspect --format '{{range .NetworkSettings.Networks}} {{.IPAddress}}{{end}} {{ .Name }} ' | tr -d '/' > /tmp/adguardhome_clients_list` by cron

#### Alternatives considered
- change system's /etc/hosts by cron
- Running dnsmasq for serving ptr records
- ??

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.