<div dir="ltr"><div><div><div><div><div><div>Thank you for the helpful answer.<br></div>I changed the file /etc/bind/named.conf.local to<br><br>view "local" {<br>    match-clients { 127.0.0.1; };<br>        zone "home.lan" IN {<br>        type master;<br>        file "/etc/bind/db.home.lan";<br>    };<br>};<br>view "ext" {<br>    match-clients { <a href="http://192.168.2.0/24;">192.168.2.0/24;</a>};<br>    zone "2.168.192.in-addr.arpa" {<br>        type master;<br>        file "/etc/bind/db.rev.2.168.192.in-addr.arpa";<br>    };<br>};<br>view "wlan0" {<br>    match-clients { <a href="http://192.168.3.0/24;">192.168.3.0/24;</a>};<br>    zone "3.168.192.in-addr.arpa" {<br>        type master;<br>        file "/etc/bind/db.rev.3.168.192.in-addr.arpa";<br>    };<br>};<br>view "wlan00" {<br>    match-clients {<a href="http://192.168.4.0/24;">192.168.4.0/24;</a>};<br>    zone "4.168.192.in-addr.arpa" {<br>        type master;<br>        file "/etc/bind/db.rev.4.168.192.in-addr.arpa";<br>    };<br>};<br>view "wlan01" {<br>    match-clients {<a href="http://192.168.5.0/24;">192.168.5.0/24;</a>};<br>    zone "5.168.192.in-addr.arpa" {<br>        type master;<br>        file "/etc/bind/db.rev.5.168.192.in-addr.arpa";<br>    };<br>};<br>view "int" {<br>    match-clients {<a href="http://192.168.10.0/24;">192.168.10.0/24;</a>};<br>    zone "10.168.192.in-addr.arpa" {<br>        type master;<br>        file "/etc/bind/db.rev.10.168.192.in-addr.arpa";<br>    };<br>};<br><br><br></div>But now I get Non-existent domain error  (on the raspberry machine) for <br></div>- nslookup localhost<br></div>- nslookup DEV.home.lan<br><br></div>I don't understand why it can't find neither the localhost nor the DEV.home.lan entry in /etc/bind/db.home.lan <br><br><br></div><div class="gmail_extra"><br><div class="gmail_quote">2014-12-27 22:57 GMT+01:00 Jeremy C. Reed <span dir="ltr"><<a href="mailto:jreed@isc.org" target="_blank">jreed@isc.org</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">On Sat, 27 Dec 2014, Christian Kette wrote:<br>
<br>
> I have some questions. Q1: Why do I get the IP address "192.168.2.100" for<br>
> "DEV.home.lan" from both the <a href="http://192.168.2.0/24" target="_blank">192.168.2.0/24</a> and the <a href="http://192.168.10.0/24" target="_blank">192.168.10.0/24</a> network?<br>
<br>
The view that matches first is used.<br>
<br>
> #include "/etc/bind/named.conf.default-zones";<br>
...<br>
> Q2: What exactly are these zones in the file for? Do I need them?<br>
<br>
You didn't include the file in the email. But I found a copy via google<br>
which may be the same.  You probably don't need it. (For example, the<br>
priming hints are builtin to named.)<br>
<br>
</blockquote></div><br></div></div>