diff --git a/msg_helpers.go b/msg_helpers.go index 472ada5d..97c1b5ee 100644 --- a/msg_helpers.go +++ b/msg_helpers.go @@ -462,6 +462,8 @@ func makeDataOpt(code uint16) EDNS0 { return new(EDNS0_PADDING) case EDNS0EDE: return new(EDNS0_EDE) + case EDNS0TCPKEEPALIVE: + return new(EDNS0_TCP_KEEPALIVE) default: e := new(EDNS0_LOCAL) e.Code = code