@@ -110,7 +110,11 @@ public static void setDefaultResolver(String hostname) {
110110 defaultResolver = new InetSocketAddress (hostname , DEFAULT_PORT );
111111 }
112112
113- /** Gets the port to communicate with on the server */
113+ /**
114+ * Gets the port to communicate with on the server
115+ *
116+ * @since 3.2
117+ */
114118 public int getPort () {
115119 return address .getPort ();
116120 }
@@ -156,7 +160,11 @@ public void setLocalAddress(InetAddress addr) {
156160 localAddress = new InetSocketAddress (addr , 0 );
157161 }
158162
159- /** Gets whether TCP connections will be used by default */
163+ /**
164+ * Gets whether TCP connections will be used by default
165+ *
166+ * @since 3.2
167+ */
160168 public boolean getTCP () {
161169 return useTCP ;
162170 }
@@ -166,7 +174,11 @@ public void setTCP(boolean flag) {
166174 this .useTCP = flag ;
167175 }
168176
169- /** Gets whether truncated responses will be ignored. */
177+ /**
178+ * Gets whether truncated responses will be ignored.
179+ *
180+ * @since 3.2
181+ */
170182 public boolean getIgnoreTruncation () {
171183 return ignoreTruncation ;
172184 }
@@ -180,6 +192,7 @@ public void setIgnoreTruncation(boolean flag) {
180192 * Gets the EDNS information on outgoing messages.
181193 *
182194 * @return The current {@link OPTRecord} for EDNS or {@code null} if EDNS is disabled.
195+ * @since 3.2
183196 */
184197 public OPTRecord getEDNS () {
185198 return queryOPT ;
@@ -190,6 +203,7 @@ public OPTRecord getEDNS() {
190203 *
191204 * @param optRecord the {@link OPTRecord} for EDNS options or null to disable EDNS.
192205 * @see #setEDNS(int, int, int, List)
206+ * @since 3.2
193207 */
194208 public void setEDNS (OPTRecord optRecord ) {
195209 queryOPT = optRecord ;
@@ -218,6 +232,7 @@ public void setEDNS(int version, int payloadSize, int flags, List<EDNSOption> op
218232 * Get the TSIG key that messages will be signed with.
219233 *
220234 * @return the TSIG signature for outgoing messages or {@code null} if not specified.
235+ * @since 3.2
221236 */
222237 public TSIG getTSIGKey () {
223238 return tsig ;
0 commit comments