Searched refs:dig (Results 1 - 25 of 171) sorted by relevance

1234567

/bind-9.11.3/bin/tests/system/integrity/
H A Dclean.sh9 rm -f dig.out.test*
/bind-9.11.3/bin/tests/system/rrsetorder/
H A Dclean.sh11 rm -f dig.out.test*
12 rm -f dig.out.cyclic dig.out.fixed dig.out.random
13 rm -f dig.out.0 dig.out.1 dig.out.2 dig.out.3
14 rm -f dig.out.cyclic2
H A Dtests.sh32 $DIGCMD @10.53.0.1 fixed.example > dig.out.fixed || ret=1
33 $DIFF dig.out.fixed dig.out.fixed.good >/dev/null || ret=1
44 $DIGCMD @10.53.0.1 fixed.example > dig.out.fixed || ret=1
46 cp dig.out.fixed dig.out.$j
48 $DIFF dig.out.fixed dig.out.$j >/dev/null && matches=`expr $matches + 1`
51 $DIFF dig.out.0 dig
[all...]
/bind-9.11.3/bin/tests/system/names/
H A Dtests.sh17 $DIG $DIGOPTS -b 10.53.0.1 @10.53.0.1 -p 5300 mx example > dig.compen.test
18 COMPEN=`grep ';; MSG SIZE' dig.compen.test |sed -e "s/.*: //g"`
19 cat dig.compen.test |grep -v ';;' |sort > dig.compen.sorted.test
22 $DIG $DIGOPTS -b 10.53.0.2 @10.53.0.1 -p 5300 mx example > dig.compdis.test
23 COMPDIS=`grep ';; MSG SIZE' dig.compdis.test |sed -e "s/.*: //g"`
24 cat dig.compdis.test |grep -v ';;' |sort > dig.compdis.sorted.test
29 diff dig.compdis.sorted.test dig
[all...]
/bind-9.11.3/bin/tests/system/limits/
H A Dtests.sh17 $DIG +tcp +norec 1000.example. @10.53.0.1 a -p 5300 > dig.out.1000 || status=1
18 #dig 1000.example. @10.53.0.1 a -p 5300 > knowngood.dig.out.1000
19 $PERL ../digcomp.pl knowngood.dig.out.1000 dig.out.1000 || status=1
22 $DIG +tcp +norec 2000.example. @10.53.0.1 a -p 5300 > dig.out.2000 || status=1
23 #dig 2000.example. @10.53.0.1 a -p 5300 > knowngood.dig.out.2000
24 $PERL ../digcomp.pl knowngood.dig.out.2000 dig
[all...]
/bind-9.11.3/lib/samples/
H A Drootkey.sh18 dig +noall +answer dnskey . | perl -n -e '
/bind-9.11.3/bin/tests/system/glue/
H A Dtests.sh21 $DIG +norec @10.53.0.1 -p 5300 foo.bar.fi. A >dig.out || status=1
22 $PERL ../digcomp.pl --lc fi.good dig.out || status=1
25 $DIG +norec @10.53.0.1 -p 5300 foo.bar.xx. a >dig.out || status=1
26 $PERL ../digcomp.pl xx.good dig.out || status=1
29 $DIG +norec @10.53.0.1 -p 5300 foo.bar.yy. a >dig.out || status=1
30 $PERL ../digcomp.pl yy.good dig.out || status=1
33 $DIG +norec @10.53.0.1 -p 5300 example.net. a > dig.out || status=1
34 $PERL ../digcomp.pl noglue.good dig.out || status=1
/bind-9.11.3/bin/tests/system/ecdsa/
H A Dtests.sh17 rm -f dig.out.*
25 $DIG $DIGOPTS . @10.53.0.1 soa > dig.out.ns1.test$n || ret=1
26 $DIG $DIGOPTS . @10.53.0.2 soa > dig.out.ns2.test$n || ret=1
27 $PERL ../digcomp.pl dig.out.ns1.test$n dig.out.ns2.test$n || ret=1
28 grep "flags:.*ad.*QUERY" dig.out.ns2.test$n > /dev/null || ret=1
/bind-9.11.3/bin/tests/system/gost/
H A Dtests.sh17 rm -f dig.out.*
25 $DIG $DIGOPTS . @10.53.0.1 soa > dig.out.ns1.test$n || ret=1
26 $DIG $DIGOPTS . @10.53.0.2 soa > dig.out.ns2.test$n || ret=1
27 $PERL ../digcomp.pl dig.out.ns1.test$n dig.out.ns2.test$n || ret=1
28 grep "flags:.*ad.*QUERY" dig.out.ns2.test$n > /dev/null || ret=1
/bind-9.11.3/bin/tests/system/dialup/
H A Dtests.sh16 rm -f dig.out.*
22 $DIG $DIGOPTS example. @10.53.0.1 soa > dig.out.ns1.test || ret=1
28 $DIG $DIGOPTS example. @10.53.0.2 soa > dig.out.ns2.test || ret=1
29 if grep SERVFAIL dig.out.ns2.test > /dev/null
34 $PERL ../digcomp.pl dig.out.ns1.test dig.out.ns2.test || ret=1
47 $DIG $DIGOPTS example. @10.53.0.3 soa > dig.out.ns3.test || ret=1
48 if grep SERVFAIL dig.out.ns3.test > /dev/null
53 $PERL ../digcomp.pl dig.out.ns1.test dig
[all...]
/bind-9.11.3/bin/tests/system/legacy/
H A Dtests.sh20 $DIG +edns @10.53.0.2 -p 5300 dropedns soa > dig.out.1.test$n
21 grep "connection timed out; no servers could be reached" dig.out.1.test$n > /dev/null || ret=1
22 $DIG +noedns @10.53.0.2 -p 5300 dropedns soa > dig.out.2.test$n || ret=1
23 grep "status: NOERROR" dig.out.2.test$n > /dev/null || ret=1
24 grep "EDNS: version:" dig.out.2.test$n > /dev/null && ret=1
25 $DIG +noedns +tcp @10.53.0.2 -p 5300 dropedns soa > dig.out.3.test$n || ret=1
26 grep "status: NOERROR" dig.out.3.test$n > /dev/null || ret=1
27 grep "EDNS: version:" dig.out.3.test$n > /dev/null && ret=1
28 $DIG +edns +tcp @10.53.0.2 -p 5300 dropedns soa > dig.out.4.test$n
29 grep "connection timed out; no servers could be reached" dig
[all...]
/bind-9.11.3/bin/tests/system/chain/
H A Dtests.sh18 $DIG a.short-dname.example @10.53.0.2 a -p 5300 > dig.out.ns2.short || ret=1
19 grep "status: NOERROR" dig.out.ns2.short > /dev/null || ret=1
26 $DIG a.short-dname.example @10.53.0.7 a -p 5300 > dig.out.ns4.short || ret=1
27 grep "status: NOERROR" dig.out.ns4.short > /dev/null || ret=1
34 $DIG a.long-dname.example @10.53.0.2 a -p 5300 > dig.out.ns2.long || ret=1
35 grep "status: NOERROR" dig.out.ns2.long > /dev/null || ret=1
42 $DIG a.long-dname.example @10.53.0.7 a -p 5300 > dig.out.ns4.long || ret=1
43 grep "status: NOERROR" dig.out.ns4.long > /dev/null || ret=1
50 $DIG 01234567890123456789012345678901234567890123456789.longlonglonglonglonglonglonglonglonglonglonglonglonglonglong.longlonglonglonglonglonglonglonglonglonglonglonglonglonglong.longlonglonglonglonglonglonglonglonglonglonglonglonglonglong.long-dname.example @10.53.0.2 a -p 5300 > dig.out.ns2.toolong || ret=1
51 grep "status: YXDOMAIN" dig
[all...]
/bind-9.11.3/bin/tests/system/unknown/
H A Dtests.sh22 $DIG +short $DIGOPTS @10.53.0.1 a$i.example a in > dig.out || ret=1
23 echo 10.0.0.1 | $DIFF - dig.out || ret=1
35 $DIG +short $DIGOPTS @10.53.0.1 txt$i.example txt in > dig.out || ret=1
36 echo '"hello"' | $DIFF - dig.out || ret=1
48 $DIG +short $DIGOPTS @10.53.0.1 unk$i.example type123 in > dig.out || ret=1
49 echo '\# 1 00' | $DIFF - dig.out || ret=1
59 $DIG +short $DIGOPTS @10.53.0.1 null.example null in > dig.out || ret=1
60 echo '\# 1 00' | $DIFF - dig.out || ret=1
66 $DIG +short $DIGOPTS @10.53.0.1 empty.example null in > dig.out || ret=1
67 echo '\# 0' | $DIFF - dig
[all...]
/bind-9.11.3/bin/tests/virtual-time/slave/
H A Dtests.sh16 rm -f dig.out.*
22 $DIG $DIGOPTS txt.example. txt @10.53.0.1 > dig.out.before || ret=1
25 $DIG $DIGOPTS txt.example. txt @10.53.0.1 > dig.out.after || ret=1
30 grep "status: NOERROR" dig.out.before > /dev/null || ret=1
35 grep "status: SERVFAIL" dig.out.after > /dev/null || ret=1
/bind-9.11.3/bin/tests/system/dlz/
H A Dtests.sh17 rm -f dig.out.*
26 @10.53.0.1 a > dig.out.ns1.test$n || ret=1
27 grep "status: NOERROR" dig.out.ns1.test$n > /dev/null || ret=1
28 grep "example.com..*DNAME.*example.net." dig.out.ns1.test$n > /dev/null || ret=1
29 grep "foo.example.com..*CNAME.*foo.example.net." dig.out.ns1.test$n > /dev/null || ret=1
30 grep "flags:[^;]* aa[ ;]" dig.out.ns1.test$n > /dev/null || ret=1
37 $DIG $DIGOPTS ixfr=2010062899 example.com @10.53.0.1 +all > dig.out.ns1.test$n
38 grep "example.com..*IN.IXFR" dig.out.ns1.test$n > /dev/null || ret=1
39 grep "example.com..*10.IN.DNAME.example.net." dig.out.ns1.test$n > /dev/null || ret=1
40 grep "example.com..*10.IN.NS.example.com." dig
[all...]
/bind-9.11.3/bin/tests/system/ednscompliance/
H A Dtests.sh19 $DIG -p 5300 @10.53.0.1 +qr +norec +edns=100 soa $zone > dig.out$n
20 grep "EDNS: version: 100," dig.out$n > /dev/null || { ret=1; reason="version"; }
27 $DIG -p 5300 @10.53.0.1 +qr +norec +ednsopt=100 soa $zone > dig.out$n
28 grep "; OPT=100" dig.out$n > /dev/null || { ret=1; reason="option"; }
35 $DIG -p 5300 @10.53.0.1 +qr +norec +ednsflags=0x80 soa $zone > dig.out$n
36 grep "MBZ: 0x0080," dig.out$n > /dev/null || { ret=1; reason="flags"; }
43 $DIG -p 5300 @10.53.0.1 +norec +edns=100 +noednsnegotiation soa $zone > dig.out$n
44 grep "status: BADVERS," dig.out$n > /dev/null || { ret=1; reason="status"; }
45 grep "EDNS: version: 0," dig.out$n > /dev/null || { ret=1; reason="version"; }
46 grep "IN.SOA." dig
[all...]
/bind-9.11.3/bin/tests/system/xferquota/
H A Dtests.sh45 zone000099.example. @10.53.0.1 axfr -p 5300 > dig.out.ns1 || status=1
46 grep ";" dig.out.ns1
49 zone000099.example. @10.53.0.2 axfr -p 5300 > dig.out.ns2 || status=1
50 grep ";" dig.out.ns2
52 $PERL ../digcomp.pl dig.out.ns1 dig.out.ns2 || status=1
57 a.changing. @10.53.0.1 a -p 5300 > dig.out.ns1 || status=1
58 grep ";" dig.out.ns1
61 a.changing. @10.53.0.2 a -p 5300 > dig.out.ns2 || status=1
62 grep ";" dig
[all...]
/bind-9.11.3/bin/tests/system/dsdigest/
H A Dtests.sh16 rm -f dig.out.*
24 $DIG $DIGOPTS a.good. @10.53.0.3 a > dig.out.good || ret=1
25 grep "status: NOERROR" dig.out.good > /dev/null || ret=1
26 grep "flags:[^;]* ad[ ;]" dig.out.good > /dev/null || ret=1
34 $DIG $DIGOPTS a.bad. @10.53.0.3 a > dig.out.bad || ret=1
35 grep "SERVFAIL" dig.out.bad > /dev/null || ret=1
41 $DIG $DIGOPTS bad. @10.53.0.4 ds > dig.out.ds || ret=1
42 grep "NOERROR" dig.out.ds > /dev/null || ret=1
43 grep "flags:[^;]* ad[ ;]" dig.out.ds > /dev/null || ret=1
44 $DIG $DIGOPTS a.bad. @10.53.0.4 a > dig
[all...]
/bind-9.11.3/bin/tests/system/zero/
H A Dtests.sh22 $DIG -p 5300 @10.53.0.3 -f query.list > dig.out$i.1.test$n &
23 $DIG -p 5300 @10.53.0.3 -f query.list > dig.out$i.2.test$n &
24 $DIG -p 5300 @10.53.0.3 -f query.list > dig.out$i.3.test$n &
25 $DIG -p 5300 @10.53.0.3 -f query.list > dig.out$i.4.test$n &
26 $DIG -p 5300 @10.53.0.3 -f query.list > dig.out$i.5.test$n &
27 $DIG -p 5300 @10.53.0.3 -f query.list > dig.out$i.6.test$n &
29 grep "status: SERVFAIL" dig.out$i.1.test$n && ret=1
30 grep "status: SERVFAIL" dig.out$i.2.test$n && ret=1
31 grep "status: SERVFAIL" dig.out$i.3.test$n && ret=1
32 grep "status: SERVFAIL" dig
[all...]
/bind-9.11.3/bin/tests/system/cacheclean/
H A Dclean.sh15 rm -f dig.out.ns2
16 rm -f dig.out.expire
/bind-9.11.3/bin/tests/system/forward/
H A Dtests.sh21 $DIG +noadd +noauth txt.example1. txt @$hidden -p 5300 > dig.out.hidden || ret=1
22 $DIG +noadd +noauth txt.example1. txt @$f1 -p 5300 > dig.out.f1 || ret=1
23 $PERL ../digcomp.pl dig.out.hidden dig.out.f1 || ret=1
29 $DIG +noadd +noauth txt.example2. txt @$root -p 5300 > dig.out.root || ret=1
30 $DIG +noadd +noauth txt.example2. txt @$f1 -p 5300 > dig.out.f1 || ret=1
31 $PERL ../digcomp.pl dig.out.root dig.out.f1 || ret=1
37 $DIG +noadd +noauth txt.example2. txt @$root -p 5300 > dig.out.root || ret=1
38 $DIG +noadd +noauth txt.example2. txt @$f1 -p 5300 > dig
[all...]
/bind-9.11.3/bin/tests/system/wildcard/
H A Dtests.sh17 rm -f dig.out.*
24 $DIG $DIGOPTS a b.wild.nsec +norec @10.53.0.1 > dig.out.ns1.test$n || ret=1
25 grep -i 'a\.wild\.nsec\..*NSEC.*nsec\..*NSEC' dig.out.ns1.test$n > /dev/null || ret=1
32 $DIG $DIGOPTS a b.wild.nsec @10.53.0.2 > dig.out.ns2.test$n || ret=1
33 grep -i 'a\.wild\.nsec\..*NSEC.*nsec\..*NSEC' dig.out.ns2.test$n > /dev/null || ret=1
34 grep -i 'flags:.* ad[ ;]' dig.out.ns2.test$n > /dev/null && ret=1
41 $DIG $DIGOPTS a b.wild.nsec @10.53.0.3 > dig.out.ns3.test$n || ret=1
42 grep -i 'a\.wild\.nsec\..*NSEC.*nsec\..*NSEC' dig.out.ns3.test$n > /dev/null || ret=1
43 grep -i 'flags:.* ad[ ;]' dig.out.ns3.test$n > /dev/null || ret=1
50 $DIG $DIGOPTS +cd a b.wild.nsec @10.53.0.5 > dig
[all...]
/bind-9.11.3/bin/tests/system/ixfr/
H A Dclean.sh17 rm -f dig.out dig.out1 dig.out2 dig.out3
/bind-9.11.3/bin/tests/system/dns64/
H A Dtests.sh17 rm -f dig.out.*
45 $DIG $DIGOPTS aaaa-only.example. @10.53.0.2 -b 10.53.0.2 aaaa > dig.out.ns2.test$n || ret=1
46 grep "status: NOERROR" dig.out.ns2.test$n > /dev/null || ret=1
47 grep "2001::2" dig.out.ns2.test$n > /dev/null || ret=1
54 $DIG $DIGOPTS excluded-only.example. @10.53.0.2 -b 10.53.0.2 aaaa > dig.out.ns2.test$n || ret=1
55 grep "status: NOERROR" dig.out.ns2.test$n > /dev/null || ret=1
56 grep "ANSWER: 0," dig.out.ns2.test$n > /dev/null || ret=1
63 $DIG $DIGOPTS excluded-bad-a.example. @10.53.0.2 -b 10.53.0.2 aaaa > dig.out.ns2.test$n || ret=1
64 grep "status: NOERROR" dig.out.ns2.test$n > /dev/null || ret=1
65 grep "ANSWER: 0," dig
[all...]
/bind-9.11.3/bin/tests/system/redirect/
H A Dtests.sh17 rm -f dig.out.*
43 $DIG $DIGOPTS nonexist. @10.53.0.2 -b 10.53.0.2 a > dig.out.ns2.test$n || ret=1
44 grep "status: NOERROR" dig.out.ns2.test$n > /dev/null || ret=1
45 grep "100.100.100.1" dig.out.ns2.test$n > /dev/null || ret=1
55 $DIG $DIGOPTS nonexist. @10.53.0.2 -b 10.53.0.2 a > dig.out.ns2.test$n || ret=1
66 $DIG $DIGOPTS nonexist. @10.53.0.2 -b 10.53.0.2 aaaa > dig.out.ns2.test$n || ret=1
67 grep "status: NOERROR" dig.out.ns2.test$n > /dev/null || ret=1
68 grep "2001:ffff:ffff::6464:6401" dig.out.ns2.test$n > /dev/null || ret=1
75 $DIG $DIGOPTS nonexist. @10.53.0.2 -b 10.53.0.2 any > dig.out.ns2.test$n || ret=1
76 grep "status: NOERROR" dig
[all...]

Completed in 34 milliseconds

1234567