In message <[email protected]>, Stephane Bortzmeyer writes:
> On Fri, Sep 12, 2014 at 12:13:00PM +1000,
>  Mark Andrews <[email protected]> wrote 
>  a message of 57 lines which said:
> 
> > The following will work for any zone w/o a embedded period in a
> > label.
> 
> Loops endlessly for names like ssi.gouv.fr
> 
> >         parent=`expr "X$zone" : '^[^.]*.\(.*\)'`
> 
> Should it be parent=`expr "X$parent" : '^[^.]*.\(.*\)'` ?

Yes.  The logic to find a parent isn't hard.

-- 
Mark Andrews, ISC
1 Seymour St., Dundas Valley, NSW 2117, Australia
PHONE: +61 2 9871 4742                 INTERNET: [email protected]
_______________________________________________
dns-operations mailing list
[email protected]
https://lists.dns-oarc.net/mailman/listinfo/dns-operations
dns-jobs mailing list
https://lists.dns-oarc.net/mailman/listinfo/dns-jobs

Reply via email to