autogenerate "forward lookup"

Barry Margolin barmar at alum.mit.edu
Tue Nov 15 01:21:28 UTC 2005


In article <dlb28o$13n9$1 at sf1.isc.org>,
 "news" <support at dansketelecom.com> wrote:

> Hi there
> 
> I'm currently looking for an easy way to generate forward lookup (name to 
> IP) for a large number of IP blocks (a few /20).
> 
> I know how to autogenerate reverse lookup by using $ORIGIN and $GENERATE, 
> but is it possible to the the same for forward zones?

$GENERATE works the same way in forward zones as it does in reverse 
zones.

> 
> Eg:
> 
> 4.3.2.1.dhcp.domain.com => 1.2.3.4.
> 
> Please provide an example

$GENERATE 1-254 $.3.2.1.dhcp.domain.com. IN A 1.2.3.$

-- 
Barry Margolin, barmar at alum.mit.edu
Arlington, MA
*** PLEASE post questions in newsgroups, not directly to me ***



More information about the bind-users mailing list