Skip to content

dnsrewrite #487

@bcookatpcsd

Description

@bcookatpcsd

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions