Skip to content

Commit

Permalink
use same dns server
Browse files Browse the repository at this point in the history
  • Loading branch information
bradh352 committed Dec 15, 2024
1 parent 88bdd6a commit 328037d
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/scripts/qnx_tests.sh
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,9 @@ echo " * arestest suite"
./arestest www.google.com --gtest_filter="-*LiveSearchTXT*:*LiveSearchANY*:*ServiceName*"
echo ""

echo " * Changing DNS Configuration and rerunning adig and ahost"

setconf resolve nameserver_1.1.1.1
nsip=`grep ^nameserver /etc/resolv.conf | head -n 1 | cut -d ' ' -f 2`
echo " * Changing DNS Configuration to use confstr(resolve, ${nsip}) and rerunning adig and ahost"
setconf resolve nameserver_${nsip}
rm -f /etc/resolv.conf

echo ""
Expand Down

0 comments on commit 328037d

Please sign in to comment.