You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
- The function should return a single record from the records array.
1008
+
- By default a simplified version of Round Robin is used.
1009
+
- The `records` property can be mutated to store the state of the balancing algorithm.
1010
+
1011
+
> The `Dispatcher#options` also gets extended with the options `dns.affinity`, `dns.dualStack`, `dns.lookup` and `dns.pick` which can be used to configure the interceptor at a request-per-request basis.
1012
+
1013
+
1014
+
**DNSInterceptorRecord**
1015
+
It represents a DNS record.
1016
+
-`family` - (`number`) The IP family of the address. It can be either `4` or `6`.
1017
+
-`address` - (`string`) The IP address.
1018
+
1019
+
**DNSInterceptorOriginRecords**
1020
+
It represents a map of DNS IP addresses records for a single origin.
1021
+
-`4.ips` - (`DNSInterceptorRecord[] | null`) The IPv4 addresses.
1022
+
-`6.ips` - (`DNSInterceptorRecord[] | null`) The IPv6 addresses.
0 commit comments