[dns-operations] is there a diagnostic tool to obtain delegated ns?

Mark Andrews marka at isc.org
Fri Sep 12 09:48:18 UTC 2014


In message <20140912074519.GB11636 at nic.fr>, Stephane Bortzmeyer writes:
> On Fri, Sep 12, 2014 at 12:13:00PM +1000,
>  Mark Andrews <marka at isc.org> 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: marka at isc.org



More information about the dns-operations mailing list