1. Packages
  2. Infoblox Provider
  3. API Docs
  4. ZoneForward
infoblox 2.10.0 published on Friday, Apr 25, 2025 by infobloxopen

infoblox.ZoneForward

Explore with Pulumi AI

infoblox logo
infoblox 2.10.0 published on Friday, Apr 25, 2025 by infobloxopen

    # Zone Forward Resource

    The infoblox.ZoneForward resource associates forward zone with a DNS View.The resource represents the ‘zone_forward’ WAPI object in NIOS.

    The following list describes the parameters you can define in the resource block of the zone forward object:

    • fqdn: required, specifies the name of this DNS zone. For a reverse zone, this is in “address/cidr” format. For other zones, this is in FQDN format. This value can be in unicode format. Example: 10.1.0.0/24 for reverse zone and zone1.com for forward zone.
    • view: optional, specifies The name of the DNS view in which the zone resides. If value is not specified, default will be considered as default DNS view. Example: external.
    • zone_format: optional, determines the format of corresponding zone. Valid values are FORWARD, IPV4 and IPV6. Default value: FORWARD.
    • ns_group: optional, specifies the name server group that serves DNS for this zone. Example: demoGrp.
    • external_ns_group: Required if forward_to is not configured. Specifies the name of the forward stub server. Example: stubGroup.
    • disable: optional, specifies whether the zone is disabled. Default value: false.
    • forwarders_only: optional, specifies whether the appliance sends queries to forwarders only, and not to other internal or Internet root servers. Default value: false.
    • forward_to: Required if external_ns_group is not configured. Determines the information for the remote name servers to which you want the Infoblox appliance to forward queries for a specified domain name. Example:
    import * as pulumi from "@pulumi/pulumi";
    
    import pulumi
    
    package main
    
    import (
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    
    return await Deployment.RunAsync(() => 
    {
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    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) {
        }
    }
    
    {}
    
    • forwarding_servers: optional, determines the information for the Grid members to which you want the Infoblox appliance to forward queries for a specified domain name. Example:
    import * as pulumi from "@pulumi/pulumi";
    
    import pulumi
    
    package main
    
    import (
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    
    return await Deployment.RunAsync(() => 
    {
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    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) {
        }
    }
    
    {}
    
    • comment: optional, description of the zone. Example: custom forward zone.
    • ext_attrs: optional, set of the Extensible attributes of the zone, as a map in JSON format. Example: jsonencode({}).

    !> For a reverse zone, the corresponding ‘zone_format’ value should be set. And ‘fqdn’ once set cannot be updated.

    Note: Either define forwarding_servers or ns_group. If both the parameters are configured, settings of ns_group takes precedence.

    Examples of a Zone Forward Block

    import * as pulumi from "@pulumi/pulumi";
    import * as infoblox from "@pulumi/infoblox";
    
    //forward mapping zone, with minimum set of parameters
    const forwardZoneForwardTo = new infoblox.ZoneForward("forwardZoneForwardTo", {
        fqdn: "min_params.ex.org",
        forwardTos: [
            {
                name: "test22.dz.ex.com",
                address: "10.0.0.1",
            },
            {
                name: "test2.dz.ex.com",
                address: "10.0.0.2",
            },
        ],
    });
    //forward zone with full set of parameters
    const forwardZoneFullParameters = new infoblox.ZoneForward("forwardZoneFullParameters", {
        fqdn: "max_params.ex.org",
        view: "nondefault_view",
        zoneFormat: "FORWARD",
        comment: "test sample forward zone",
        forwardTos: [{
            name: "te32.dz.ex.com",
            address: "10.0.0.1",
        }],
        forwardingServers: [
            {
                name: "infoblox.172_28_83_216",
                forwardersOnly: true,
                useOverrideForwarders: false,
                forwardTos: [{
                    name: "cc.fwd.com",
                    address: "10.1.1.1",
                }],
            },
            {
                name: "infoblox.172_28_83_0",
                forwardersOnly: true,
                useOverrideForwarders: true,
                forwardTos: [{
                    name: "kk.fwd.com",
                    address: "10.2.1.31",
                }],
            },
        ],
    });
    //forward zone with ns_group, external_ns_group and extra attribute Site
    const forwardZoneNsGroupExternalNsGroup = new infoblox.ZoneForward("forwardZoneNsGroupExternalNsGroup", {
        fqdn: "params_ns_ens.ex.org",
        nsGroup: "test",
        externalNsGroup: "stub server",
        extAttrs: JSON.stringify({
            Site: "Antarctica",
        }),
    });
    
    import pulumi
    import json
    import pulumi_infoblox as infoblox
    
    #forward mapping zone, with minimum set of parameters
    forward_zone_forward_to = infoblox.ZoneForward("forwardZoneForwardTo",
        fqdn="min_params.ex.org",
        forward_tos=[
            {
                "name": "test22.dz.ex.com",
                "address": "10.0.0.1",
            },
            {
                "name": "test2.dz.ex.com",
                "address": "10.0.0.2",
            },
        ])
    #forward zone with full set of parameters
    forward_zone_full_parameters = infoblox.ZoneForward("forwardZoneFullParameters",
        fqdn="max_params.ex.org",
        view="nondefault_view",
        zone_format="FORWARD",
        comment="test sample forward zone",
        forward_tos=[{
            "name": "te32.dz.ex.com",
            "address": "10.0.0.1",
        }],
        forwarding_servers=[
            {
                "name": "infoblox.172_28_83_216",
                "forwarders_only": True,
                "use_override_forwarders": False,
                "forward_tos": [{
                    "name": "cc.fwd.com",
                    "address": "10.1.1.1",
                }],
            },
            {
                "name": "infoblox.172_28_83_0",
                "forwarders_only": True,
                "use_override_forwarders": True,
                "forward_tos": [{
                    "name": "kk.fwd.com",
                    "address": "10.2.1.31",
                }],
            },
        ])
    #forward zone with ns_group, external_ns_group and extra attribute Site
    forward_zone_ns_group_external_ns_group = infoblox.ZoneForward("forwardZoneNsGroupExternalNsGroup",
        fqdn="params_ns_ens.ex.org",
        ns_group="test",
        external_ns_group="stub server",
        ext_attrs=json.dumps({
            "Site": "Antarctica",
        }))
    
    package main
    
    import (
    	"encoding/json"
    
    	"github.com/pulumi/pulumi-terraform-provider/sdks/go/infoblox/v2/infoblox"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		// forward mapping zone, with minimum set of parameters
    		_, err := infoblox.NewZoneForward(ctx, "forwardZoneForwardTo", &infoblox.ZoneForwardArgs{
    			Fqdn: pulumi.String("min_params.ex.org"),
    			ForwardTos: infoblox.ZoneForwardForwardToArray{
    				&infoblox.ZoneForwardForwardToArgs{
    					Name:    pulumi.String("test22.dz.ex.com"),
    					Address: pulumi.String("10.0.0.1"),
    				},
    				&infoblox.ZoneForwardForwardToArgs{
    					Name:    pulumi.String("test2.dz.ex.com"),
    					Address: pulumi.String("10.0.0.2"),
    				},
    			},
    		})
    		if err != nil {
    			return err
    		}
    		// forward zone with full set of parameters
    		_, err = infoblox.NewZoneForward(ctx, "forwardZoneFullParameters", &infoblox.ZoneForwardArgs{
    			Fqdn:       pulumi.String("max_params.ex.org"),
    			View:       pulumi.String("nondefault_view"),
    			ZoneFormat: pulumi.String("FORWARD"),
    			Comment:    pulumi.String("test sample forward zone"),
    			ForwardTos: infoblox.ZoneForwardForwardToArray{
    				&infoblox.ZoneForwardForwardToArgs{
    					Name:    pulumi.String("te32.dz.ex.com"),
    					Address: pulumi.String("10.0.0.1"),
    				},
    			},
    			ForwardingServers: infoblox.ZoneForwardForwardingServerArray{
    				&infoblox.ZoneForwardForwardingServerArgs{
    					Name:                  pulumi.String("infoblox.172_28_83_216"),
    					ForwardersOnly:        pulumi.Bool(true),
    					UseOverrideForwarders: pulumi.Bool(false),
    					ForwardTos: infoblox.ZoneForwardForwardingServerForwardToArray{
    						&infoblox.ZoneForwardForwardingServerForwardToArgs{
    							Name:    pulumi.String("cc.fwd.com"),
    							Address: pulumi.String("10.1.1.1"),
    						},
    					},
    				},
    				&infoblox.ZoneForwardForwardingServerArgs{
    					Name:                  pulumi.String("infoblox.172_28_83_0"),
    					ForwardersOnly:        pulumi.Bool(true),
    					UseOverrideForwarders: pulumi.Bool(true),
    					ForwardTos: infoblox.ZoneForwardForwardingServerForwardToArray{
    						&infoblox.ZoneForwardForwardingServerForwardToArgs{
    							Name:    pulumi.String("kk.fwd.com"),
    							Address: pulumi.String("10.2.1.31"),
    						},
    					},
    				},
    			},
    		})
    		if err != nil {
    			return err
    		}
    		tmpJSON0, err := json.Marshal(map[string]interface{}{
    			"Site": "Antarctica",
    		})
    		if err != nil {
    			return err
    		}
    		json0 := string(tmpJSON0)
    		// forward zone with ns_group, external_ns_group and extra attribute Site
    		_, err = infoblox.NewZoneForward(ctx, "forwardZoneNsGroupExternalNsGroup", &infoblox.ZoneForwardArgs{
    			Fqdn:            pulumi.String("params_ns_ens.ex.org"),
    			NsGroup:         pulumi.String("test"),
    			ExternalNsGroup: pulumi.String("stub server"),
    			ExtAttrs:        pulumi.String(json0),
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using System.Text.Json;
    using Pulumi;
    using Infoblox = Pulumi.Infoblox;
    
    return await Deployment.RunAsync(() => 
    {
        //forward mapping zone, with minimum set of parameters
        var forwardZoneForwardTo = new Infoblox.ZoneForward("forwardZoneForwardTo", new()
        {
            Fqdn = "min_params.ex.org",
            ForwardTos = new[]
            {
                new Infoblox.Inputs.ZoneForwardForwardToArgs
                {
                    Name = "test22.dz.ex.com",
                    Address = "10.0.0.1",
                },
                new Infoblox.Inputs.ZoneForwardForwardToArgs
                {
                    Name = "test2.dz.ex.com",
                    Address = "10.0.0.2",
                },
            },
        });
    
        //forward zone with full set of parameters
        var forwardZoneFullParameters = new Infoblox.ZoneForward("forwardZoneFullParameters", new()
        {
            Fqdn = "max_params.ex.org",
            View = "nondefault_view",
            ZoneFormat = "FORWARD",
            Comment = "test sample forward zone",
            ForwardTos = new[]
            {
                new Infoblox.Inputs.ZoneForwardForwardToArgs
                {
                    Name = "te32.dz.ex.com",
                    Address = "10.0.0.1",
                },
            },
            ForwardingServers = new[]
            {
                new Infoblox.Inputs.ZoneForwardForwardingServerArgs
                {
                    Name = "infoblox.172_28_83_216",
                    ForwardersOnly = true,
                    UseOverrideForwarders = false,
                    ForwardTos = new[]
                    {
                        new Infoblox.Inputs.ZoneForwardForwardingServerForwardToArgs
                        {
                            Name = "cc.fwd.com",
                            Address = "10.1.1.1",
                        },
                    },
                },
                new Infoblox.Inputs.ZoneForwardForwardingServerArgs
                {
                    Name = "infoblox.172_28_83_0",
                    ForwardersOnly = true,
                    UseOverrideForwarders = true,
                    ForwardTos = new[]
                    {
                        new Infoblox.Inputs.ZoneForwardForwardingServerForwardToArgs
                        {
                            Name = "kk.fwd.com",
                            Address = "10.2.1.31",
                        },
                    },
                },
            },
        });
    
        //forward zone with ns_group, external_ns_group and extra attribute Site
        var forwardZoneNsGroupExternalNsGroup = new Infoblox.ZoneForward("forwardZoneNsGroupExternalNsGroup", new()
        {
            Fqdn = "params_ns_ens.ex.org",
            NsGroup = "test",
            ExternalNsGroup = "stub server",
            ExtAttrs = JsonSerializer.Serialize(new Dictionary<string, object?>
            {
                ["Site"] = "Antarctica",
            }),
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.infoblox.ZoneForward;
    import com.pulumi.infoblox.ZoneForwardArgs;
    import com.pulumi.infoblox.inputs.ZoneForwardForwardToArgs;
    import com.pulumi.infoblox.inputs.ZoneForwardForwardingServerArgs;
    import static com.pulumi.codegen.internal.Serialization.*;
    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) {
            //forward mapping zone, with minimum set of parameters
            var forwardZoneForwardTo = new ZoneForward("forwardZoneForwardTo", ZoneForwardArgs.builder()
                .fqdn("min_params.ex.org")
                .forwardTos(            
                    ZoneForwardForwardToArgs.builder()
                        .name("test22.dz.ex.com")
                        .address("10.0.0.1")
                        .build(),
                    ZoneForwardForwardToArgs.builder()
                        .name("test2.dz.ex.com")
                        .address("10.0.0.2")
                        .build())
                .build());
    
            //forward zone with full set of parameters
            var forwardZoneFullParameters = new ZoneForward("forwardZoneFullParameters", ZoneForwardArgs.builder()
                .fqdn("max_params.ex.org")
                .view("nondefault_view")
                .zoneFormat("FORWARD")
                .comment("test sample forward zone")
                .forwardTos(ZoneForwardForwardToArgs.builder()
                    .name("te32.dz.ex.com")
                    .address("10.0.0.1")
                    .build())
                .forwardingServers(            
                    ZoneForwardForwardingServerArgs.builder()
                        .name("infoblox.172_28_83_216")
                        .forwardersOnly(true)
                        .useOverrideForwarders(false)
                        .forwardTos(ZoneForwardForwardingServerForwardToArgs.builder()
                            .name("cc.fwd.com")
                            .address("10.1.1.1")
                            .build())
                        .build(),
                    ZoneForwardForwardingServerArgs.builder()
                        .name("infoblox.172_28_83_0")
                        .forwardersOnly(true)
                        .useOverrideForwarders(true)
                        .forwardTos(ZoneForwardForwardingServerForwardToArgs.builder()
                            .name("kk.fwd.com")
                            .address("10.2.1.31")
                            .build())
                        .build())
                .build());
    
            //forward zone with ns_group, external_ns_group and extra attribute Site
            var forwardZoneNsGroupExternalNsGroup = new ZoneForward("forwardZoneNsGroupExternalNsGroup", ZoneForwardArgs.builder()
                .fqdn("params_ns_ens.ex.org")
                .nsGroup("test")
                .externalNsGroup("stub server")
                .extAttrs(serializeJson(
                    jsonObject(
                        jsonProperty("Site", "Antarctica")
                    )))
                .build());
    
        }
    }
    
    resources:
      # forward mapping zone, with minimum set of parameters
      forwardZoneForwardTo:
        type: infoblox:ZoneForward
        properties:
          fqdn: min_params.ex.org
          forwardTos:
            - name: test22.dz.ex.com
              address: 10.0.0.1
            - name: test2.dz.ex.com
              address: 10.0.0.2
      # forward zone with full set of parameters
      forwardZoneFullParameters:
        type: infoblox:ZoneForward
        properties:
          fqdn: max_params.ex.org
          view: nondefault_view
          zoneFormat: FORWARD
          comment: test sample forward zone
          forwardTos:
            - name: te32.dz.ex.com
              address: 10.0.0.1
          forwardingServers:
            - name: infoblox.172_28_83_216
              forwardersOnly: true
              useOverrideForwarders: false
              forwardTos:
                - name: cc.fwd.com
                  address: 10.1.1.1
            - name: infoblox.172_28_83_0
              forwardersOnly: true
              useOverrideForwarders: true
              forwardTos:
                - name: kk.fwd.com
                  address: 10.2.1.31
      # forward zone with ns_group, external_ns_group and extra attribute Site
      forwardZoneNsGroupExternalNsGroup:
        type: infoblox:ZoneForward
        properties:
          fqdn: params_ns_ens.ex.org
          nsGroup: test
          externalNsGroup: stub server
          extAttrs:
            fn::toJSON:
              Site: Antarctica
    

    Create ZoneForward Resource

    Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

    Constructor syntax

    new ZoneForward(name: string, args: ZoneForwardArgs, opts?: CustomResourceOptions);
    @overload
    def ZoneForward(resource_name: str,
                    args: ZoneForwardArgs,
                    opts: Optional[ResourceOptions] = None)
    
    @overload
    def ZoneForward(resource_name: str,
                    opts: Optional[ResourceOptions] = None,
                    fqdn: Optional[str] = None,
                    comment: Optional[str] = None,
                    disable: Optional[bool] = None,
                    ext_attrs: Optional[str] = None,
                    external_ns_group: Optional[str] = None,
                    forward_tos: Optional[Sequence[ZoneForwardForwardToArgs]] = None,
                    forwarders_only: Optional[bool] = None,
                    forwarding_servers: Optional[Sequence[ZoneForwardForwardingServerArgs]] = None,
                    ns_group: Optional[str] = None,
                    view: Optional[str] = None,
                    zone_format: Optional[str] = None,
                    zone_forward_id: Optional[str] = None)
    func NewZoneForward(ctx *Context, name string, args ZoneForwardArgs, opts ...ResourceOption) (*ZoneForward, error)
    public ZoneForward(string name, ZoneForwardArgs args, CustomResourceOptions? opts = null)
    public ZoneForward(String name, ZoneForwardArgs args)
    public ZoneForward(String name, ZoneForwardArgs args, CustomResourceOptions options)
    
    type: infoblox:ZoneForward
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    

    Parameters

    name string
    The unique name of the resource.
    args ZoneForwardArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    resource_name str
    The unique name of the resource.
    args ZoneForwardArgs
    The arguments to resource properties.
    opts ResourceOptions
    Bag of options to control resource's behavior.
    ctx Context
    Context object for the current deployment.
    name string
    The unique name of the resource.
    args ZoneForwardArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args ZoneForwardArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args ZoneForwardArgs
    The arguments to resource properties.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

    Constructor example

    The following reference example uses placeholder values for all input properties.

    var zoneForwardResource = new Infoblox.ZoneForward("zoneForwardResource", new()
    {
        Fqdn = "string",
        Comment = "string",
        Disable = false,
        ExtAttrs = "string",
        ExternalNsGroup = "string",
        ForwardTos = new[]
        {
            new Infoblox.Inputs.ZoneForwardForwardToArgs
            {
                Address = "string",
                Name = "string",
            },
        },
        ForwardersOnly = false,
        ForwardingServers = new[]
        {
            new Infoblox.Inputs.ZoneForwardForwardingServerArgs
            {
                Name = "string",
                ForwardTos = new[]
                {
                    new Infoblox.Inputs.ZoneForwardForwardingServerForwardToArgs
                    {
                        Address = "string",
                        Name = "string",
                    },
                },
                ForwardersOnly = false,
                UseOverrideForwarders = false,
            },
        },
        NsGroup = "string",
        View = "string",
        ZoneFormat = "string",
        ZoneForwardId = "string",
    });
    
    example, err := infoblox.NewZoneForward(ctx, "zoneForwardResource", &infoblox.ZoneForwardArgs{
    	Fqdn:            pulumi.String("string"),
    	Comment:         pulumi.String("string"),
    	Disable:         pulumi.Bool(false),
    	ExtAttrs:        pulumi.String("string"),
    	ExternalNsGroup: pulumi.String("string"),
    	ForwardTos: infoblox.ZoneForwardForwardToArray{
    		&infoblox.ZoneForwardForwardToArgs{
    			Address: pulumi.String("string"),
    			Name:    pulumi.String("string"),
    		},
    	},
    	ForwardersOnly: pulumi.Bool(false),
    	ForwardingServers: infoblox.ZoneForwardForwardingServerArray{
    		&infoblox.ZoneForwardForwardingServerArgs{
    			Name: pulumi.String("string"),
    			ForwardTos: infoblox.ZoneForwardForwardingServerForwardToArray{
    				&infoblox.ZoneForwardForwardingServerForwardToArgs{
    					Address: pulumi.String("string"),
    					Name:    pulumi.String("string"),
    				},
    			},
    			ForwardersOnly:        pulumi.Bool(false),
    			UseOverrideForwarders: pulumi.Bool(false),
    		},
    	},
    	NsGroup:       pulumi.String("string"),
    	View:          pulumi.String("string"),
    	ZoneFormat:    pulumi.String("string"),
    	ZoneForwardId: pulumi.String("string"),
    })
    
    var zoneForwardResource = new ZoneForward("zoneForwardResource", ZoneForwardArgs.builder()
        .fqdn("string")
        .comment("string")
        .disable(false)
        .extAttrs("string")
        .externalNsGroup("string")
        .forwardTos(ZoneForwardForwardToArgs.builder()
            .address("string")
            .name("string")
            .build())
        .forwardersOnly(false)
        .forwardingServers(ZoneForwardForwardingServerArgs.builder()
            .name("string")
            .forwardTos(ZoneForwardForwardingServerForwardToArgs.builder()
                .address("string")
                .name("string")
                .build())
            .forwardersOnly(false)
            .useOverrideForwarders(false)
            .build())
        .nsGroup("string")
        .view("string")
        .zoneFormat("string")
        .zoneForwardId("string")
        .build());
    
    zone_forward_resource = infoblox.ZoneForward("zoneForwardResource",
        fqdn="string",
        comment="string",
        disable=False,
        ext_attrs="string",
        external_ns_group="string",
        forward_tos=[{
            "address": "string",
            "name": "string",
        }],
        forwarders_only=False,
        forwarding_servers=[{
            "name": "string",
            "forward_tos": [{
                "address": "string",
                "name": "string",
            }],
            "forwarders_only": False,
            "use_override_forwarders": False,
        }],
        ns_group="string",
        view="string",
        zone_format="string",
        zone_forward_id="string")
    
    const zoneForwardResource = new infoblox.ZoneForward("zoneForwardResource", {
        fqdn: "string",
        comment: "string",
        disable: false,
        extAttrs: "string",
        externalNsGroup: "string",
        forwardTos: [{
            address: "string",
            name: "string",
        }],
        forwardersOnly: false,
        forwardingServers: [{
            name: "string",
            forwardTos: [{
                address: "string",
                name: "string",
            }],
            forwardersOnly: false,
            useOverrideForwarders: false,
        }],
        nsGroup: "string",
        view: "string",
        zoneFormat: "string",
        zoneForwardId: "string",
    });
    
    type: infoblox:ZoneForward
    properties:
        comment: string
        disable: false
        extAttrs: string
        externalNsGroup: string
        forwardTos:
            - address: string
              name: string
        forwardersOnly: false
        forwardingServers:
            - forwardTos:
                - address: string
                  name: string
              forwardersOnly: false
              name: string
              useOverrideForwarders: false
        fqdn: string
        nsGroup: string
        view: string
        zoneFormat: string
        zoneForwardId: string
    

    ZoneForward Resource Properties

    To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

    Inputs

    In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.

    The ZoneForward resource accepts the following input properties:

    Fqdn string
    The name of this DNS zone
    Comment string
    A descriptive comment.
    Disable bool
    Determines if the zone is disabled or not.
    ExtAttrs string
    Extensible attributes of the zone forward to be added/updated, as a map in JSON format.
    ExternalNsGroup string
    A forward stub server name server group.
    ForwardTos List<ZoneForwardForwardTo>
    The information for the remote name servers to which you want the Infoblox appliance to forward queries for a specified domain name.
    ForwardersOnly bool
    Determines if the appliance sends queries to forwarders only, and not to other internal or Internet root servers.
    ForwardingServers List<ZoneForwardForwardingServer>
    The information for the remote name servers to which you want the Infoblox appliance to forward queries for a specified domain name.
    NsGroup string
    A forwarding member name server group.
    View string
    The DNS view in which the zone is created.
    ZoneFormat string
    The format of the zone. Valid values are: FORWARD, IPV4, IPV6.
    ZoneForwardId string
    Fqdn string
    The name of this DNS zone
    Comment string
    A descriptive comment.
    Disable bool
    Determines if the zone is disabled or not.
    ExtAttrs string
    Extensible attributes of the zone forward to be added/updated, as a map in JSON format.
    ExternalNsGroup string
    A forward stub server name server group.
    ForwardTos []ZoneForwardForwardToArgs
    The information for the remote name servers to which you want the Infoblox appliance to forward queries for a specified domain name.
    ForwardersOnly bool
    Determines if the appliance sends queries to forwarders only, and not to other internal or Internet root servers.
    ForwardingServers []ZoneForwardForwardingServerArgs
    The information for the remote name servers to which you want the Infoblox appliance to forward queries for a specified domain name.
    NsGroup string
    A forwarding member name server group.
    View string
    The DNS view in which the zone is created.
    ZoneFormat string
    The format of the zone. Valid values are: FORWARD, IPV4, IPV6.
    ZoneForwardId string
    fqdn String
    The name of this DNS zone
    comment String
    A descriptive comment.
    disable Boolean
    Determines if the zone is disabled or not.
    extAttrs String
    Extensible attributes of the zone forward to be added/updated, as a map in JSON format.
    externalNsGroup String
    A forward stub server name server group.
    forwardTos List<ZoneForwardForwardTo>
    The information for the remote name servers to which you want the Infoblox appliance to forward queries for a specified domain name.
    forwardersOnly Boolean
    Determines if the appliance sends queries to forwarders only, and not to other internal or Internet root servers.
    forwardingServers List<ZoneForwardForwardingServer>
    The information for the remote name servers to which you want the Infoblox appliance to forward queries for a specified domain name.
    nsGroup String
    A forwarding member name server group.
    view String
    The DNS view in which the zone is created.
    zoneFormat String
    The format of the zone. Valid values are: FORWARD, IPV4, IPV6.
    zoneForwardId String
    fqdn string
    The name of this DNS zone
    comment string
    A descriptive comment.
    disable boolean
    Determines if the zone is disabled or not.
    extAttrs string
    Extensible attributes of the zone forward to be added/updated, as a map in JSON format.
    externalNsGroup string
    A forward stub server name server group.
    forwardTos ZoneForwardForwardTo[]
    The information for the remote name servers to which you want the Infoblox appliance to forward queries for a specified domain name.
    forwardersOnly boolean
    Determines if the appliance sends queries to forwarders only, and not to other internal or Internet root servers.
    forwardingServers ZoneForwardForwardingServer[]
    The information for the remote name servers to which you want the Infoblox appliance to forward queries for a specified domain name.
    nsGroup string
    A forwarding member name server group.
    view string
    The DNS view in which the zone is created.
    zoneFormat string
    The format of the zone. Valid values are: FORWARD, IPV4, IPV6.
    zoneForwardId string
    fqdn str
    The name of this DNS zone
    comment str
    A descriptive comment.
    disable bool
    Determines if the zone is disabled or not.
    ext_attrs str
    Extensible attributes of the zone forward to be added/updated, as a map in JSON format.
    external_ns_group str
    A forward stub server name server group.
    forward_tos Sequence[ZoneForwardForwardToArgs]
    The information for the remote name servers to which you want the Infoblox appliance to forward queries for a specified domain name.
    forwarders_only bool
    Determines if the appliance sends queries to forwarders only, and not to other internal or Internet root servers.
    forwarding_servers Sequence[ZoneForwardForwardingServerArgs]
    The information for the remote name servers to which you want the Infoblox appliance to forward queries for a specified domain name.
    ns_group str
    A forwarding member name server group.
    view str
    The DNS view in which the zone is created.
    zone_format str
    The format of the zone. Valid values are: FORWARD, IPV4, IPV6.
    zone_forward_id str
    fqdn String
    The name of this DNS zone
    comment String
    A descriptive comment.
    disable Boolean
    Determines if the zone is disabled or not.
    extAttrs String
    Extensible attributes of the zone forward to be added/updated, as a map in JSON format.
    externalNsGroup String
    A forward stub server name server group.
    forwardTos List<Property Map>
    The information for the remote name servers to which you want the Infoblox appliance to forward queries for a specified domain name.
    forwardersOnly Boolean
    Determines if the appliance sends queries to forwarders only, and not to other internal or Internet root servers.
    forwardingServers List<Property Map>
    The information for the remote name servers to which you want the Infoblox appliance to forward queries for a specified domain name.
    nsGroup String
    A forwarding member name server group.
    view String
    The DNS view in which the zone is created.
    zoneFormat String
    The format of the zone. Valid values are: FORWARD, IPV4, IPV6.
    zoneForwardId String

    Outputs

    All input properties are implicitly available as output properties. Additionally, the ZoneForward resource produces the following output properties:

    Id string
    The provider-assigned unique ID for this managed resource.
    InternalId string
    Ref string
    NIOS object's reference, not to be set by a user.
    Id string
    The provider-assigned unique ID for this managed resource.
    InternalId string
    Ref string
    NIOS object's reference, not to be set by a user.
    id String
    The provider-assigned unique ID for this managed resource.
    internalId String
    ref String
    NIOS object's reference, not to be set by a user.
    id string
    The provider-assigned unique ID for this managed resource.
    internalId string
    ref string
    NIOS object's reference, not to be set by a user.
    id str
    The provider-assigned unique ID for this managed resource.
    internal_id str
    ref str
    NIOS object's reference, not to be set by a user.
    id String
    The provider-assigned unique ID for this managed resource.
    internalId String
    ref String
    NIOS object's reference, not to be set by a user.

    Look up Existing ZoneForward Resource

    Get an existing ZoneForward resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.

    public static get(name: string, id: Input<ID>, state?: ZoneForwardState, opts?: CustomResourceOptions): ZoneForward
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            comment: Optional[str] = None,
            disable: Optional[bool] = None,
            ext_attrs: Optional[str] = None,
            external_ns_group: Optional[str] = None,
            forward_tos: Optional[Sequence[ZoneForwardForwardToArgs]] = None,
            forwarders_only: Optional[bool] = None,
            forwarding_servers: Optional[Sequence[ZoneForwardForwardingServerArgs]] = None,
            fqdn: Optional[str] = None,
            internal_id: Optional[str] = None,
            ns_group: Optional[str] = None,
            ref: Optional[str] = None,
            view: Optional[str] = None,
            zone_format: Optional[str] = None,
            zone_forward_id: Optional[str] = None) -> ZoneForward
    func GetZoneForward(ctx *Context, name string, id IDInput, state *ZoneForwardState, opts ...ResourceOption) (*ZoneForward, error)
    public static ZoneForward Get(string name, Input<string> id, ZoneForwardState? state, CustomResourceOptions? opts = null)
    public static ZoneForward get(String name, Output<String> id, ZoneForwardState state, CustomResourceOptions options)
    resources:  _:    type: infoblox:ZoneForward    get:      id: ${id}
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    resource_name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    The following state arguments are supported:
    Comment string
    A descriptive comment.
    Disable bool
    Determines if the zone is disabled or not.
    ExtAttrs string
    Extensible attributes of the zone forward to be added/updated, as a map in JSON format.
    ExternalNsGroup string
    A forward stub server name server group.
    ForwardTos List<ZoneForwardForwardTo>
    The information for the remote name servers to which you want the Infoblox appliance to forward queries for a specified domain name.
    ForwardersOnly bool
    Determines if the appliance sends queries to forwarders only, and not to other internal or Internet root servers.
    ForwardingServers List<ZoneForwardForwardingServer>
    The information for the remote name servers to which you want the Infoblox appliance to forward queries for a specified domain name.
    Fqdn string
    The name of this DNS zone
    InternalId string
    NsGroup string
    A forwarding member name server group.
    Ref string
    NIOS object's reference, not to be set by a user.
    View string
    The DNS view in which the zone is created.
    ZoneFormat string
    The format of the zone. Valid values are: FORWARD, IPV4, IPV6.
    ZoneForwardId string
    Comment string
    A descriptive comment.
    Disable bool
    Determines if the zone is disabled or not.
    ExtAttrs string
    Extensible attributes of the zone forward to be added/updated, as a map in JSON format.
    ExternalNsGroup string
    A forward stub server name server group.
    ForwardTos []ZoneForwardForwardToArgs
    The information for the remote name servers to which you want the Infoblox appliance to forward queries for a specified domain name.
    ForwardersOnly bool
    Determines if the appliance sends queries to forwarders only, and not to other internal or Internet root servers.
    ForwardingServers []ZoneForwardForwardingServerArgs
    The information for the remote name servers to which you want the Infoblox appliance to forward queries for a specified domain name.
    Fqdn string
    The name of this DNS zone
    InternalId string
    NsGroup string
    A forwarding member name server group.
    Ref string
    NIOS object's reference, not to be set by a user.
    View string
    The DNS view in which the zone is created.
    ZoneFormat string
    The format of the zone. Valid values are: FORWARD, IPV4, IPV6.
    ZoneForwardId string
    comment String
    A descriptive comment.
    disable Boolean
    Determines if the zone is disabled or not.
    extAttrs String
    Extensible attributes of the zone forward to be added/updated, as a map in JSON format.
    externalNsGroup String
    A forward stub server name server group.
    forwardTos List<ZoneForwardForwardTo>
    The information for the remote name servers to which you want the Infoblox appliance to forward queries for a specified domain name.
    forwardersOnly Boolean
    Determines if the appliance sends queries to forwarders only, and not to other internal or Internet root servers.
    forwardingServers List<ZoneForwardForwardingServer>
    The information for the remote name servers to which you want the Infoblox appliance to forward queries for a specified domain name.
    fqdn String
    The name of this DNS zone
    internalId String
    nsGroup String
    A forwarding member name server group.
    ref String
    NIOS object's reference, not to be set by a user.
    view String
    The DNS view in which the zone is created.
    zoneFormat String
    The format of the zone. Valid values are: FORWARD, IPV4, IPV6.
    zoneForwardId String
    comment string
    A descriptive comment.
    disable boolean
    Determines if the zone is disabled or not.
    extAttrs string
    Extensible attributes of the zone forward to be added/updated, as a map in JSON format.
    externalNsGroup string
    A forward stub server name server group.
    forwardTos ZoneForwardForwardTo[]
    The information for the remote name servers to which you want the Infoblox appliance to forward queries for a specified domain name.
    forwardersOnly boolean
    Determines if the appliance sends queries to forwarders only, and not to other internal or Internet root servers.
    forwardingServers ZoneForwardForwardingServer[]
    The information for the remote name servers to which you want the Infoblox appliance to forward queries for a specified domain name.
    fqdn string
    The name of this DNS zone
    internalId string
    nsGroup string
    A forwarding member name server group.
    ref string
    NIOS object's reference, not to be set by a user.
    view string
    The DNS view in which the zone is created.
    zoneFormat string
    The format of the zone. Valid values are: FORWARD, IPV4, IPV6.
    zoneForwardId string
    comment str
    A descriptive comment.
    disable bool
    Determines if the zone is disabled or not.
    ext_attrs str
    Extensible attributes of the zone forward to be added/updated, as a map in JSON format.
    external_ns_group str
    A forward stub server name server group.
    forward_tos Sequence[ZoneForwardForwardToArgs]
    The information for the remote name servers to which you want the Infoblox appliance to forward queries for a specified domain name.
    forwarders_only bool
    Determines if the appliance sends queries to forwarders only, and not to other internal or Internet root servers.
    forwarding_servers Sequence[ZoneForwardForwardingServerArgs]
    The information for the remote name servers to which you want the Infoblox appliance to forward queries for a specified domain name.
    fqdn str
    The name of this DNS zone
    internal_id str
    ns_group str
    A forwarding member name server group.
    ref str
    NIOS object's reference, not to be set by a user.
    view str
    The DNS view in which the zone is created.
    zone_format str
    The format of the zone. Valid values are: FORWARD, IPV4, IPV6.
    zone_forward_id str
    comment String
    A descriptive comment.
    disable Boolean
    Determines if the zone is disabled or not.
    extAttrs String
    Extensible attributes of the zone forward to be added/updated, as a map in JSON format.
    externalNsGroup String
    A forward stub server name server group.
    forwardTos List<Property Map>
    The information for the remote name servers to which you want the Infoblox appliance to forward queries for a specified domain name.
    forwardersOnly Boolean
    Determines if the appliance sends queries to forwarders only, and not to other internal or Internet root servers.
    forwardingServers List<Property Map>
    The information for the remote name servers to which you want the Infoblox appliance to forward queries for a specified domain name.
    fqdn String
    The name of this DNS zone
    internalId String
    nsGroup String
    A forwarding member name server group.
    ref String
    NIOS object's reference, not to be set by a user.
    view String
    The DNS view in which the zone is created.
    zoneFormat String
    The format of the zone. Valid values are: FORWARD, IPV4, IPV6.
    zoneForwardId String

    Supporting Types

    ZoneForwardForwardTo, ZoneForwardForwardToArgs

    Address string
    The IP address of the remote name server to which you want the Infoblox appliance to forward queries for a specified domain name.
    Name string
    The name of the remote name server to which you want the Infoblox appliance to forward queries for a specified domain name.
    Address string
    The IP address of the remote name server to which you want the Infoblox appliance to forward queries for a specified domain name.
    Name string
    The name of the remote name server to which you want the Infoblox appliance to forward queries for a specified domain name.
    address String
    The IP address of the remote name server to which you want the Infoblox appliance to forward queries for a specified domain name.
    name String
    The name of the remote name server to which you want the Infoblox appliance to forward queries for a specified domain name.
    address string
    The IP address of the remote name server to which you want the Infoblox appliance to forward queries for a specified domain name.
    name string
    The name of the remote name server to which you want the Infoblox appliance to forward queries for a specified domain name.
    address str
    The IP address of the remote name server to which you want the Infoblox appliance to forward queries for a specified domain name.
    name str
    The name of the remote name server to which you want the Infoblox appliance to forward queries for a specified domain name.
    address String
    The IP address of the remote name server to which you want the Infoblox appliance to forward queries for a specified domain name.
    name String
    The name of the remote name server to which you want the Infoblox appliance to forward queries for a specified domain name.

    ZoneForwardForwardingServer, ZoneForwardForwardingServerArgs

    Name string
    The name of this Grid member in FQDN format.
    ForwardTos List<ZoneForwardForwardingServerForwardTo>
    The information for the remote name servers to which you want the Infoblox appliance to forward queries for a specified domain name.
    ForwardersOnly bool
    Determines if the appliance sends queries to forwarders only, and not to other internal or Internet root servers.
    UseOverrideForwarders bool
    Determines if the appliance sends queries to name servers.
    Name string
    The name of this Grid member in FQDN format.
    ForwardTos []ZoneForwardForwardingServerForwardTo
    The information for the remote name servers to which you want the Infoblox appliance to forward queries for a specified domain name.
    ForwardersOnly bool
    Determines if the appliance sends queries to forwarders only, and not to other internal or Internet root servers.
    UseOverrideForwarders bool
    Determines if the appliance sends queries to name servers.
    name String
    The name of this Grid member in FQDN format.
    forwardTos List<ZoneForwardForwardingServerForwardTo>
    The information for the remote name servers to which you want the Infoblox appliance to forward queries for a specified domain name.
    forwardersOnly Boolean
    Determines if the appliance sends queries to forwarders only, and not to other internal or Internet root servers.
    useOverrideForwarders Boolean
    Determines if the appliance sends queries to name servers.
    name string
    The name of this Grid member in FQDN format.
    forwardTos ZoneForwardForwardingServerForwardTo[]
    The information for the remote name servers to which you want the Infoblox appliance to forward queries for a specified domain name.
    forwardersOnly boolean
    Determines if the appliance sends queries to forwarders only, and not to other internal or Internet root servers.
    useOverrideForwarders boolean
    Determines if the appliance sends queries to name servers.
    name str
    The name of this Grid member in FQDN format.
    forward_tos Sequence[ZoneForwardForwardingServerForwardTo]
    The information for the remote name servers to which you want the Infoblox appliance to forward queries for a specified domain name.
    forwarders_only bool
    Determines if the appliance sends queries to forwarders only, and not to other internal or Internet root servers.
    use_override_forwarders bool
    Determines if the appliance sends queries to name servers.
    name String
    The name of this Grid member in FQDN format.
    forwardTos List<Property Map>
    The information for the remote name servers to which you want the Infoblox appliance to forward queries for a specified domain name.
    forwardersOnly Boolean
    Determines if the appliance sends queries to forwarders only, and not to other internal or Internet root servers.
    useOverrideForwarders Boolean
    Determines if the appliance sends queries to name servers.

    ZoneForwardForwardingServerForwardTo, ZoneForwardForwardingServerForwardToArgs

    Address string
    The IP address of the remote name server to which you want the Infoblox appliance to forward queries for a specified domain name.
    Name string
    The name of the remote name server to which you want the Infoblox appliance to forward queries for a specified domain name.
    Address string
    The IP address of the remote name server to which you want the Infoblox appliance to forward queries for a specified domain name.
    Name string
    The name of the remote name server to which you want the Infoblox appliance to forward queries for a specified domain name.
    address String
    The IP address of the remote name server to which you want the Infoblox appliance to forward queries for a specified domain name.
    name String
    The name of the remote name server to which you want the Infoblox appliance to forward queries for a specified domain name.
    address string
    The IP address of the remote name server to which you want the Infoblox appliance to forward queries for a specified domain name.
    name string
    The name of the remote name server to which you want the Infoblox appliance to forward queries for a specified domain name.
    address str
    The IP address of the remote name server to which you want the Infoblox appliance to forward queries for a specified domain name.
    name str
    The name of the remote name server to which you want the Infoblox appliance to forward queries for a specified domain name.
    address String
    The IP address of the remote name server to which you want the Infoblox appliance to forward queries for a specified domain name.
    name String
    The name of the remote name server to which you want the Infoblox appliance to forward queries for a specified domain name.

    Package Details

    Repository
    infoblox infobloxopen/terraform-provider-infoblox
    License
    Notes
    This Pulumi package is based on the infoblox Terraform Provider.
    infoblox logo
    infoblox 2.10.0 published on Friday, Apr 25, 2025 by infobloxopen