<html>
<head>
<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>
</head>
<body 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>
</body>
</html>