public PTRResource(Domain Pointer_) { Pointer = Pointer_; }
public MXResource(UInt16 Preference_, Domain Mailserver_) { Preference = Preference_; Mailserver = Mailserver_; }
public NSResource(Domain Nameserver_) { Nameserver = Nameserver_; }
public CNAMEResource(Domain Alias_) { Alias = Alias_; }
/** * Writes a domain name to the output stream, possibly compressing it. */ public void WriteDomain(Domain domain) { WriteBytesNoForward(compress.SerializeDomain(domain)); }