AdguardTeam / AdguardTeam/AdGuardHome

Apply filtering to DNS queries for hostnames of filtering lists

Abierto
#6,388 2 comentarios 0 reacciones 0 asignados Ver en GitHub
enhancement
Lenguaje dominante
TypeScript
Estrellas
36.9k
Forks
2.5k
Métricas de merge de PR
Sin PR fusionados en 30 d

Descripción

### Prerequisites

- [X] I have checked the [Wiki](https://github.com/AdguardTeam/AdGuardHome/wiki) and [Discussions](https://github.com/AdguardTeam/AdGuardHome/discussions/categories/q-a) and found no answer

- [X] I have searched other issues and found no duplicates

- [X] I want to report a bug and not [ask a question or ask for help](https://github.com/AdguardTeam/AdGuardHome/discussions/categories/q-a)

- [X] I have set up AdGuard Home correctly and [configured clients to use it](https://github.com/AdguardTeam/AdGuardHome/wiki/Clients). (Use the [Discussions](https://github.com/AdguardTeam/AdGuardHome/discussions/categories/q-a) for help with installing and configuring clients.)

### Platform (OS and CPU architecture)

Linux, AMD64 (aka x86_64)

### Installation

GitHub releases or script from README

### Setup

On one machine

### AdGuard Home version

v0.107.40

### Action

My DNS blocklist was hosted on github.com, I decided to host it on my internal GitLab instance as it is approximately 50MB and it is a lot faster to download from LAN.

When attempting to do so, AdGuard reported an error:

![image](https://github.com/AdguardTeam/AdGuardHome/assets/32660358/88bc71d9-748a-43dd-bf1b-75279aa73403)

However, from the VM that is hosting AdGuard Home, it can cURL it, AdGuard Home holds the record for where it points to.

![image](https://github.com/AdguardTeam/AdGuardHome/assets/32660358/3a5606f9-cc19-443f-9f00-5ad948f44741)

![image](https://github.com/AdguardTeam/AdGuardHome/assets/32660358/41f5b8ac-e452-4f16-b236-4f7c0306baa3)

### Expected result

I would expect AdGuard Home to simply download the blocklist as it does from GitHub.

### Actual result

Error: control/filtering/set_url | reading from url: Get "https://git.domain.tld/nick/homelab/-/raw/main/dns-blocklist.txt": no addresses for host "git.domain.tld" | 400

### Additional information and/or screenshots

```
2023/11/05 21:54:05.611335 38443#82 [debug] filtering: downloading update for filter 1698073477 from "https://git.domain.tld/nick/homelab/-/raw/main/dns-blocklist.txt"
2023/11/05 21:54:05.611863 38443#84 [debug] dnsforward: dialing "git.domain.tld:443" for network "tcp"
2023/11/05 21:54:05.612069 38443#86 [debug] dnsproxy: cache: serving cached response
2023/11/05 21:54:05.612168 38443#85 [debug] dnsproxy: cache: serving cached response
2023/11/05 21:54:05.612407 38443#84 [debug] dnsforward: resolving "git.domain.tld": []
2023/11/05 21:54:05.612723 38443#82 [error] POST dns.domain.tld /control/filtering/set_url: reading from url: Get "https://git.domain.tld/nick/homelab/-/raw/main/dns-blocklist.txt": no addresses for host "git.domain.tld"
2023/11/05 21:54:05.612827 38443#82 [debug] finished POST dns.domain.tld /control/filtering/set_url in 1.876658ms
```

Guía de contribución

Abrir la guía de contribución

Evaluación

Este issue todavía no se ha evaluado.

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.