adding second zone

Barry Margolin barmar at alum.mit.edu
Thu Sep 22 18:53:17 UTC 2016


In article <mailman.288.1474569021.74444.bind-users at lists.isc.org>,
 Pol Hallen <bindml at fuckaround.org> wrote:

> Hi all
> I searching for about add a second zone to BIND but I didn't find how :-/

Add 

zone "secondzone.com" {
  ...
};

to your named.conf.

> 
> I've a standard zone: example1 IN SOA with record A 192.168.1.212
> 
> this zone works perfectly
> 
> I'd like add a second zone to network 192.168.10.0/24, the problem is 
> that my server has 1NIC and is connect to hardware firewall with some 
> NICS, so:
> 
> WAN<-->LAN1 - 192.168.1.0/24 <---> BIND+DHCP server (works)
>         LAN2 - 192.168.10.0/24 <---> DHCP only
>         LAN3 [...]
>         LAN4 [...]
> 
> routing and NAT works between LAN1 and LAN2
> 
> so, firewall will assign dhcp lease inside LAN2 with BIND on LAN1

None of this has anything to do with BIND zones. You can serve multiple 
zones on the same nameserver IP.

-- 
Barry Margolin
Arlington, MA


More information about the bind-users mailing list