give the nameserver a little longer to response

This commit is contained in:
Mark Andrews
2014-09-18 10:06:48 +10:00
parent e1cd26e8f9
commit 06e28e50bd

View File

@@ -65,7 +65,7 @@ digcmd () {
# Default to +noauth and @$ns3
# Also default to -bX where X is the @value so that OS X will choose
# the right IP source address.
digcmd_args=`echo "+noadd +time=1 +tries=1 -p 5300 $*" | \
digcmd_args=`echo "+noadd +time=2 +tries=1 -p 5300 $*" | \
sed -e "/@/!s/.*/& @$ns3/" \
-e '/-b/!s/@\([^ ]*\)/@\1 -b\1/' \
-e '/+n?o?auth/!s/.*/+noauth &/'`