aboutsummaryrefslogtreecommitdiff
path: root/testdata/fwd_ttlexpire.tdir/fwd_ttlexpire.test
diff options
context:
space:
mode:
Diffstat (limited to 'testdata/fwd_ttlexpire.tdir/fwd_ttlexpire.test')
-rw-r--r--testdata/fwd_ttlexpire.tdir/fwd_ttlexpire.test4
1 files changed, 2 insertions, 2 deletions
diff --git a/testdata/fwd_ttlexpire.tdir/fwd_ttlexpire.test b/testdata/fwd_ttlexpire.tdir/fwd_ttlexpire.test
index 41ea3953ccb6..13a83e617c4c 100644
--- a/testdata/fwd_ttlexpire.tdir/fwd_ttlexpire.test
+++ b/testdata/fwd_ttlexpire.tdir/fwd_ttlexpire.test
@@ -7,7 +7,7 @@
PRE="../.."
# do the test
echo "> dig www.example.com."
-dig @localhost -p $UNBOUND_PORT www.example.com. | tee outfile
+dig @127.0.0.1 -p $UNBOUND_PORT www.example.com. | tee outfile
echo "> check answer"
if grep "10.20.30.40" outfile; then
echo "OK"
@@ -20,7 +20,7 @@ sleep 4
# query again
rm outfile
echo "> dig www.example.com."
-dig @localhost -p $UNBOUND_PORT www.example.com. | tee outfile
+dig @127.0.0.1 -p $UNBOUND_PORT www.example.com. | tee outfile
echo "> check answer"
if grep "10.20.30.40" outfile; then
echo "OK"