AdguardTeam / AdguardTeam/dnsproxy

dnsrewrite

Đang mở
#487 0 bình luận 0 reaction 0 người được giao Xem trên GitHub
Ngôn ngữ chính
Go
Star
3.3k
Fork
343
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Mô tả

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..

Hướng dẫn đóng góp

Chưa lập chỉ mục được hướng dẫn đóng góp cho kho mã nguồn này

Đánh giá

Issue này chưa được đánh giá.

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.