Fw: bind 8.2.2 and $GENERATE

Alexander Ottl aottl at mpmail.net
Tue Jan 9 01:36:18 UTC 2001


"Marco C. Coelho" wrote:
> 
> Below is a section of my domain record.  I want to use the $GENERATE
> function to generate both the forward and reverse look-ups for my dial up
> and wireless customers.  I am not getting any errors in my Messages file;
> however, nslookup does not provide an address for the ppp customer.
> 
> I'm running bind 8.2.2 on a x86 Linux box running RH 6.1
> 
> What am I doing wrong???
> 
> $ORIGIN argontech.net.
> localhost       IN      A       127.0.0.1
> ns2             IN      A       208.244.56.3
>                 IN      MX      10 mail.argontech.net.
> www             IN      A       208.244.56.2
> ns1             IN      A       208.244.56.2
>                 IN      MX      10 mail.argontech.net.
> 
> <<< snip >>>
> 
> $GENERATE 112-254    gvl-ppp$.       A       208.244.56.$
> $GENERATE 1-254      gvla1-ppp$.     A       208.244.57.$
> $GENERATE 10-254     ws1-ppp$.       A       63.82.102.$
> $GENERATE 10-254     ws1a-ppp$.      A       63.82.103.$
> 
> > <><><><><><><><><><><><><><><><><><><><><>
> > Marco C. Coelho
> > Argon Technologies
> > Texas' Best Internet Provider
> > 6701 Interstate 30 West
> > Greenville, Texas, 75402
> > 903-455-5036
> > http://www.argontech.net
> >
> >
> >

There is a dot after the $ sign in the LHS of the GENERATE expression.
You should omit the dot then the current origin will automatically be
appended. Or use fully qualified names like "gvl-ppp$.argontech.net."
(with the trailing dot)
Can't understand why there are no errors like data outside zone in your
log file.

-- 
Alexander Ottl
Media Professionals AG           Tel.: +49 (89) 51554-169
Bayerstrasse 21                  Fax : +49 (89) 51554-199
D-80335 Muenchen - Germany       http://www.media-professionals.de



More information about the bind-users mailing list