Changes

Jump to: navigation, search

OPS335 A2 Summer 2015 Tips

70 bytes removed, 10:07, 31 July 2015
How to test your secondary DNS ?
= How to test your secondary DNS ?=
<pre>
nslookup -querytest_item=A scs.senecac.on.ca pri_dns_server=142.204.33.53 | grep -v sec_dns_server=142.204.33.53 | grep Address | awk '{print $2}'54142.204.140.179PRI_ANS=$(nslookup -query=A scs.senecac.on.ca 142.204.33.53 $test_item $pri_dns | grep -v 142.204.33.53 $pri_dns | grep Address | awk '{print $2}') 
#echo $PRI_ANS
#142.204.140.179
SEC_ANS=$(nslookup -query=A scs.senecac.on.ca 142.204.33.54 $test_item $sec_dns | grep -v 142.204.33.54 $sec_dns | grep Address | awk '{print $2}')
#echo $PRI_ANS
#142.204.140.179
1,760
edits

Navigation menu