Пример #1
0
 public ResourceRecord Visit(NsResourceRecord record, DnsZoneParseContext context)
 {
     record.NameServer = context.ReadAndResolveDomainName();
     return(record);
 }
Пример #2
0
 public ResourceRecord Visit(NsResourceRecord record, DnsZoneFormatterContext context)
 {
     context.WriteAndCompressDomainName(record.NameServer);
     return(record);
 }