Class DnsDestinationResolverOptions
Options for Yarp.ReverseProxy.ServiceDiscovery.DnsDestinationResolver.
Inheritance
System.Object
DnsDestinationResolverOptions
Namespace: Yarp.ReverseProxy.ServiceDiscovery
Assembly: Yarp.ReverseProxy.dll
Syntax
public class DnsDestinationResolverOptions : object
Properties
| Improve this Doc View SourceAddressFamily
The optional address family to query for.
Use
Declaration
public AddressFamily? AddressFamily { get; set; }
Property Value
Type | Description |
---|---|
System.Nullable<AddressFamily> |
Remarks
Defaults to null (any address).
RefreshPeriod
The period between requesting a refresh of a resolved name.
Declaration
public TimeSpan? RefreshPeriod { get; set; }
Property Value
Type | Description |
---|---|
System.Nullable<TimeSpan> |
Remarks
Defaults to 5 minutes.