[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: DNS zone for internal net



In article <20030427230015$6a1b@gated-at.bofh.it>, Bill Moseley wrote:
> On Sat Apr 26, 2003 at 03:58:11PM -0500, Will Yardley wrote:
>> In article <20030426150006$651e@gated-at.bofh.it>, moseley@hank.org wrote:
 
>>> I'm running Bind9 on the machine that is doing NAT for the internal LAN.  It
>>> provides public DNS lookups for my public machines.  Of course I don't want
>>> to add private IPs to the zone that lists the public IPs. 

>> You want to use views.
 
> Ok, thanks.
> 
> So it seems if I do use views then I need to place *all* my zones
> inside views?  So like your root zone below, I'll need to list zones
> that are not different for internal and external networks in both
> views?

You might want to ask on the bind-users list, but with all the examples
I've seen, you have to put the root zones in both zones; other than
that, you should only need to put the zones you need for a particular
view in one view or the other.

If you're editing the files by hand, copying the bits from one view to
the other shouldn't be hard, and if you use some sort of script to keep
them up-to-date, it shouldn't be difficult either.

-- 
No copies, please.
To reply privately, simply reply; don't remove anything.



Reply to: