<html><head></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; color: rgb(0, 0, 0); font-size: 14px; font-family: Calibri, sans-serif;"><div>SERVFAIL:   create a delegation NS record in your zone to a server that isn't authoritative for the zone being delegated.</div><div>REFUSED:  create an ACL that matches (and denies) the query being done</div><div>NOERROR w/ no RR:   query for  example.com AAAA</div><div><br></div><div>As for NOTIMP, I'm not aware of an easy path, but I'm sure that someone here knows.</div><div><br></div><div>AlanC</div><div><br></div><span id="OLK_SRC_BODY_SECTION"><div><div>On 6/28/16, 2:07 AM, "bind-users on behalf of Harshith Mulky" <<a href="mailto:bind-users-bounces@lists.isc.org">bind-users-bounces@lists.isc.org</a> on behalf of <a href="mailto:harshith.mulky@outlook.com">harshith.mulky@outlook.com</a>> wrote:</div></div><div><br></div><blockquote id="MAC_OUTLOOK_ATTRIBUTION_BLOCKQUOTE" style="BORDER-LEFT: #b5c4df 5 solid; PADDING:0 0 0 5; MARGIN:0 0 0 5;"><div><meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"><style type="text/css" style="display:none;"><!-- P {margin-top:0;margin-bottom:0;} --></style><div dir="ltr"><div id="divtagdefaultwrapper" style="font-size:12pt;color:#000000;background-color:#FFFFFF;font-family:Calibri,Arial,Helvetica,sans-serif;"><p>Hello Experts,<br></p><p><br></p><p>As a tester who is testing a client(lwres) developed on same bind stack.</p><p>I would want to generate scenarios and test how the client responds when the bind server responds with negative Responses</p><p><br></p><p>I was able to test Negative response like NXDOMAIN as it was straight forward where a record is not present in particular Domain file</p><p><br></p><p>I would want to test a scenario where bind Server responds with the following Response Codes</p><p><br></p><p>1. SERVFAIL</p><p>2. REFUSED</p><p>3. Receiving NOERROR, but no RR in response</p><p>4.<strong> </strong>NOTIMP</p><p><br></p><p>If I have a basic Zone file like this, Can I be able to test the above 4 scenarios</p><p><br></p><p><br></p><table style="border-collapse:collapse; border: 1px solid rgb(198, 198, 198);" class="ms-rteTable-default" role="table" cellspacing="0" width="100%"><tbody><tr><td style="border-collapse: collapse; border: 1px solid rgb(198, 198, 198); width: 100%;" class="ms-rteTable-default"><div>$ORIGIN example.com.<br>
$TTL 600<br>
@  IN      SOA     atlanta.example.com. admin.example.com.  (<br>
                                      2003022720 ; Serial<br>
                                      56800      ; Refresh<br>
                                      14400      ; Retry<br>
                                      3600000    ; Expire<br>
                                      2h )    ; Minimum<br><br>
              IN      NS      atlanta.example.com.<br><br><br>
atlanta.example.com.  IN A    10.54.48.68<br><br>
; zone ims.blueslice.com direct  - for some phones<br>
;srvtesting.com.   IN A    10.128.254.115<br>
;example.com.   IN A    10.54.25.75<br><br>
;;                 order preference flags service regexp replacement.<br>
;        IN NAPTR   22   34   "u"        "SIP+D2U"       ""      _sip._udp.test1.com.<br>
        IN NAPTR   22   32   "u"        "SIP+D2U"       ""      _sip._udp.example.com.<br>
        IN NAPTR   22   32   "u"        "SIP+D2T"       ""      _sip._tcp.example.com.<br>
;        IN NAPTR   45   56   "u"        "SIP+D2T"       ""      _sip._tcp.srvtesting.com.<br>
;        IN NAPTR   45   56   "u"        "SIP+D2S"       ""      _sip._sctp.srvtesting.com.<br><br>
; SRV records for each sip service<br>
; service.prot.name   ttl class rr     pri weight port target<br>
;_sip._udp               IN  SRV      3        2      7700 denver.example.com.<br>
_sip._udp               IN  SRV       0        40      7701 denver1.example.com.<br>
_sip._tcp               IN  SRV       0        40      7701 denver1.example.com.<br>
_sip._udp               IN  SRV       0        10      7702 denver2.example.com.<br>
_sip._udp               IN  SRV       1        10      7703 denver3.example.com.<br>
_sip._udp               IN  SRV       2        10      7704 denver4.example.com.<br>
_sip._tcp               IN  SRV      1        1      0     icscf52.srvtesting.com.<br>
_sip._sctp              IN  SRV      1        1      12215 icscf71.srvtesting.com.<br><br><br>
denver1.example.com.  IN A    10.54.80.150<br>
denver1.example.com.  IN A    10.54.80.17<br>
denver2.example.com.  IN A    10.54.80.150<br>
  IN A    10.54.80.35<br>
;denver3.example.com.  IN AAAA   fd00:10:6b50:4500::88<br>
;denver2.example.com.  IN AAAA   fd00:10:6b50:4500::21<br>
;denver2.example.com.  IN AAAA   fd00:10:6b50:4500::22<br>
example.com.  IN A   10.54.80.150<br>
example.com.  IN AAAA   fd00:10:6b50:4500::88<br>
denver1.example.com.  IN AAAA   fd00:10:6b50:4500::88</div><br></td></tr></tbody></table><br><p>Thanks</p><p>Harshith<br></p></div></div></div>
_______________________________________________
Please visit <a href="https://lists.isc.org/mailman/listinfo/bind-users">https://lists.isc.org/mailman/listinfo/bind-users</a> to unsubscribe from this list

bind-users mailing list
<a href="mailto:bind-users@lists.isc.org">bind-users@lists.isc.org</a>
<a href="https://lists.isc.org/mailman/listinfo/bind-users">https://lists.isc.org/mailman/listinfo/bind-users</a></blockquote></span></body></html>