Lines Matching refs:salt
2343 echo "I:check that 'rndc signing -nsec3param' works with salt ($n)"
2348 salt=`$DIG $DIGOPTS +nodnssec +short nsec3param inline.example. @10.53.0.3 | awk '{print $4}'`
2349 if [ "$salt" = "FFFF" ]; then
2355 [ "$salt" = "FFFF" ] || ret=1
2360 echo "I:check that 'rndc signing -nsec3param' works without salt ($n)"
2365 salt=`$DIG $DIGOPTS +nodnssec +short nsec3param inline.example. @10.53.0.3 | awk '{print $4}'`
2366 if [ "$salt" = "-" ]; then
2372 [ "$salt" = "-" ] || ret=1
2377 echo "I:check that 'rndc signing -nsec3param' works with 'auto' as salt ($n)"
2382 salt=`$DIG $DIGOPTS +nodnssec +short nsec3param inline.example. @10.53.0.3 | awk '{print $4}'`
2383 [ -n "$salt" -a "$salt" != "-" ] && break
2387 [ "$salt" != "-" ] || ret=1
2388 [ `expr "${salt}" : ".*"` -eq 16 ] || ret=1
2393 echo "I:check that 'rndc signing -nsec3param' with 'auto' as salt again generates a different salt ($n)"
2395 oldsalt=$salt
2399 salt=`$DIG $DIGOPTS +nodnssec +short nsec3param inline.example. @10.53.0.3 | awk '{print $4}'`
2400 [ -n "$salt" -a "$salt" != "$oldsalt" ] && break
2404 [ "$salt" != "$oldsalt" ] || ret=1
2405 [ `expr "$salt" : ".*"` -eq 16 ] || ret=1