aboutsummaryrefslogtreecommitdiff
path: root/src/org/xbill/DNS/NSIDOption.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/org/xbill/DNS/NSIDOption.java')
-rw-r--r--src/org/xbill/DNS/NSIDOption.java29
1 files changed, 29 insertions, 0 deletions
diff --git a/src/org/xbill/DNS/NSIDOption.java b/src/org/xbill/DNS/NSIDOption.java
new file mode 100644
index 0000000..7bcbcd5
--- /dev/null
+++ b/src/org/xbill/DNS/NSIDOption.java
@@ -0,0 +1,29 @@
+// Copyright (c) 1999-2004 Brian Wellington (bwelling@xbill.org)
+
+package org.xbill.DNS;
+
+/**
+ * The Name Server Identifier Option, define in RFC 5001.
+ *
+ * @see OPTRecord
+ *
+ * @author Brian Wellington
+ */
+public class NSIDOption extends GenericEDNSOption {
+
+private static final long serialVersionUID = 74739759292589056L;
+
+NSIDOption() {
+ super(EDNSOption.Code.NSID);
+}
+
+/**
+ * Construct an NSID option.
+ * @param data The contents of the option.
+ */
+public
+NSIDOption(byte [] data) {
+ super(EDNSOption.Code.NSID, data);
+}
+
+}