public class NameServers extends WhoisComponent
A name server is a computer server that hosts a network service for providing responses to queries against a directory service. It maps a human-recognizable identifier to a system-internal, often numeric identification or addressing component. This service is performed by the server in response to a network service protocol request. An example of a name server is the server component of the Domain Name System (DNS), one of the two principal name spaces of the Internet. The most important function of these DNS servers is the translation (resolution) of human-memorable domain names and hostnames into the corresponding numeric Internet Protocol (IP) addresses, the second principal name space of the Internet which is used to identify and locate computer systems and resources on the Internet.
<xsd:element name="nameServers"> <xsd:complexType> <xsd:sequence> <xsd:element name="rawText" type="xsd:string"/> <xsd:element name="hostNames"> <xsd:complexType> <xsd:sequence> <xsd:element maxOccurs="unbounded" name="Address" type="xsd:string"/> </xsd:sequence> <xsd:attribute name="class" type="xsd:string"/> </xsd:complexType> </xsd:element> <xsd:element name="ips"> <xsd:complexType> <xsd:sequence> <xsd:element maxOccurs="unbounded" name="Address" type="xsd:string"/> </xsd:sequence> <xsd:attribute name="class" type="xsd:string"/> </xsd:complexType> </xsd:element> </xsd:sequence> </xsd:complexType> </xsd:element>
rawText, unparsable
Constructor and Description |
---|
NameServers() |
Modifier and Type | Method and Description |
---|---|
void |
addIPs(java.util.List<IP> ips) |
void |
addNameServer(IP ip) |
void |
copyToRawText() |
java.util.List<IP> |
getHostNames() |
java.util.List<IP> |
getIps() |
void |
setAdditionalRawText(java.lang.String s) |
void |
setHostNames(java.util.List<IP> hostNames) |
void |
setIps(java.util.List<IP> ips) |
void |
setRawText(java.lang.String rawText) |
getRawText, getUnparsable, setUnparsable
public void setRawText(java.lang.String rawText)
setRawText
in class WhoisComponent
public void setAdditionalRawText(java.lang.String s)
public void addIPs(java.util.List<IP> ips)
public void addNameServer(IP ip)
public java.util.List<IP> getHostNames()
public void setHostNames(java.util.List<IP> hostNames)
public java.util.List<IP> getIps()
public void setIps(java.util.List<IP> ips)
public void copyToRawText()