AdguardTeam / AdguardTeam/AdGuardHome

DNS Bind Hosts Configuration

Aperta
#5,582 1 commento 0 reazioni 0 assegnatari Vedi su GitHub
enhancement
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

### Description

#### What problem are you trying to solve?

I want to bind DNS to only IPv6 using wildcard '::'

#### Proposed solution

Currently a single wildcard '0.0.0.0' or '::' in dns bind hosts will bind both IPv4 and IPv6 addresses, which is not a conventional approach. My suggestion is to separate IPv4 and IPv6, so that we can choose which to bind even using wildcards.

Why I don't use static IPv6 address is that my IPv6 is dynamic. I currently rely on DDNS to connect to my server. Besides, I run libvirt on my server for network simulation, and it invokes dnsmasq on 192.168.122.1:53 of interface virbr0. however, when using wildcard '::', AdGuardHome will also try to bind to 192.168.122.1:53, so it will fail to start in this case.

#### Alternatives considered

#### Additional information

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.