Hi, I am running Freebsd on the raspberry pi. And have installed unbound to filter the traffic. Here is my unbound.conf
And here is my yoyo.conf
the issue is when I do "drill 1-1ads.com" it returns me the nxdomain. But when I try to drill 101com.com it doesn't return nxdomain. It prints the ip address of the domain. I don't have any clue as to what is going on. I also tried adding the code directly in unbound.conf but that doesn't work either.
I have also tried
but this also blocks the first address not the subsequent address. I tried adding space between the lines. but that doesn't work. Any help would be appreciated. thanks.
Code:
server:
interface: 0.0.0.0
access-control: 192.168.0.0/24 allow
access-control: 127.0.0.1 allow
access-control: ::1 allow
access-control: 0.0.0.0/0 deny
access-control: ::/0 deny
aggressive-nsec: yes
cache-max-ttl: 14400
cache-min-ttl: 1200
hide-identity: yes
hide-version: yes
do-daemonize: yes
pidfile: "/var/run/unbound.pid"
# blocklist files
include: /usr/local/etc/unbound/blocklist/yoyo.conf
use-syslog: yes
verbosity: 3
log-queries: yes
And here is my yoyo.conf
Code:
server:
local-zone: "1-1ads.com" redirect
local-data: "1-1ads.com A 127.0.0.1"
local-zone: "101com.com" redirect
local-data: "101com.com A 127.0.0.1"
the issue is when I do "drill 1-1ads.com" it returns me the nxdomain. But when I try to drill 101com.com it doesn't return nxdomain. It prints the ip address of the domain. I don't have any clue as to what is going on. I also tried adding the code directly in unbound.conf but that doesn't work either.
I have also tried
Code:
local-zone: "1-1ads.com" always_nxdomain