Searched refs:mx (Results 1 - 20 of 20) sorted by relevance

/bind-9.11.3/lib/dns/rdata/generic/
H A Dmx_15.h19 dns_name_t mx; member in struct:dns_rdata_mx
H A Dmx_15.c192 dns_rdata_mx_t *mx = source; local
197 REQUIRE(mx->common.rdtype == type);
198 REQUIRE(mx->common.rdclass == rdclass);
203 RETERR(uint16_tobuffer(mx->pref, target));
204 dns_name_toregion(&mx->mx, &region);
211 dns_rdata_mx_t *mx = target; local
218 mx->common.rdclass = rdata->rdclass;
219 mx->common.rdtype = rdata->type;
220 ISC_LINK_INIT(&mx
235 dns_rdata_mx_t *mx = source; local
[all...]
/bind-9.11.3/bin/tests/system/integrity/
H A Dtests.sh15 echo "I:check that 'check-integrity yes; check-mx-cname fail;' works ($n)"
17 $DIG -p 5300 @10.53.0.1 mx mx-cname-fail > dig.out.test$n || ret=1
19 grep "zone mx-cname-fail/IN: mx-cname-fail/MX 'cname.mx-cname-fail' is a CNAME (illegal)" ns1/named.run > /dev/null || ret=1
24 echo "I:check that 'check-integrity yes; check-mx-cname warn;' works ($n)"
26 $DIG -p 5300 @10.53.0.1 mx mx-cname-warn > dig.out.test$n || ret=1
28 grep "zone mx
[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
22 $DIG $DIGOPTS -b 10.53.0.2 @10.53.0.1 -p 5300 mx example > dig.compdis.test
/bind-9.11.3/bin/tests/system/integrity/ns1/
H A Dnamed.conf32 zone "mx-cname-fail" {
35 check-mx-cname fail;
36 file "mx-cname.db";
39 zone "mx-cname-warn" {
42 check-mx-cname warn;
43 file "mx-cname.db";
46 zone "mx-cname-ignore" {
49 check-mx-cname ignore;
50 file "mx-cname.db";
53 zone "no-mx
[all...]
/bind-9.11.3/bin/tests/system/checkconf/
H A Dcheck-mx-cname-fail.conf13 zone "check-mx-cname" {
15 file "check-mx-cname.db";
16 check-mx-cname fail;
H A Dcheck-mx-fail.conf13 zone "check-mx" {
15 file "check-mx.db";
16 check-mx fail;
H A Dtests.sh263 echo "I: check that check-mx fails as configured ($n)"
265 $CHECKCONF -z check-mx-fail.conf > checkconf.out$n 2>&1 && ret=1
267 grep "zone check-mx/IN: loaded serial" < checkconf.out$n > /dev/null && ret=1
281 echo "I: check that check-mx fails as configured ($n)"
283 $CHECKCONF -z check-mx-fail.conf > checkconf.out$n 2>&1 && ret=1
285 grep "zone check-mx/IN: loaded serial" < checkconf.out$n > /dev/null && ret=1
290 echo "I: check that check-mx-cname fails as configured ($n)"
292 $CHECKCONF -z check-mx-cname-fail.conf > checkconf.out$n 2>&1 && ret=1
294 grep "zone check-mx-cname/IN: loaded serial" < checkconf.out$n > /dev/null && ret=1
303 grep "zone check-mx
[all...]
/bind-9.11.3/bin/tests/system/case/
H A Dtests.sh36 $DIG $DIGOPTS mx example. @10.53.0.1 -p 5300 > dig.ns1.test$n
47 $DIG $DIGOPTS mx example. -b 10.53.0.1 @10.53.0.1 -p 5300 > dig.ns1.test$n
52 $DIG $DIGOPTS mx example. -b 10.53.0.2 @10.53.0.2 -p 5300 > dig.ns2.test$n
/bind-9.11.3/bin/tests/system/filter-aaaa/
H A Dtests.sh193 $DIG $DIGOPTS +add +dnssec mx unsigned -b 10.53.0.1 @10.53.0.1 > dig.out.ns1.test$n || ret=1
194 grep "^mx.unsigned.*AAAA" dig.out.ns1.test$n > /dev/null 2>&1 && ret=1
201 $DIG $DIGOPTS +add +dnssec mx signed -b 10.53.0.1 @10.53.0.1 > dig.out.ns1.test$n || ret=1
202 grep "^mx.signed.*AAAA" dig.out.ns1.test$n > /dev/null 2>&1 || ret=1
212 $DIG $DIGOPTS +add +dnssec mx unsigned -b fd92:7065:b8e:ffff::1 @fd92:7065:b8e:ffff::1 > dig.out.ns1.test$n || ret=1
213 grep "^mx.unsigned.*AAAA" dig.out.ns1.test$n > /dev/null 2>&1 || ret=1
366 $DIG $DIGOPTS +add +dnssec mx unsigned -b 10.53.0.4 @10.53.0.4 > dig.out.ns4.test$n || ret=1
367 grep "^mx.unsigned.*AAAA" dig.out.ns4.test$n > /dev/null 2>&1 && ret=1
374 $DIG $DIGOPTS +add +dnssec mx signed -b 10.53.0.4 @10.53.0.4 > dig.out.ns4.test$n || ret=1
375 grep "^mx
[all...]
/bind-9.11.3/bin/tests/system/checknames/
H A Dtests.sh71 $DIG $DIGOPTS mx.ignore.example. @10.53.0.1 MX > dig.out.ns1.test$n || ret=1
72 $DIG $DIGOPTS mx.ignore.example. @10.53.0.3 MX > dig.out.ns3.test$n || ret=1
75 grep "check-names failure mx.ignore.example/MX/IN" ns3/named.run > /dev/null || ret=1
/bind-9.11.3/util/
H A Dcheck-includes.pl77 \n*\Z%mx) {
/bind-9.11.3/bin/tests/system/dns64/
H A Dtests.sh185 $DIG $DIGOPTS mx-only.example. @10.53.0.2 -b 10.53.0.2 aaaa > dig.out.ns2.test$n || ret=1
275 $DIG $DIGOPTS cname-mx-only.example. @10.53.0.2 -b 10.53.0.2 aaaa > dig.out.ns2.test$n || ret=1
278 grep "CNAME mx-only.example." dig.out.ns2.test$n > /dev/null || ret=1
398 $DIG $DIGOPTS mx-only.example. @10.53.0.1 -b 10.53.0.1 aaaa > dig.out.ns2.test$n || ret=1
489 $DIG $DIGOPTS cname-mx-only.example. @10.53.0.1 -b 10.53.0.1 aaaa > dig.out.ns2.test$n || ret=1
492 grep "CNAME mx-only.example." dig.out.ns2.test$n > /dev/null || ret=1
617 $DIG $DIGOPTS +norec mx-only.example. @10.53.0.1 -b 10.53.0.1 aaaa > dig.out.ns2.test$n || ret=1
711 $DIG $DIGOPTS +norec cname-mx-only.example. @10.53.0.1 -b 10.53.0.1 aaaa > dig.out.ns2.test$n || ret=1
714 grep "CNAME mx-only.example." dig.out.ns2.test$n > /dev/null || ret=1
804 $DIG $DIGOPTS mx
[all...]
/bind-9.11.3/bin/tests/system/additional/
H A Dtests.sh281 $DIG -t mx mx.example @10.53.0.1 -p 5300 > dig.out.$n || ret=1
282 grep "mx\.example\..*MX.0 mail\.mx\.example" dig.out.$n > /dev/null || ret=1
283 grep "mail\.mx\.example\..*A.1\.2\.3\.4" dig.out.$n > /dev/null || ret=1
284 grep "_25\._tcp\.mail\.mx\.example\..*TLSA.3 0 1 5B30F9602297D558EB719162C225088184FAA32CA45E1ED15DE58A21 D9FCE383" dig.out.$n > /dev/null || ret=1
/bind-9.11.3/bin/tests/system/masterformat/
H A Dtests.sh84 for name in ns mx a aaaa cname dname txt rrsig nsec \
/bind-9.11.3/bin/named/
H A Dupdate.c1689 * This implements the post load integrity checks for mx records.
1702 dns_rdata_mx_t mx; local
1723 result = dns_rdata_tostruct(&t->rdata, &mx, NULL);
1729 dns_name_format(&mx.mx, namebuf, sizeof(namebuf));
1759 result = dns_db_find(db, &mx.mx, newver, dns_rdatatype_a,
1765 result = dns_db_find(db, &mx.mx, newver,
/bind-9.11.3/bin/tests/system/resolver/
H A Dtests.sh280 $DIG +tcp mx example.net @10.53.0.7 -p 5300 > dig.ns7.out.${n} || ret=1
282 if [ $ret = 1 ]; then echo "I:mx priming failed"; fi
294 $DIG +tcp mx example.net @10.53.0.7 -p 5300 > dig.ns7.out.${n} || ret=3
428 $DIG +tcp +tries=2 +time=5 mx example.net @10.53.0.7 -p 5300 > dig.ns7.out.${n} || ret=2
/bind-9.11.3/bin/tests/system/nsupdate/
H A Dtests.sh694 update add . 0 in mx 0 #
700 update add . 0 in mx 0 #
/bind-9.11.3/bin/tests/system/dnssec/
H A Dtests.sh2667 $DIG +noall +additional +dnssec +cd -p 5300 expiring.example mx @10.53.0.4 > dig.out.ns4.1.$n
2668 $DIG +noall +additional +dnssec -p 5300 expiring.example mx @10.53.0.4 > dig.out.ns4.2.$n
2725 $DIG +noall +additional +dnssec +cd -p 5300 expiring.example mx @10.53.0.4 > dig.out.ns4.1.$n
2726 $DIG +noall +additional +dnssec -p 5300 expiring.example mx @10.53.0.4 > dig.out.ns4.2.$n
2746 $DIG +noall +additional +dnssec +cd -p 5300 expiring.example mx @10.53.0.4 > dig.out.ns4.1.$n
2747 $DIG +noall +additional +dnssec -p 5300 expiring.example mx @10.53.0.4 > dig.out.ns4.2.$n
/bind-9.11.3/lib/dns/
H A Dzone.c3017 dns_rdata_mx_t mx; local
3098 result = dns_rdata_tostruct(&rdata, &mx, NULL);
3100 if (!zone_check_mx(zone, db, &mx.mx, name))

Completed in 130 milliseconds