public PTRRecord(DomainName target, DnsRecordId id, DomainName name, DomainId parentDomainId, TimeToLive timeToLive, RecordSource recordSource = default, GlobalTrafficDirectorLocation?globalTrafficDirectorLocation = null) : base(id, name, parentDomainId, timeToLive, recordSource, globalTrafficDirectorLocation) { Target = target; }
private protected abstract DnsRecord UpdateFromCache(DomainName newName, DomainName parentDomainName);
internal PTRRecord(DnsRecordId id, DomainName name, RecordSource source, DomainId sourceId, TimeToLive ttl, GlobalTrafficDirectorLocation?gtdLocation, string value) : base(id, name, source, sourceId, ttl, gtdLocation) { Target = DomainName.Parse(value); TargetWasRooted = value.EndsWith(".", StringComparison.OrdinalIgnoreCase); }