diff --git a/Source/StrongGrid.IntegrationTests/Tests/SenderAuthentication.cs b/Source/StrongGrid.IntegrationTests/Tests/SenderAuthentication.cs
index 8ced0528..18bff9a8 100644
--- a/Source/StrongGrid.IntegrationTests/Tests/SenderAuthentication.cs
+++ b/Source/StrongGrid.IntegrationTests/Tests/SenderAuthentication.cs
@@ -44,7 +44,7 @@ public async Task RunAsync(IBaseClient client, TextWriter log, CancellationToken
await log.WriteLineAsync("\n***** SENDER AUTHENTICATION: Reverse DNS *****").ConfigureAwait(false);
var reverseDnsRecords = await client.SenderAuthentication.GetAllReverseDnsAsync(null, 50, 0, null, cancellationToken).ConfigureAwait(false);
- await log.WriteLineAsync($"All AuthenticatedSender reverse DNS retrieved. There are {reverseDnsRecords.Length} records").ConfigureAwait(false);
+ await log.WriteLineAsync($"All AuthenticatedSender reverse DNS retrieved. There are {reverseDnsRecords.Records.Length} records").ConfigureAwait(false);
await log.WriteLineAsync("\n***** SENDER AUTHENTICATION: LINKS *****").ConfigureAwait(false);
diff --git a/Source/StrongGrid/Resources/ISenderAuthentication.cs b/Source/StrongGrid/Resources/ISenderAuthentication.cs
index 28ef1a63..b270a811 100644
--- a/Source/StrongGrid/Resources/ISenderAuthentication.cs
+++ b/Source/StrongGrid/Resources/ISenderAuthentication.cs
@@ -166,9 +166,9 @@ public interface ISenderAuthentication
/// The user to impersonate.
/// Cancellation token.
///
- /// An array of .
+ /// The .
///
- Task GetAllReverseDnsAsync(string segmentPrefix = null, int limit = 50, int offset = 0, string onBehalfOf = null, CancellationToken cancellationToken = default);
+ Task> GetAllReverseDnsAsync(string segmentPrefix = null, int limit = 50, int offset = 0, string onBehalfOf = null, CancellationToken cancellationToken = default);
///
/// Get a specific reverse DNS.
diff --git a/Source/StrongGrid/Resources/SenderAuthentication.cs b/Source/StrongGrid/Resources/SenderAuthentication.cs
index f912de12..fc5a4830 100644
--- a/Source/StrongGrid/Resources/SenderAuthentication.cs
+++ b/Source/StrongGrid/Resources/SenderAuthentication.cs
@@ -293,9 +293,9 @@ public Task AssociateDomainAsync(long domainId, string user
/// The user to impersonate.
/// Cancellation token.
///
- /// An array of .
+ /// The .
///
- public Task GetAllReverseDnsAsync(string segmentPrefix = null, int limit = 50, int offset = 0, string onBehalfOf = null, CancellationToken cancellationToken = default)
+ public Task> GetAllReverseDnsAsync(string segmentPrefix = null, int limit = 50, int offset = 0, string onBehalfOf = null, CancellationToken cancellationToken = default)
{
return _client
.GetAsync($"{_endpoint}/ips")
@@ -304,7 +304,7 @@ public Task GetAllReverseDnsAsync(string segmentPrefix = null, int
.WithArgument("offset", offset)
.WithArgument("ip", segmentPrefix)
.WithCancellationToken(cancellationToken)
- .AsObject();
+ .AsPaginatedResponseWithLinks();
}
///