[How-To-Updated 2021] Installing AdGuardHome on OpenWrt [Manual and opkg method]

probably a corrupt yaml file

Any idea on why Adguard shows clients with their IP and not resolving to their names?

Thanks!

You need to set these:

1 Like

Hey,

Thanks for the reply.
I don't think actually that is an AdGuard issue.

First of all I've checked and everything you propose is already enabled.
One small difference, instead of having 192.168.1.1:53 I had 127.0.0.1
Until recently it worked as it should. Anyway I tried the proposed settings but still no luck.

What I found tho is that if I ping a network device with the -a parameter, I still don't get it's network name...
So maybe there is an openwrt setting that I screwed somehow?
Static leases is enabled ofcourse but under Active DHCP Leases nothing comes up which is weird...

Thanks.

Running AGH (v0.107.44) on openwrt snapshot (13.02.24) on MT6000 router
I have 4 DoH in the Upstream DNS servers

I choose enable encryption and disable enable plain dns and save ( the save button doesnt seem to chnage after choosing save). But after logging in and out the tick is back on plain dns and untick in encryption option.

Expected is that Encryption would be saved and not lost after logging in and out. After logging out and back in the tick goes away from enable encryption and is back to enable plain DNS

I have tried resetting router and also done fresh install three times of AGH

what else could i try to resove it?

video of problem:

https://imgur.com/a/b0o8Yyo

https://imgur.com/a/x9g4eYp

It is also not possible to save the DNS parallel request . It keeps reverting itself to load balancing option

Probably a rookie question, but after a restart AGH doesn't appear to start, anything obvious I'm missing?

For the official OPKG package I note you need to enable then start the service, is there something similar needed with this approach?

Yes, make sure it's enabled. Also check the system log, might be some error messages to help you. For example, you might have too much blocking lists and crashing because of low mem.

Hi, thanks so much for your work. Here is my manual AdGuard location:

top
 4720     1 root     S    1236m  31%   0% /opt/AdGuardHome/AdGuardHome -s run
ls -LR /opt/AdGuardHome/
/opt/AdGuardHome/:
AdGuardHome       AdGuardHome.yaml  LICENSE.txt       agh-backup
AdGuardHome.sig   CHANGELOG.md      README.md         data

/opt/AdGuardHome/agh-backup:
AdGuardHome       AdGuardHome.sig   AdGuardHome.yaml  CHANGELOG.md      LICENSE.txt       README.md

/opt/AdGuardHome/data:
filters        querylog.json  sessions.db    stats.db
cat /etc/init.d/AdGuardHome
#!/bin/sh /etc/rc.common

USE_PROCD=1

START=95
STOP=01

cmd="/opt/AdGuardHome/AdGuardHome "-s" "run""
name="AdGuardHome"
pid_file="/var/run/${name}.pid"
...

Maybe just check /etc/init.d/AdGuardHome because location /opt can change depend on user?

Could you please post or PM me the full init file from the manual installation please?

Also, what's the output of: /opt/AdGuardHome/AdGuardHome --version ?

Thanks!

Here it is

cat /etc/init.d/AdGuardHome
#!/bin/sh /etc/rc.common

USE_PROCD=1

START=95
STOP=01

cmd="/opt/AdGuardHome/AdGuardHome "-s" "run""
name="AdGuardHome"
pid_file="/var/run/${name}.pid"

start_service() {
    echo "Starting ${name}"

    procd_open_instance
    procd_set_param command ${cmd}
    procd_set_param respawn             # respawn automatically if something died
    procd_set_param stdout 1            # forward stdout of the command to logd
    procd_set_param stderr 1            # same for stderr
    procd_set_param pidfile ${pid_file} # write a pid file on instance start and remove it on stop

    procd_close_instance
    echo "${name} has been started"
}

stop_service() {
    echo "Stopping ${name}"
}

EXTRA_COMMANDS="status"
EXTRA_HELP="        status  Print the service status"

get_pid() {
    cat "${pid_file}"
}

is_running() {
    [ -f "${pid_file}" ] && ps | grep -v grep | grep $(get_pid) >/dev/null 2>&1
}

status() {
    if is_running; then
        echo "Running"
    else
        echo "Stopped"
        exit 1
    fi
}
/opt/AdGuardHome/AdGuardHome --version
AdGuard Home, version v0.107.50
1 Like

Thanks for your prompt reply, I was wondering if there's an explicit location for config yaml in the init script and looks like there isn't.

If you want to grab the most recent builds of pbr and luci-app-pbr from my repo, the manual install of AGH should be properly detected and processed there.

You may need to reset your browser cache to get the new luci app to display properly.

Does AGH not respond to dns queries from other lan devices? I got a dumb AP setup and no matter what i try AGH on my gateway router wont respond to it.

post yaml file and also I personally just use official device firmware if I want dumb AP

http:
  pprof:
    port: 6060
    enabled: false
  address: 0.0.0.0:8080
  session_ttl: 720h
users:
  - name: admin
    password: $2a$10$0aB7t5nIyfiYDF67HyyKi.EkD.oGOfoB.2/53xscgmrcHGvDc1SoK
auth_attempts: 5
block_auth_min: 15
http_proxy: ""
language: ""
theme: auto
dns:
  bind_hosts:
    - 0.0.0.0
  port: 53
  anonymize_client_ip: false
  ratelimit: 20
  ratelimit_subnet_len_ipv4: 24
  ratelimit_subnet_len_ipv6: 56
  ratelimit_whitelist: []
  refuse_any: true
  upstream_dns:
    - https://dns10.quad9.net/dns-query
  upstream_dns_file: ""
  bootstrap_dns:
    - 9.9.9.10
    - 149.112.112.10
    - 2620:fe::10
    - 2620:fe::fe:10
  fallback_dns: []
  upstream_mode: load_balance
  fastest_timeout: 1s
  allowed_clients: []
  disallowed_clients: []
  blocked_hosts:
    - version.bind
    - id.server
    - hostname.bind
  trusted_proxies:
    - 127.0.0.0/8
    - ::1/128
  cache_size: 4194304
  cache_ttl_min: 0
  cache_ttl_max: 0
  cache_optimistic: false
  bogus_nxdomain: []
  aaaa_disabled: false
  enable_dnssec: false
  edns_client_subnet:
    custom_ip: ""
    enabled: false
    use_custom: false
  max_goroutines: 300
  handle_ddr: true
  ipset: []
  ipset_file: ""
  bootstrap_prefer_ipv6: false
  upstream_timeout: 10s
  private_networks: []
  use_private_ptr_resolvers: false
  local_ptr_upstreams: []
  use_dns64: false
  dns64_prefixes: []
  serve_http3: false
  use_http3_upstreams: false
  serve_plain_dns: true
  hostsfile_enabled: true
tls:
  enabled: false
  server_name: ""
  force_https: false
  port_https: 443
  port_dns_over_tls: 853
  port_dns_over_quic: 853
  port_dnscrypt: 0
  dnscrypt_config_file: ""
  allow_unencrypted_doh: false
  certificate_chain: ""
  private_key: ""
  certificate_path: ""
  private_key_path: ""
  strict_sni_check: false
querylog:
  dir_path: ""
  ignored: []
  interval: 2160h
  size_memory: 1000
  enabled: true
  file_enabled: true
statistics:
  dir_path: ""
  ignored: []
  interval: 24h
  enabled: true
filters:
  - enabled: true
    url: https://adguardteam.github.io/HostlistsRegistry/assets/filter_1.txt
    name: AdGuard DNS filter
    id: 1
  - enabled: false
    url: https://adguardteam.github.io/HostlistsRegistry/assets/filter_2.txt
    name: AdAway Default Blocklist
    id: 2
whitelist_filters: []
user_rules:
  - '@@||p.yotpo.com^$important'
  - ""
dhcp:
  enabled: false
  interface_name: ""
  local_domain_name: lan
  dhcpv4:
    gateway_ip: ""
    subnet_mask: ""
    range_start: ""
    range_end: ""
    lease_duration: 86400
    icmp_timeout_msec: 1000
    options: []
  dhcpv6:
    range_start: ""
    lease_duration: 86400
    ra_slaac_only: false
    ra_allow_slaac: false
filtering:
  blocking_ipv4: ""
  blocking_ipv6: ""
  blocked_services:
    schedule:
      time_zone: UTC
    ids: []
  protection_disabled_until: null
  safe_search:
    enabled: false
    bing: true
    duckduckgo: true
    google: true
    pixabay: true
    yandex: true
    youtube: true
  blocking_mode: default
  parental_block_host: family-block.dns.adguard.com
  safebrowsing_block_host: standard-block.dns.adguard.com
  rewrites: []
  safebrowsing_cache_size: 1048576
  safesearch_cache_size: 1048576
  parental_cache_size: 1048576
  cache_time: 30
  filters_update_interval: 24
  blocked_response_ttl: 10
  filtering_enabled: true
  parental_enabled: false
  safebrowsing_enabled: false
  protection_enabled: true
clients:
  runtime_sources:
    whois: true
    arp: true
    rdns: true
    dhcp: true
    hosts: true
  persistent: []
log:
  file: ""
  max_backups: 0
  max_size: 100
  max_age: 3
  compress: false
  local_time: false
  verbose: false
os:
  group: ""
  user: ""
  rlimit_nofile: 0
schema_version: 28

Your yaml file looks alright to me. Here's my file just for comparison:

http:
  address: 192.168.1.1:8080
  session_ttl: 720h
users:
  - name: 
    password: 
auth_attempts: 5
block_auth_min: 15
http_proxy: ""
language: en
theme: auto
debug_pprof: false
dns:
  bind_hosts:
    - 192.168.1.1
    - 127.0.0.1
  port: 53
  anonymize_client_ip: false
  protection_enabled: true
  blocking_mode: default
  blocking_ipv4: ""
  blocking_ipv6: ""
  blocked_response_ttl: 10
  protection_disabled_until: null
  parental_block_host: family-block.dns.adguard.com
  safebrowsing_block_host: standard-block.dns.adguard.com
  ratelimit: 100
  ratelimit_whitelist: []
  refuse_any: true
  upstream_dns:
    - '[/lan/]127.0.0.1:54'
    - '[//]127.0.0.1:54'
    - '[/pool.ntp.org/]2606:4700:4700::1111'
    - '[/pool.ntp.org/]2606:4700:4700::1001'
    - '[/pool.ntp.org/]2001:4860:4860::8888'
    - '[/pool.ntp.org/]2001:4860:4860::8844'
    - https://dns.google/dns-query
    - https://dns.cloudflare.com/dns-query
  upstream_dns_file: ""
  bootstrap_dns:
    - 2606:4700:4700::1111
    - 2606:4700:4700::1001
    - 2001:4860:4860::8888
    - 2001:4860:4860::8844
  all_servers: true
  fastest_addr: false
  fastest_timeout: 1s
  allowed_clients: []
  disallowed_clients: []
  blocked_hosts:
    - version.bind
    - id.server
    - hostname.bind
  trusted_proxies:
    - 127.0.0.0/8
    - ::1/128
  cache_size: 4194304
  cache_ttl_min: 3600
  cache_ttl_max: 86400
  cache_optimistic: true
  bogus_nxdomain: []
  aaaa_disabled: false
  enable_dnssec: true
  edns_client_subnet:
    custom_ip: ""
    enabled: true
    use_custom: false
  max_goroutines: 300
  handle_ddr: true
  ipset: []
  ipset_file: ""
  bootstrap_prefer_ipv6: false
  filtering_enabled: true
  filters_update_interval: 24
  parental_enabled: false
  safebrowsing_enabled: false
  safebrowsing_cache_size: 1048576
  safesearch_cache_size: 1048576
  parental_cache_size: 1048576
  cache_time: 30
  safe_search:
    enabled: false
    bing: true
    duckduckgo: true
    google: true
    pixabay: true
    yandex: true
    youtube: true
  rewrites: []
  blocked_services:
    schedule:
      time_zone: UTC
    ids: []
  upstream_timeout: 10s
  private_networks: []
  use_private_ptr_resolvers: true
  local_ptr_upstreams:
    - 192.168.1.1:54
  use_dns64: false
  dns64_prefixes: []
  serve_http3: false
  use_http3_upstreams: false
tls:
  enabled: false
  server_name: ""
  force_https: false
  port_https: 443
  port_dns_over_tls: 853
  port_dns_over_quic: 853
  port_dnscrypt: 0
  dnscrypt_config_file: ""
  allow_unencrypted_doh: false
  certificate_chain: ""
  private_key: ""
  certificate_path: ""
  private_key_path: ""
  strict_sni_check: false
querylog:
  ignored: []
  interval: 168h
  size_memory: 1000
  enabled: true
  file_enabled: true
statistics:
  ignored: []
  interval: 24h
  enabled: true
filters:
  - enabled: true
    url: https://adguardteam.github.io/AdGuardSDNSFilter/Filters/filter.txt
    name: AdGuard DNS filter
    id: 1
  - enabled: false
    url: https://adaway.org/hosts.txt
    name: AdAway Default Blocklist
    id: 2
  - enabled: false
    url: https://easylist.to/easylist/easylist.txt
    name: EasyList
    id: 1681390426
  - enabled: false
    url: https://easylist.to/easylist/easyprivacy.txt
    name: EasyPrivacy
    id: 1681390427
  - enabled: false
    url: https://secure.fanboy.co.nz/fanboy-annoyance.txt
    name: Fanboy's Annoyance List
    id: 1681390428
  - enabled: false
    url: https://big.oisd.nl/
    name: OISD Big
    id: 1699204965
  - enabled: true
    url: https://gitlab.com/hagezi/mirror/-/raw/main/dns-blocklists/adblock/pro.txt
    name: Hagezi Pro
    id: 1699274433
  - enabled: false
    url: https://gitlab.com/hagezi/mirror/-/raw/main/dns-blocklists/adblock/ultimate.txt
    name: Hagezi Ultimate
    id: 1699274434
whitelist_filters: []
user_rules:
  - '## snpachat'
  - '||analytics.snapchat.com^'
  - '||app-analytics-*.snapchat.com^'
  - '||usc.adserver.snapads.com^'
  - '||snapads.com^'
  - '||app-analytics-v2.snapchat.com^'
  - '||asia-southeast1-gcp.api.snapchat.com^'
  - '||pica.aeonlucid.com^'
  - '# ||us-central1-gcp.api.snapchat.com^'
  - '||usc.adserver.snapads.com^'
  - '||geofilters-api.snapchat.com^'
  - '||cognac-prod.appspot.com^'
  - '||ase.adserver.snapads.com^'
  - '||tr.snapchat.com^'
  - '||loc.sc-jpl.com^'
  - '# ||storage.googleapis.com^'
  - '||snapchat-proxy.appspot.com^'
  - '## aa01.net'
  - '||amung.us^'
  - '||dibsemey.com^'
  - '||grunoaph.net^'
  - '# adding new filters'
dhcp:
  enabled: false
  interface_name: ""
  local_domain_name: lan
  dhcpv4:
    gateway_ip: ""
    subnet_mask: ""
    range_start: ""
    range_end: ""
    lease_duration: 86400
    icmp_timeout_msec: 1000
    options: []
  dhcpv6:
    range_start: ""
    lease_duration: 86400
    ra_slaac_only: false
    ra_allow_slaac: false
clients:
  runtime_sources:
    whois: true
    arp: true
    rdns: true
    dhcp: true
    hosts: true
  persistent: []
log:
  file: ""
  max_backups: 0
  max_size: 100
  max_age: 3
  compress: false
  local_time: false
  verbose: false
os:
  group: ""
  user: ""
  rlimit_nofile: 0
schema_version: 24

Also I'm using version 0.107.36-1 that came with OpenWrt 23.05.3
DNS server port is set to 54 while on adguard it is set to 53.

I've AdGuardHome running on my Banana R3. However, every 1-2 weeks Adguard hangs / the service stops. Anyone any idea what causes this and how it can be solved?

BTW: I'm also still on v0.107.36: is there any way to update it (add a package resource / ...?).

Go to openwrt > system > System Log. Does it say anything about it?
Also post your yaml file.

In the system log I see:
Wed Jul 3 15:55:09 2024 daemon.err AdGuardHome[2481]: 2024/07/03 13:55:09.612811 [error] hosts container: host "Laptop_Name" is invalid, ignoring.

adguardhome.yaml:

http:
  address: 0.0.0.0:8080
  session_ttl: 720h
users:
  - name: <NAME>
    password: <PW>
auth_attempts: 5
block_auth_min: 15
http_proxy: ""
language: ""
theme: auto
debug_pprof: false
dns:
  bind_hosts:
    - 192.168.1.1
    - 127.0.0.1
  port: 53
  anonymize_client_ip: false
  protection_enabled: true
  blocking_mode: default
  blocking_ipv4: ""
  blocking_ipv6: ""
  blocked_response_ttl: 10
  protection_disabled_until: null
  parental_block_host: family-block.dns.adguard.com
  safebrowsing_block_host: standard-block.dns.adguard.com
  ratelimit: 20
  ratelimit_whitelist: []
  refuse_any: true
  upstream_dns:
    - https://dns10.quad9.net/dns-query
    - 1.1.1.1
    - 1.0.0.1
    - 2606:4700:4700::1111
    - 2606:4700:4700::1001
  upstream_dns_file: ""
  bootstrap_dns:
    - 9.9.9.10
    - 149.112.112.10
    - 2620:fe::10
    - 2620:fe::fe:10
  all_servers: false
  fastest_addr: false
  fastest_timeout: 1s
  allowed_clients: []
  disallowed_clients: []
  blocked_hosts:
    - version.bind
    - id.server
    - hostname.bind
  trusted_proxies:
    - 127.0.0.0/8
    - ::1/128
  cache_size: 4194304
  cache_ttl_min: 0
  cache_ttl_max: 0
  cache_optimistic: true
  bogus_nxdomain: []
  aaaa_disabled: false
  enable_dnssec: false
  edns_client_subnet:
    custom_ip: ""
    enabled: false
    use_custom: false
  max_goroutines: 300
  handle_ddr: true
  ipset: []
  ipset_file: ""
  bootstrap_prefer_ipv6: false
  filtering_enabled: true
 safebrowsing_enabled: false                      
  safebrowsing_cache_size: 1048576                       
  safesearch_cache_size: 1048576
  parental_cache_size: 1048576
  cache_time: 30              
  safe_search:            
    enabled: false                     
    bing: true                   
    duckduckgo: true                               
    google: true                                         
    pixabay: true                
    yandex: true                                   
    youtube: true                                        
  rewrites: []           
  blocked_services:                    
    schedule:            
      time_zone: UTC         
    ids: []                            
  upstream_timeout: 10s         
  private_networks: []        
  use_private_ptr_resolvers: true
  local_ptr_upstreams:    
    - 192.168.1.1            
  use_dns64: false       
  dns64_prefixes: []         
  serve_http3: false              
  use_http3_upstreams: false    
tls:                          
  enabled: false                 
  server_name: ""        
  force_https: false         
  port_https: 443        
  port_dns_over_tls: 853     
  port_dns_over_quic: 853         
  port_dnscrypt: 0              
  dnscrypt_config_file: ""    
  allow_unencrypted_doh: false   
  certificate_chain: ""  
  private_key: ""            
  certificate_path: ""   
  private_key_path: ""       
  strict_sni_check: false         
querylog:                       
  ignored: []                 
  interval: 168h                 
  size_memory: 1000      
  enabled: true              
  file_enabled: true     
statistics:                  
  ignored: []                     
  interval: 24h                 
  enabled: true               
filters:                         
  - enabled: true        
    url: https://adguardteam.github.io/HostlistsRegistry/assets/filter_1.txt
    name: AdGuard DNS filter
    id: 1
 - enabled: false               
    url: https://adguardteam.github.io/HostlistsRegistry/assets/filter_2.txt 
    name: AdAway Default Blocklist                                           
    id: 2                                                   
  - enabled: true                                  
    url: https://adguardteam.github.io/HostlistsRegistry/assets/filter_4.txt 
    name: Dan Pollock's List                                                 
    id: 1688573097                                    
  - enabled: true                
    url: https://adguardteam.github.io/HostlistsRegistry/assets/filter_27.txt
    name: OISD Blocklist Big                                                 
    id: 1688573098                                          
  - enabled: true                                  
    url: https://adguardteam.github.io/HostlistsRegistry/assets/filter_3.txt 
    name: Peter Lowe's Blocklist                                             
    id: 1688573099                                    
  - enabled: true                                        
    url: https://adguardteam.github.io/HostlistsRegistry/assets/filter_6.txt 
    name: Dandelion Sprout's Game Console Adblock List                       
    id: 1688573100                                          
  - enabled: true            
    url: https://adguardteam.github.io/HostlistsRegistry/assets/filter_7.txt 
    name: Perflyst and Dandelion Sprout's Smart-TV Blocklist                 
    id: 1688573101                                    
  - enabled: true                
    url: https://adguardteam.github.io/HostlistsRegistry/assets/filter_23.txt
    name: WindowsSpyBlocker - Hosts spy rules                                
    id: 1688573102                                          
  - enabled: true                
    url: https://s3.amazonaws.com/lists.disconnect.me/simple_tracking.txt    
    name: https://s3.amazonaws.com/lists.disconnect.me/simple_tracking.txt   
    id: 1688573129                                                  
  - enabled: true                                                         
    url: https://s3.amazonaws.com/lists.disconnect.me/simple_ad.txt         
    name: https://s3.amazonaws.com/lists.disconnect.me/simple_ad.txt         
    id: 1688573130                                                        
  - enabled: true                
    url: https://blocklistproject.github.io/Lists/ads.txt                    
    name: Blocklist Ads list                                                 
    id: 1688573132                                                  
  - enabled: true                                  
    url: https://blocklistproject.github.io/Lists/fraud.txt                  
    name: Blocklist Fraud list                                               
    id: 1688573133                                                        
  - enabled: true                
    url: https://blocklistproject.github.io/Lists/gambling.txt               
    name: Blocklist Gambling list                                            
    id: 1688573134                                                  
  - enabled: true                                  
    url: https://blocklistproject.github.io/Lists/malware.txt                
    name: Blocklist Malware list                                             
    id: 1688573135                                                        
  - enabled: true                                        
    url: https://blocklistproject.github.io/Lists/phishing.txt               
    name: Blocklist Phishing list                                            
    id: 1688573136                                                  
  - enabled: true            
    url: https://blocklistproject.github.io/Lists/porn.txt                   
    name: Blocklist Porn list                                                
    id: 1688573137                                                        
  - enabled: true                
    url: https://blocklistproject.github.io/Lists/scam.txt                   
    name: Blocklist Scam list                                                
    id: 1688573138                                                  
  - enabled: true            
    url: https://blocklistproject.github.io/Lists/tracking.txt               
    name: Blocklist Tracking list                                                                                
    id: 1688573139                                                                                                
  - enabled: true                
    url: https://raw.githubusercontent.com/chadmayfield/pihole-blocklists/master/lists/pi_blocklist_porn_all.list
    name: https://raw.githubusercontent.com/chadmayfield/pihole-blocklists/master/lists/pi_blocklist_porn_all.list
    id: 1688573140                                                  
  - enabled: true            
    url: http://winhelp2002.mvps.org/hosts.txt                               
    name: http://winhelp2002.mvps.org/hosts.txt                                                                  
    id: 1688573141                                                                                                
  - enabled: true                
    url: https://s3.amazonaws.com/lists.disconnect.me/simple_malvertising.txt
    name: https://s3.amazonaws.com/lists.disconnect.me/simple_malvertising.txt         
    id: 1688573142                                                                      
  - enabled: true            
    url: https://gitlab.com/quidsup/notrack-blocklists/raw/master/notrack-blocklist.txt
    name: https://gitlab.com/quidsup/notrack-blocklists/raw/master/notrack-blocklist.txt                         
    id: 1688573143                                                                                                
  - enabled: true                
    url: https://raw.githubusercontent.com/vokins/yhosts/master/hosts.txt    
    name: https://raw.githubusercontent.com/vokins/yhosts/master/hosts.txt                  
    id: 1688573144                                                                           
  - enabled: true            
    url: https://raw.githubusercontent.com/piwik/referrer-spam-blacklist/master/spammers.txt
    name: https://raw.githubusercontent.com/piwik/referrer-spam-blacklist/master/spammers.txt                    
    id: 1688573145                                                                                                
  - enabled: true                
    url: https://raw.githubusercontent.com/AdAway/adaway.github.io/master/hosts.txt
    name: https://raw.githubusercontent.com/AdAway/adaway.github.io/master/hosts.txt        
    id: 1688573146                                                                           
  - enabled: true  
   url: https://gitlab.com/ZeroDot1/CoinBlockerLists/raw/master/list_browser.txt           
    name: https://gitlab.com/ZeroDot1/CoinBlockerLists/raw/master/list_browser.txt           
    id: 1688573148                                                        
  - enabled: true                                                           
    url: https://raw.githubusercontent.com/azet12/KADhosts/master/KADhosts.txt                                   
    name: https://raw.githubusercontent.com/azet12/KADhosts/master/KADhosts.txt                                   
    id: 1688573149               
  - enabled: true                                                            
    url: https://raw.githubusercontent.com/FadeMind/hosts.extras/master/UncheckyAds/hosts   
    name: https://raw.githubusercontent.com/FadeMind/hosts.extras/master/UncheckyAds/hosts   
    id: 1688573150                                 
  - enabled: true                                                            
    url: https://raw.githubusercontent.com/tyzbit/hosts/master/data/tyzbit/hosts                                 
    name: https://raw.githubusercontent.com/tyzbit/hosts/master/data/tyzbit/hosts                                 
    id: 1688573151               
  - enabled: true                                                            
    url: https://raw.githubusercontent.com/FadeMind/hosts.extras/master/add.Spam/hosts      
    name: https://raw.githubusercontent.com/FadeMind/hosts.extras/master/add.Spam/hosts      
    id: 1688573152                                 
  - enabled: true                                                            
    url: https://raw.githubusercontent.com/FadeMind/hosts.extras/master/add.Risk/hosts                           
    name: https://raw.githubusercontent.com/FadeMind/hosts.extras/master/add.Risk/hosts                           
    id: 1688573153                                       
  - enabled: true                                                            
    url: https://raw.githubusercontent.com/FadeMind/hosts.extras/master/add.Dead/hosts      
    name: https://raw.githubusercontent.com/FadeMind/hosts.extras/master/add.Dead/hosts      
    id: 1688573154           
  - enabled: true                                                            
    url: https://raw.githubusercontent.com/Dawsey21/Lists/master/main-blacklist.txt                              
    name: https://raw.githubusercontent.com/Dawsey21/Lists/master/main-blacklist.txt                              
    id: 1688573155               
  - enabled: true                                                            
    url: https://openphish.com/feed.txt                                                     
    name: https://openphish.com/feed.txt                                                     
    id: 1688573156           
  - enabled: true                                                            
    url: https://raw.githubusercontent.com/bkrcrc/turk-adlist/master/hosts                                       
    name: https://raw.githubusercontent.com/bkrcrc/turk-adlist/master/hosts                                       
    id: 1688573157               
  - enabled: true                                                                                                
    url: https://v.firebog.net/hosts/static/w3kbl.txt                                                             
    name: https://v.firebog.net/hosts/static/w3kbl.txt                                       
    id: 1688573158           
  - enabled: true                                                            
    url: https://raw.githubusercontent.com/mitchellkrogza/Badd-Boyz-Hosts/master/hosts                           
    name: https://raw.githubusercontent.com/mitchellkrogza/Badd-Boyz-Hosts/master/hosts                           
    id: 1688573159               
  - enabled: true                                                            
    url: https://www.fanboy.co.nz/enhancedstats.txt                                         
    name: https://www.fanboy.co.nz/enhancedstats.txt                                         
    id: 1688573160           
whitelist_filters: []                                                                  
user_rules:                                                                                                      
  - '# Blacklist:'                                                                                                
  - '# ||tiktok.com^'            
  - '# ||snapchat.com^'                                                      
  - '||bin.snmmd.nl^'                                                                       
  - '||criteo.com^'                                                                          
  - '||fashionchick.nl^'     
  - '||flashtalking.com^'                                                                   
  - '||media.adrcdn.com^'                                                                                        
  - '||protocolverificatie-online.nl^'                                                                            
  - '||pzz.io^'                  
  - '||pzz.to^'                                                                    
  - '||scorecardresearch.com^'                                                              
  - '||prod-pre.fns.tunein.com^$important'                                                   
  - '# ||youtube.com^'                             
  - '# ||googlevideo.com^'                                                   
  - '# Whitelist:'                                                                                               
  - '@@||android.clients.google.com^'                                                                             
  - '@@||appleid.apple.com^'              
  - '@@||apps.skype.com^'                                                    
  - '@@||apresolve.spotify.com^'                                                            
  - '@@||apt.sonarr.tv^'                                                                     
  - '@@||awin1.com^'                               
  - '@@||c.s-microsoft.com^'                                                 
  - '@@||cdn.fbsbx.com^'                                                                                         
  - '@@||clients2.google.com^'                                                                                    
  - '@@||clients4.google.com^'                           
  - '@@||connect.facebook.com^'                                              
  - '@@||creative.ak.fbcdn.net^'                                                            
  - '@@||cts.snmmd.nl^'                                                                      
  - '@@||dev.virtualearth.n'           
  - '@@||displaycatalog.mp.microsoft.com^'                                   
  - '@@||dl.delivery.mp.microsoft.com^'                                                                          
  - '@@||dl.dropboxusercontent.com^'                                                                              
  - '@@||dl.google.com^'                  
  - '@@||download.sonarr.tv^'                                                
  - '@@||ecn.dev.virtualearth.net^'                                                         
  - '@@||external-lhr0-1.xx.fbcdn.net^'                                                      
  - '@@||external-lhr1-1.xx.fbcdn.net^' 
  - '@@||external-lhr10-1.xx.fbcdn.net^'                                     
  - '@@||external-lhr2-1.xx.fbcdn.net^'                                                                          
  - '@@||external-lhr3-1.xx.fbcdn.net^'                                                                           
  - '@@||external-lhr4-1.xx.fbcdn.net^'   
  - '@@||external-lhr5-1.xx.fbcdn.net^'                                                                          
  - '@@||external-lhr6-1.xx.fbcdn.net^'                                                                           
  - '@@||external-lhr7-1.xx.fbcdn.net^'                                                      
  - '@@||external-lhr8-1.xx.fbcdn.net^' 
  - '@@||external-lhr9-1.xx.fbcdn.net^'                                      
  - '@@||facebook.com^'                                                                                          
  - '@@||fbcdn-creative-a.akamaihd.net^'                                                                          
  - '@@||forums.sonarr.tv^'               
  - '@@||gateway.messenger.live.com^'                                        
  - '@@||geo-prod.do.dsp.mp.microsoft.com^'                                                 
  - '@@||gigya.com^'                                                                         
  - '@@||graph.facebook.com^'           
  - '@@||i.s-microsoft.com^'                                                           
  - '@@||login.live.com^'                                                                                        
  - '@@||m.hotmail.com^'                                                                                          
  - '@@||mijnbladopdemat.nl^'             
  - '@@||ns1.dropbox.com^'                                                   
  - '@@||ns2.dropbox.com^'                                                                  
  - '@@||opensubtitles.org^'                                                                 
  - '@@||outlook.office365.com^'        
  - '@@||placehold.it^'                                                                     
  - '@@||placeholdit.imgix.net^'                                                                                 
  - '@@||pricelist.skype.com^'                                                                                    
  - '@@||products.office.com^'            
  - '@@||s.gateway.messenger.live.com^'                                            
  - '@@||s1.symcb.com^'                                                                     
  - '@@||s2.symcb.com^'                                                                      
  - '@@||s3.symcb.com^'  
  - '@@||s4.symcb.com^'                                                   
  - '@@||s5.symcb.com^'                                                     
  - '@@||sa.symcb.com^'                                                                                          
  - '@@||scontent-lhr3-1.xx.fbcdn.net^'                                                                           
  - '@@||scontent.fgdl5-1.fna.fbcdn.net^' 
  - '@@||scontent.xx.fbcdn.net^'                                             
  - '@@||services.sonarr.tv^'                                                               
  - '@@||settings-win.data.microsoft.com^'                                                   
  - '@@||skyhook.sonarr.tv^'                       
  - '@@||spclient.wg.spotify.com^'                                           
  - '@@||sss.snmmd.nl^'                                                                                          
  - '@@||synology.com^'                                                                                           
  - '@@||t0.ssl.ak.dynamic.tiles.virtualearth.net^'
  - '@@||t0.ssl.ak.tiles.virtualearth.net^'                                  
  - '@@||ui.skype.com^'                                                                     
  - '@@||users.telenet.be^'                                                                  
  - '@@||v10.vortex-win.data.microsoft.com^'       
  - '@@||v20.vortex-win.data.microsoft.com^'                                 
  - '@@||www.msftncsi.com^'                                                                                      
  - '@@||www.opensubtitles.org^'                                                                                  
  - '@@||www.zerohedge.com^'                             
  - '@@||zerohedge.com^'                                                     
  - '@@||adyen.com^'                                                                        
  - '@@||t.co^$important'                                                                    
  - '@@||wl.spotify.com^$important'     
  - '@@||audio-ak-spotify-com.akamaized.net^$important'                      
  - '[/archive.is/archive.today/]tls://dns.quad9.net'                                                            
dhcp:                                                                                                             
  enabled: false                          
  interface_name: ""                                                         
  local_domain_name: lan                                                                    
  dhcpv4:                                                                                    
    gateway_ip: ""                                   
    subnet_mask: ""                                                          
    range_start: ""                                                                                              
    range_end: ""                                                                                                 
    lease_duration: 86400                 
    icmp_timeout_msec: 1000                                                                                      
    options: []                                                                                                   
  dhcpv6:                                                                                    
    range_start: ""                                  
    lease_duration: 86400                                                    
    ra_slaac_only: false                                                                                         
    ra_allow_slaac: false                                                                                         
clients:                                  
  runtime_sources:                                                           
    whois: true                                                                             
    arp: true                                                                                
    rdns: true                                       
    dhcp: true                                                                         
    hosts: true                                                                                                  
  persistent: []                                                                                                  
log:                                      
  file: ""                                                                   
  max_backups: 0                                                                            
  max_size: 100
  max_age: 3
  compress: false
  local_time: false
  verbose: false
os:
  group: ""
  user: ""
  rlimit_nofile: 0
schema_version: 24

In yaml edit address to your router ip instead 0.0.0.0:8080

http:
  address: 192.168.1.1:8080
  session_ttl: 720h

The rest looks good to me.

Could be a typo? check the name fits the rule. Maybe use a different simple name. If that doesn't work then reset everything and set everything back

Thanks for the yaml router-ip feedback.

Hostname: I anonymized the name but it does contain an underscore. I will change the name and see what happens.

1 Like