first commit
This commit is contained in:
commit
308cbfe958
|
@ -0,0 +1,10 @@
|
|||
# Ignore everything
|
||||
*
|
||||
|
||||
# But not these files...
|
||||
!.gitignore
|
||||
!work/data/leases.json
|
||||
!conf/AdGuardHome.yaml
|
||||
|
||||
# ...even if they are in subdirectories
|
||||
!*/
|
|
@ -0,0 +1,184 @@
|
|||
http:
|
||||
pprof:
|
||||
port: 6060
|
||||
enabled: false
|
||||
address: 0.0.0.0:85
|
||||
session_ttl: 720h
|
||||
users:
|
||||
- name: admin
|
||||
password: $2a$10$JXzzyRGqVSnMUseCHJo5gu/cBXaPI8pAzyq9Q6rmL6TK4PZRDbHzy
|
||||
auth_attempts: 5
|
||||
block_auth_min: 15
|
||||
http_proxy: ""
|
||||
language: fr
|
||||
theme: dark
|
||||
dns:
|
||||
bind_hosts:
|
||||
- 192.168.1.3
|
||||
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:
|
||||
- 192.168.1.44
|
||||
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: true
|
||||
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/AdGuardSDNSFilter/Filters/filter.txt
|
||||
name: AdGuard DNS filter
|
||||
id: 1
|
||||
- enabled: false
|
||||
url: https://adaway.org/hosts.txt
|
||||
name: AdAway Default Blocklist
|
||||
id: 2
|
||||
whitelist_filters: []
|
||||
user_rules:
|
||||
- '@@||pagead2.googlesyndication.com^$client=''192.168.1.34'''
|
||||
- '@@||pagead2.googlesyndication.com^$client=''192.168.1.68'''
|
||||
- '@@||www.google-analytics.com^$client=''192.168.1.68'''
|
||||
- '@@||ssl.google-analytics.com^$client=''192.168.1.26'''
|
||||
- '@@||www.google-analytics.com^$important'
|
||||
- '@@||stats.g.doubleclick.net^$important'
|
||||
- ""
|
||||
dhcp:
|
||||
enabled: true
|
||||
interface_name: eth0
|
||||
local_domain_name: lan
|
||||
dhcpv4:
|
||||
gateway_ip: 192.168.1.1
|
||||
subnet_mask: 255.255.255.0
|
||||
range_start: 192.168.1.50
|
||||
range_end: 192.168.1.100
|
||||
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: true
|
||||
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
|
|
@ -0,0 +1 @@
|
|||
{"version":1,"leases":[{"mac":"86:30:64:d0:38:f6","expires":"2023-03-19T20:50:21Z","hostname":"192-168-1-51","ip":"192.168.1.51","static":false},{"mac":"ee:a3:51:ff:26:07","expires":"2023-01-30T22:14:24Z","hostname":"192-168-1-53","ip":"192.168.1.53","static":false},{"mac":"be:b2:d8:69:80:72","expires":"2023-05-15T13:28:51Z","hostname":"192-168-1-56","ip":"192.168.1.56","static":false},{"mac":"5e:93:0c:67:89:d5","expires":"2023-05-15T13:28:58Z","hostname":"192-168-1-57","ip":"192.168.1.57","static":false},{"mac":"ea:30:8a:4c:32:50","expires":"2023-07-06T19:51:42Z","hostname":"192-168-1-58","ip":"192.168.1.58","static":false},{"mac":"00:00:00:00:00:00","expires":"2023-08-01T21:25:55Z","hostname":"192-168-1-59","ip":"192.168.1.59","static":false},{"mac":"72:4a:70:ed:c8:2a","expires":"2023-08-23T14:11:09Z","hostname":"192-168-1-61","ip":"192.168.1.61","static":false},{"mac":"16:d8:39:9d:c8:98","expires":"2023-10-09T13:57:05Z","hostname":"192-168-1-64","ip":"192.168.1.64","static":false},{"mac":"62:f9:0c:49:a3:46","expires":"2023-12-18T15:30:26Z","hostname":"192-168-1-66","ip":"192.168.1.66","static":false},{"mac":"fe:72:35:0c:bc:9c","expires":"2023-12-18T15:30:36Z","hostname":"192-168-1-67","ip":"192.168.1.67","static":false},{"mac":"08:12:a5:5b:4e:ba","hostname":"alexa","ip":"192.168.1.30","static":true},{"mac":"6c:ad:f8:88:dd:15","expires":"2024-03-25T13:17:50Z","hostname":"chromecast","ip":"192.168.1.60","static":false},{"mac":"08:00:27:9a:9a:0e","expires":"2023-09-29T20:34:04Z","hostname":"debian","ip":"192.168.1.63","static":false},{"mac":"08:00:27:0f:77:8f","expires":"2023-09-21T22:37:22Z","hostname":"faiserver","ip":"192.168.1.62","static":false},{"mac":"6c:c7:ec:49:af:85","expires":"2024-03-10T14:18:42Z","hostname":"galaxy-s8","ip":"192.168.1.65","static":false},{"mac":"44:91:60:31:0f:09","hostname":"gateway-tradfri","ip":"192.168.1.32","static":true},{"mac":"ac:67:84:17:a0:92","hostname":"google-nest-hub","ip":"192.168.1.31","static":true},{"mac":"b8:27:eb:5d:62:2f","hostname":"hass","ip":"192.168.1.2","static":true},{"mac":"9c:28:41:17:6b:5b","hostname":"lidl-cook","ip":"192.168.1.33","static":true},{"mac":"28:6c:07:f1:b7:16","hostname":"lumi-gateway-v3-miio55031429","ip":"192.168.1.5","static":true},{"mac":"42:99:35:61:d3:68","expires":"2023-01-30T10:12:51Z","hostname":"oneplus-6","ip":"192.168.1.52","static":false},{"mac":"f6:ff:63:21:91:0c","hostname":"oneplus-9-5g","ip":"192.168.1.26","static":true},{"mac":"de:33:1d:9f:45:64","expires":"2023-01-30T20:00:39Z","hostname":"pixel-4a-johann","ip":"192.168.1.54","static":false},{"mac":"24:df:a7:e4:7f:af","hostname":"rm4-pro","ip":"192.168.1.4","static":true},{"mac":"e0:d5:5e:f8:2d:f1","hostname":"thanos","ip":"192.168.1.25","static":true},{"mac":"14:c1:4e:b1:1c:95","expires":"2024-03-11T14:04:16Z","hostname":"tv-google-gg","ip":"192.168.1.55","static":false},{"mac":"60:f2:62:d6:f0:c9","hostname":"xps13","ip":"192.168.1.27","static":true},{"mac":"04:cf:8c:9b:39:4f","hostname":"yeelink-light-color2-miap394f","ip":"192.168.1.12","static":true},{"mac":"04:cf:8c:9a:a5:55","hostname":"yeelink-light-color2-miapa555","ip":"192.168.1.10","static":true},{"mac":"04:cf:8c:9a:b7:85","hostname":"yeelink-light-color2-miapb785","ip":"192.168.1.11","static":true}]}
|
Loading…
Reference in New Issue