How to resolve a domain name with Bind9

I am really confused on how to solve bind9, I sent bind9 a request for help about a month ago and I have never heard of any response. I've installed bind9 bind9utils bind9-doc bind9-host and i also set up my hosts file as follows so that i can bind my host name to that too

echo -e " Inspire" >> / etc / hosts

hostnamectl set-hostname Inspire

Then I was able to run ping -c and receive a response after enabling ICMP requests, my next step is to configure the named.conf.options drop for my preferences

acl TrustedPPL {;; };

acAc NoAccess {; };

options {
directory "/ var / cache / bind";

allow-query {TrustedPPL; };
blackhole {NoAccess; };

recursion yes;

allow-recursion {local networks;; };
listening port 53 {;; };
senders {;;; };

dnssec-auto validation;
dnssec-lookaside auto;
dnssec-enable yes;
auth-nxdomain no;

tcp-listen-queue 25;
transfers-in 25;
outgoing transfers 25;
tcp-clients 200;

At this point, I restarted bind9 so that all errors are reported to me. There was no mistake. I have therefore created the name of the zone and the zone file. I also included the contents of the zone files.

echo -e "zone" "IN {type master; file "/etc/bind/"; }; & # 39; > /etc/bind/named.conf.local

Zone file /etc/bind/

    $ TTL 3h

@ IN SOA (
15; Serial
3h; Refresh
1h; try again
1w; Expire
1h); TTL negative cover

@ IN A

Then I used dig and I had an answer showing that IPv4 was, and then I confirmed it with nslookup and he also came back accurate, so I decided to test the resolution part of it and I changed @ IN A A I then changed the serial number and restarted bind9 without error, I did a dig and he returned again. So at this point I was curious and I completely deleted the file with db.local, as well as dig and nslookup show that bind9 does not even detect its own resolution file, any idea?

That's my /etc/nsswitch.conf file

passwd: compat systemd
group: compat systemd
shadow: compat
gshadow: files

hosts: dns
networks: files

protocols: db files
services: db files
ethers: db files
rpc: db files

network group: nis

I have tried with the original /etc/bind/named.conf.options the file too and there was no change, I use manly use linux mint, but that does not work on kali linux either

There is also no Dnsmasq or NSCD caching daemon.