Class QueryDNSOptions
Namespace: Consul
Assembly: Consul.dll
QueryDNSOptions controls settings when query results are served over DNS.
public class QueryDNSOptions
Inheritance
Inherited Members
object.Equals(object) , object.Equals(object, object) , object.GetHashCode() , object.GetType() , object.MemberwiseClone() , object.ReferenceEquals(object, object) , object.ToString()
Properties
TTL
TTL is the time to live for the served DNS results.
[JsonConverter(typeof(DurationTimespanConverter))]
[JsonProperty(NullValueHandling = NullValueHandling.Ignore)]
public TimeSpan? TTL { get; set; }
Property Value
TimeSpan ?