AdguardTeam / AdguardTeam/AdGuardHome

Option to import clients from file

オープン
#4,869 コメント 2 件 リアクション 3 件 担当者 0 名 GitHub で見る
feature request
主要言語
TypeScript
スター
36.9k
フォーク
2.5k
PR マージ指標
30日以内にマージされた PR はありません

説明

### 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
- ??

コントリビューションガイド

コントリビューションガイドを開く

評価

この issue はまだ評価されていません。

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。