AdguardTeam / AdguardTeam/AdGuardHome

Option to advertise the same DNS IP multiple times in DHCP response

Aperta
#7,333 8 commenti 1 reazione 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

I have a very strict blacklist-everything-by-default configuration for my Android TV:

```
# Blacklist everything
||*.*^$client='tv'

# Allow basic YT support
@@||youtube.com^$client='tv'
@@||googlevideo.com^$client='tv'
@@i.ytimg.com^$client='tv'
@@yt3.ggpht.com^$client='tv'
```

It was working fine for some time but suddenly stopped working. The TV is also unable to resolve local services on my LAN.

The TV periodically tries to contact Adguard Home's DNS but gets most of its requests denied:

![image](https://github.com/user-attachments/assets/fa41465e-5a60-46c7-89cd-16d9360b3746)

My assumption is that Android ends up believing Adguard Home's DNS is not working and falls back to using Google's DNS.

Here's the network configuration of my TV:

![PXL_20241007_122436359~3](https://github.com/user-attachments/assets/79e4ed50-5f97-48a1-b2de-ec2139fb653d)

![PXL_20241007_122421038 MP~3](https://github.com/user-attachments/assets/e002811d-aff5-46e4-b8c5-066954df01ee)

(Sorry for the disgusting pics)

As you can see, the second DNS field shows `0.0.0.0`, it's most likely the reason why Android believes it's ok to fallback to some other DNS.

### Proposed solution

I believe that advertising the same DNS address multiple times would resolve this issue. PiHole is already doing that:

![image psd](https://github.com/user-attachments/assets/112e63db-5c3d-4305-8ae8-f1e7b938e4a4)

Related PiHole issue: https://github.com/pi-hole/pi-hole/pull/3846

### Alternatives considered and additional information

Using a static network configuration. I'd like to avoid that, I might buy another TV at some point, I don't want to rely on client configuration.

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.