Viewing docs for IonosCloud v0.3.0
published on Wednesday, Apr 15, 2026 by ionos-cloud
published on Wednesday, Apr 15, 2026 by ionos-cloud
Viewing docs for IonosCloud v0.3.0
published on Wednesday, Apr 15, 2026 by ionos-cloud
published on Wednesday, Apr 15, 2026 by ionos-cloud
The DNS Reverse Records can be used to search for and return existing DNS Reverse Records. Multiple matches will be returned.
⚠️ Only tokens are accepted for authorization in the ionoscloud_dns_reverse_records data source. Please ensure you are using tokens as other methods will not be valid.
Example Usage
By name
import * as pulumi from "@pulumi/pulumi";
import * as ionoscloud from "@ionos-cloud/sdk-pulumi";
const example = ionoscloud.getDnsReverseRecords({
name: "recordexample",
});
import pulumi
import pulumi_ionoscloud as ionoscloud
example = ionoscloud.get_dns_reverse_records(name="recordexample")
package main
import (
"github.com/ionos-cloud/pulumi-ionoscloud/sdk/go/ionoscloud"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := ionoscloud.GetDnsReverseRecords(ctx, &ionoscloud.GetDnsReverseRecordsArgs{
Name: pulumi.StringRef("recordexample"),
}, nil)
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Ionoscloud = Ionoscloud.Pulumi.Ionoscloud;
return await Deployment.RunAsync(() =>
{
var example = Ionoscloud.Index.GetDnsReverseRecords.Invoke(new()
{
Name = "recordexample",
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.ionoscloud.IonoscloudFunctions;
import com.pulumi.ionoscloud.inputs.GetDnsReverseRecordsArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
final var example = IonoscloudFunctions.getDnsReverseRecords(GetDnsReverseRecordsArgs.builder()
.name("recordexample")
.build());
}
}
variables:
example:
fn::invoke:
function: ionoscloud:getDnsReverseRecords
arguments:
name: recordexample
Example coming soon!
By name with partial match
import * as pulumi from "@pulumi/pulumi";
import * as ionoscloud from "@ionos-cloud/sdk-pulumi";
const example = ionoscloud.getDnsReverseRecords({
name: "record",
partialMatch: true,
});
import pulumi
import pulumi_ionoscloud as ionoscloud
example = ionoscloud.get_dns_reverse_records(name="record",
partial_match=True)
package main
import (
"github.com/ionos-cloud/pulumi-ionoscloud/sdk/go/ionoscloud"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := ionoscloud.GetDnsReverseRecords(ctx, &ionoscloud.GetDnsReverseRecordsArgs{
Name: pulumi.StringRef("record"),
PartialMatch: pulumi.BoolRef(true),
}, nil)
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Ionoscloud = Ionoscloud.Pulumi.Ionoscloud;
return await Deployment.RunAsync(() =>
{
var example = Ionoscloud.Index.GetDnsReverseRecords.Invoke(new()
{
Name = "record",
PartialMatch = true,
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.ionoscloud.IonoscloudFunctions;
import com.pulumi.ionoscloud.inputs.GetDnsReverseRecordsArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
final var example = IonoscloudFunctions.getDnsReverseRecords(GetDnsReverseRecordsArgs.builder()
.name("record")
.partialMatch(true)
.build());
}
}
variables:
example:
fn::invoke:
function: ionoscloud:getDnsReverseRecords
arguments:
name: record
partialMatch: true
Example coming soon!
By IPs
import * as pulumi from "@pulumi/pulumi";
import * as ionoscloud from "@ionos-cloud/sdk-pulumi";
const example = ionoscloud.getDnsReverseRecords({
ips: [
"exampleIP1",
"exampleIP2",
],
});
import pulumi
import pulumi_ionoscloud as ionoscloud
example = ionoscloud.get_dns_reverse_records(ips=[
"exampleIP1",
"exampleIP2",
])
package main
import (
"github.com/ionos-cloud/pulumi-ionoscloud/sdk/go/ionoscloud"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := ionoscloud.GetDnsReverseRecords(ctx, &ionoscloud.GetDnsReverseRecordsArgs{
Ips: []string{
"exampleIP1",
"exampleIP2",
},
}, nil)
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Ionoscloud = Ionoscloud.Pulumi.Ionoscloud;
return await Deployment.RunAsync(() =>
{
var example = Ionoscloud.Index.GetDnsReverseRecords.Invoke(new()
{
Ips = new[]
{
"exampleIP1",
"exampleIP2",
},
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.ionoscloud.IonoscloudFunctions;
import com.pulumi.ionoscloud.inputs.GetDnsReverseRecordsArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
final var example = IonoscloudFunctions.getDnsReverseRecords(GetDnsReverseRecordsArgs.builder()
.ips(
"exampleIP1",
"exampleIP2")
.build());
}
}
variables:
example:
fn::invoke:
function: ionoscloud:getDnsReverseRecords
arguments:
ips:
- exampleIP1
- exampleIP2
Example coming soon!
Using getDnsReverseRecords
Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.
function getDnsReverseRecords(args: GetDnsReverseRecordsArgs, opts?: InvokeOptions): Promise<GetDnsReverseRecordsResult>
function getDnsReverseRecordsOutput(args: GetDnsReverseRecordsOutputArgs, opts?: InvokeOptions): Output<GetDnsReverseRecordsResult>def get_dns_reverse_records(ips: Optional[Sequence[str]] = None,
name: Optional[str] = None,
partial_match: Optional[bool] = None,
opts: Optional[InvokeOptions] = None) -> GetDnsReverseRecordsResult
def get_dns_reverse_records_output(ips: pulumi.Input[Optional[Sequence[pulumi.Input[str]]]] = None,
name: pulumi.Input[Optional[str]] = None,
partial_match: pulumi.Input[Optional[bool]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetDnsReverseRecordsResult]func GetDnsReverseRecords(ctx *Context, args *GetDnsReverseRecordsArgs, opts ...InvokeOption) (*GetDnsReverseRecordsResult, error)
func GetDnsReverseRecordsOutput(ctx *Context, args *GetDnsReverseRecordsOutputArgs, opts ...InvokeOption) GetDnsReverseRecordsResultOutput> Note: This function is named GetDnsReverseRecords in the Go SDK.
public static class GetDnsReverseRecords
{
public static Task<GetDnsReverseRecordsResult> InvokeAsync(GetDnsReverseRecordsArgs args, InvokeOptions? opts = null)
public static Output<GetDnsReverseRecordsResult> Invoke(GetDnsReverseRecordsInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetDnsReverseRecordsResult> getDnsReverseRecords(GetDnsReverseRecordsArgs args, InvokeOptions options)
public static Output<GetDnsReverseRecordsResult> getDnsReverseRecords(GetDnsReverseRecordsArgs args, InvokeOptions options)
fn::invoke:
function: ionoscloud:index/getDnsReverseRecords:getDnsReverseRecords
arguments:
# arguments dictionarydata "ionoscloud_getdnsreverserecords" "name" {
# arguments
}The following arguments are supported:
- Ips List<string>
- [list of string] The IPs of the DNS Reverse Records you want to search for.
- Name string
- [string] The name of the DNS Reverse Record you want to search for.
- Partial
Match bool - [bool] Whether partial matching is allowed or not when using name argument. Default value is false.
- Ips []string
- [list of string] The IPs of the DNS Reverse Records you want to search for.
- Name string
- [string] The name of the DNS Reverse Record you want to search for.
- Partial
Match bool - [bool] Whether partial matching is allowed or not when using name argument. Default value is false.
- ips list(string)
- [list of string] The IPs of the DNS Reverse Records you want to search for.
- name string
- [string] The name of the DNS Reverse Record you want to search for.
- partial_
match bool - [bool] Whether partial matching is allowed or not when using name argument. Default value is false.
- ips List<String>
- [list of string] The IPs of the DNS Reverse Records you want to search for.
- name String
- [string] The name of the DNS Reverse Record you want to search for.
- partial
Match Boolean - [bool] Whether partial matching is allowed or not when using name argument. Default value is false.
- ips string[]
- [list of string] The IPs of the DNS Reverse Records you want to search for.
- name string
- [string] The name of the DNS Reverse Record you want to search for.
- partial
Match boolean - [bool] Whether partial matching is allowed or not when using name argument. Default value is false.
- ips Sequence[str]
- [list of string] The IPs of the DNS Reverse Records you want to search for.
- name str
- [string] The name of the DNS Reverse Record you want to search for.
- partial_
match bool - [bool] Whether partial matching is allowed or not when using name argument. Default value is false.
- ips List<String>
- [list of string] The IPs of the DNS Reverse Records you want to search for.
- name String
- [string] The name of the DNS Reverse Record you want to search for.
- partial
Match Boolean - [bool] Whether partial matching is allowed or not when using name argument. Default value is false.
getDnsReverseRecords Result
The following output properties are available:
- Id string
- The provider-assigned unique ID for this managed resource.
- Reverse
Records List<Ionoscloud.Get Dns Reverse Records Reverse Record> - list of
- Ips List<string>
- Name string
- The reverse DNS record name.
- Partial
Match bool
- Id string
- The provider-assigned unique ID for this managed resource.
- Reverse
Records []GetDns Reverse Records Reverse Record - list of
- Ips []string
- Name string
- The reverse DNS record name.
- Partial
Match bool
- id string
- The provider-assigned unique ID for this managed resource.
- reverse_
records list(object) - list of
- ips list(string)
- name string
- The reverse DNS record name.
- partial_
match bool
- id String
- The provider-assigned unique ID for this managed resource.
- reverse
Records List<GetDns Reverse Records Reverse Record> - list of
- ips List<String>
- name String
- The reverse DNS record name.
- partial
Match Boolean
- id string
- The provider-assigned unique ID for this managed resource.
- reverse
Records GetDns Reverse Records Reverse Record[] - list of
- ips string[]
- name string
- The reverse DNS record name.
- partial
Match boolean
- id str
- The provider-assigned unique ID for this managed resource.
- reverse_
records Sequence[GetDns Reverse Records Reverse Record] - list of
- ips Sequence[str]
- name str
- The reverse DNS record name.
- partial_
match bool
- id String
- The provider-assigned unique ID for this managed resource.
- reverse
Records List<Property Map> - list of
- ips List<String>
- name String
- The reverse DNS record name.
- partial
Match Boolean
Supporting Types
GetDnsReverseRecordsReverseRecord
- Id string
- The UUID of the DNS Reverse Record.
- Description string
- Description stored along with the reverse DNS record to describe its usage.
- Ip string
- Specifies for which IP address the reverse record should be created. The IP addresses needs to be owned by the contract.
- Name string
- [string] The name of the DNS Reverse Record you want to search for.
- Id string
- The UUID of the DNS Reverse Record.
- Description string
- Description stored along with the reverse DNS record to describe its usage.
- Ip string
- Specifies for which IP address the reverse record should be created. The IP addresses needs to be owned by the contract.
- Name string
- [string] The name of the DNS Reverse Record you want to search for.
- id string
- The UUID of the DNS Reverse Record.
- description string
- Description stored along with the reverse DNS record to describe its usage.
- ip string
- Specifies for which IP address the reverse record should be created. The IP addresses needs to be owned by the contract.
- name string
- [string] The name of the DNS Reverse Record you want to search for.
- id String
- The UUID of the DNS Reverse Record.
- description String
- Description stored along with the reverse DNS record to describe its usage.
- ip String
- Specifies for which IP address the reverse record should be created. The IP addresses needs to be owned by the contract.
- name String
- [string] The name of the DNS Reverse Record you want to search for.
- id string
- The UUID of the DNS Reverse Record.
- description string
- Description stored along with the reverse DNS record to describe its usage.
- ip string
- Specifies for which IP address the reverse record should be created. The IP addresses needs to be owned by the contract.
- name string
- [string] The name of the DNS Reverse Record you want to search for.
- id str
- The UUID of the DNS Reverse Record.
- description str
- Description stored along with the reverse DNS record to describe its usage.
- ip str
- Specifies for which IP address the reverse record should be created. The IP addresses needs to be owned by the contract.
- name str
- [string] The name of the DNS Reverse Record you want to search for.
- id String
- The UUID of the DNS Reverse Record.
- description String
- Description stored along with the reverse DNS record to describe its usage.
- ip String
- Specifies for which IP address the reverse record should be created. The IP addresses needs to be owned by the contract.
- name String
- [string] The name of the DNS Reverse Record you want to search for.
Package Details
- Repository
- ionoscloud ionos-cloud/pulumi-ionoscloud
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
ionoscloudTerraform Provider.
Viewing docs for IonosCloud v0.3.0
published on Wednesday, Apr 15, 2026 by ionos-cloud
published on Wednesday, Apr 15, 2026 by ionos-cloud
