
com.kendamasoft.dns.records.NSRecord Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of dns-client Show documentation
Show all versions of dns-client Show documentation
Compact DNS client library intended primary for network utilities and testing applications
package com.kendamasoft.dns.records;
import com.kendamasoft.dns.Buffer;
import com.kendamasoft.dns.Record;
/**
* Name server record
*/
public class NSRecord extends Record {
String name;
@Override
public void parseData(short dataLength, Buffer buffer) {
name = buffer.readString();
}
public String getName() {
return name;
}
@Override
public String toString() {
return "NS " + name;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy