Skip to content

Commit

Permalink
Configure dns adblocker
Browse files Browse the repository at this point in the history
  • Loading branch information
mircea-pavel-anton committed Jan 7, 2025
1 parent 113c813 commit a5c7653
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions terraform/mikrotik/modules/rb5009/dns-server.tf
Original file line number Diff line number Diff line change
Expand Up @@ -15,3 +15,13 @@ resource "routeros_ip_dns" "dns-server" {
routeros_interface_vlan.untrusted.name
]
}

# =================================================================================================
# AdList
# https://registry.terraform.io/providers/terraform-routeros/routeros/latest/docs/resources/ip_dns_adlist
# =================================================================================================
resource "routeros_ip_dns_adlist" "dns_blocker" {
disabled = false
url = "https://raw.githubusercontent.com/StevenBlack/hosts/master/hosts"
ssl_verify = false
}

0 comments on commit a5c7653

Please sign in to comment.