AdguardTeam / AdguardTeam/dnsproxy

dnsrewrite

Aperta
#487 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub
Lingua principale
Go
Stelle
3.3k
Fork
343
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Descrizione

does dnsproxy provide dnswrite functions to agh?

https://adguard-dns.io/kb/general/dns-filtering-syntax/

specifically things like this:

```
$dnsrewrite=NOERROR;A;1.2.3.4
$dnsrewrite=NOERROR;AAAA;abcd::1234
$dnsrewrite=NOERROR;CNAME;example.net
$dnsrewrite=REFUSED;;
```

Is this, or something like this possible in dnsproxy?

Thank you in advance..

```
upstream:
- quic://dns.quad9.net
- h3://dns.quad9.net/dns-query

- |
[/netflix.com/nflxso.net/nflxext.com/nflxvideo.net/
youtube.com/googlevideo.com/ytimg.com/
akamai.net/akamaihd.net/edgecastcdn.net/
fastly.net/fastlylb.net/
cloudfront.net/
disneyplus.com/bamgrid.com/]quic://dns11.quad9.net
- |
[/netflix.com/nflxso.net/nflxext.com/nflxvideo.net/
youtube.com/googlevideo.com/ytimg.com/
akamai.net/akamaihd.net/edgecastcdn.net/
fastly.net/fastlylb.net/
cloudfront.net/
disneyplus.com/bamgrid.com/]h3://dns11.quad9.net/dns-query

bootstrap:
- tls://9.9.9.9
- tls://149.112.112.112

all-servers: true
fastest-addr: true
# dnssec: true

cache: true
cache-size: 10240 # 1MB cache for roughly 10,000+ records
cache-min-ttl: 90 # Minimum 10 mins in cache (overrides low TTL records)
cache-max-ttl: 2400 # 24 hour maximum
cache-optimistic: true # Serve expired records instantly while refreshing in background

listen-addrs:
- 0.0.0.0
listen-ports:
- 5358

udp-buf-size: 4096
output: ""
verbose: false
ipv6-disabled: yes
http3: yes
```

docker 0.81

Thank you in advance..

Guida per i contributori

Nessuna guida per i contributori indicizzata per questo repository

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.