diff options
author | Rene Treffer <treffer@measite.de> | 2014-07-22 23:22:35 +0200 |
---|---|---|
committer | Rene Treffer <treffer@measite.de> | 2014-07-22 23:22:35 +0200 |
commit | 6eda21b4162d8a57c26da5b38595581490fbe2d2 (patch) | |
tree | c19fae655079a684e52a4b15ce5d55a462be19a5 /src/main/java/de/measite/minidns/record/PTR.java | |
parent | bc621bfcfbede74251a29c7ef7513498baa4062d (diff) |
Add PTR record parsing
Diffstat (limited to 'src/main/java/de/measite/minidns/record/PTR.java')
-rw-r--r-- | src/main/java/de/measite/minidns/record/PTR.java | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/src/main/java/de/measite/minidns/record/PTR.java b/src/main/java/de/measite/minidns/record/PTR.java new file mode 100644 index 00000000..6e200655 --- /dev/null +++ b/src/main/java/de/measite/minidns/record/PTR.java @@ -0,0 +1,19 @@ +package de.measite.minidns.record; + +import java.io.DataInputStream; +import java.io.IOException; + +import de.measite.minidns.Record.TYPE; +import de.measite.minidns.util.NameUtil; + +/** + * A PTR record is handled like a CNAME + */ +public class PTR extends CNAME { + + @Override + public TYPE getType() { + return TYPE.PTR; + } + +} |