GENERATE Command

Mark_Andrews at isc.org Mark_Andrews at isc.org
Wed Jan 29 22:46:03 UTC 2003


> 
> "Peter Peters" <P.G.M.Peters at civ.utwente.nl> wrote in message
> news:b190ra$2a93$1 at isrv4.isc.org...
> >
> >
> > I am also using $GENERATE to have blocklists.
> >
> > But I have problems with TXT-records. I would want to include the
> > specific reason for the block. I have
> >
> > |$ORIGIN 158.90.24.blocked.utwente.nl.
> > |$GENERATE 1-254 $ TXT "Attempt to abuse our formmail script on Jan 29,
> 2003."
> > |$GENERATE 1-254 $ A 127.0.0.1
> > |
> > |; Laat de volgende regel altijd staan.
> > |$ORIGIN blocked.utwente.nl.
> >
> > When I load this zone I get a syntax error on the TXT-line. Perhaps I am
> > overlooking someting, but I don't see it.
> 
> >From ARM
> type At present the only supported types are PTR, CNAME, DNAME, A, AAAA and
> NS.
> 
> 
> You could do the same thing with:
> *.158.90.24.blocked.utwente.nl. A 127.0.0.1
>       TXT "Attempt to abuse our formmail script on Jan 29, 2003."

	It wouldn't have the desired effect.
	
	For BIND 9, see lib/dns/master.c:generate() 
	For BIND 8, see bin/named/db_load.c

	Mark
--
Mark Andrews, Internet Software Consortium
1 Seymour St., Dundas Valley, NSW 2117, Australia
PHONE: +61 2 9871 4742                 INTERNET: Mark.Andrews at isc.org


More information about the bind-users mailing list