Bind9 : Host bsasr.lan not found: 3(NXDOMAIN)

I am currently trying to set up a DNS (bsasr.lan) on my virtual machine.

I have a gateway machine (IP: and I have a DNS machine (

I always have the same error when I type host bsasr.lan which is “Host bsasr.lan not found: 3(NXDOMAIN)”. Where do the error come from ?


domain bsasr.lan
search bsasr.lan



/etc/hosts: localhost DNS DNS.bsasr.lan DNS


forwarders {;;;;


zone "bsasr.lan" {
    type master;
    file "/etc/bind/zones/db.bsasr.lan";
zone "" {
    type master;
    file "/etc/bin/zones/db.192";

To avoid mistakes, here is a screenshot of my /etc/bind/zones/db.bsasr.lan:
db.bsasr.lan screenshot

Same for /etc/bind/zones/db.192:

db.192 screenshot

Here are the errors:

>host bsasr.lan
Host bsasr.lan not found: 3(NXDOMAIN)

>nslookup bsasr.lan

server can't find bsasr.lan: NXDOMAIN

Thank you very much