Skip to content

Commit ef9f58e

Browse files
committed
DNS response code 7 means lookup failed to return an IP address
1 parent 84dacef commit ef9f58e

File tree

4 files changed

+6
-2
lines changed

4 files changed

+6
-2
lines changed

Diff for: dev/com.ibm.ws.sipcontainer/src/com/ibm/ws/sip/channel/resolver/dns/impl/chfw/Dns.java

+1
Original file line numberDiff line numberDiff line change
@@ -82,6 +82,7 @@ public final class Dns {
8282
public static final int NOT_IMPL = 4;
8383
public static final int REFUSED = 5;
8484
public static final int TRY_TCP = 6;
85+
public static final int XRRSET = 7;
8586
public static final int NOT_AUTH = 8;
8687
public static final int NOT_ZONE = 9;
8788

Diff for: dev/com.ibm.ws.sipcontainer/src/com/ibm/ws/sip/channel/resolver/dns/impl/netty/Dns.java

+1
Original file line numberDiff line numberDiff line change
@@ -79,6 +79,7 @@ public final class Dns {
7979
public static final int NOT_IMPL = 4;
8080
public static final int REFUSED = 5;
8181
public static final int TRY_TCP = 6;
82+
public static final int XRRSET = 7;
8283
public static final int NOT_AUTH = 8;
8384
public static final int NOT_ZONE = 9;
8485

Diff for: dev/com.ibm.ws.sipcontainer/src/com/ibm/ws/sip/channel/resolver/impl/chfw/SipResolver.java

+2-1
Original file line numberDiff line numberDiff line change
@@ -474,7 +474,8 @@ public void responseReceived(WsByteBuffer byteBuffer) {
474474
case Dns.FORM_ERROR:
475475
case Dns.NOT_IMPL:
476476
case Dns.REFUSED:
477-
case Dns.NOT_AUTH:
477+
case Dns.XRRSET:
478+
case Dns.NOT_AUTH:
478479
case Dns.NOT_ZONE:
479480
event = new SipResolverEvent();
480481

Diff for: dev/com.ibm.ws.sipcontainer/src/com/ibm/ws/sip/channel/resolver/impl/netty/SipResolver.java

+2-1
Original file line numberDiff line numberDiff line change
@@ -517,7 +517,8 @@ public void responseReceived(ByteBuf byteBuffer) {
517517
case Dns.FORM_ERROR:
518518
case Dns.NOT_IMPL:
519519
case Dns.REFUSED:
520-
case Dns.NOT_AUTH:
520+
case Dns.XRRSET:
521+
case Dns.NOT_AUTH:
521522
case Dns.NOT_ZONE:
522523
event = new SipResolverEvent();
523524

0 commit comments

Comments
 (0)