# Class DnsForwarding (1.12.0)

1.12.0 (latest) 1.11.0 1.10.0 1.9.0 1.8.3 1.7.0 1.6.1 1.5.0 1.4.4 1.3.0 1.2.0 1.1.1 1.0.1 0.2.2 0.1.1

    DnsForwarding(mapping=None, *, ignore_unknown_fields=False, **kwargs)

DNS forwarding config.
This config defines a list of domain to name server mappings,
and is attached to the private cloud for custom domain
resolution.

| ## Attributes ||
|---|---|
| **Name** | **Description** |
| `name` | `str` Output only. The resource name of this DNS profile. Resource names are schemeless URIs that follow the conventions in https://cloud.google.com/apis/design/resource_names. For example: `projects/my-project/locations/us-central1-a/privateClouds/my-cloud/dnsForwarding` |
| `create_time` | `google.protobuf.timestamp_pb2.Timestamp` Output only. Creation time of this resource. |
| `update_time` | `google.protobuf.timestamp_pb2.Timestamp` Output only. Last update time of this resource. |
| `forwarding_rules` | `MutableSequence[https://docs.cloud.google.com/python/docs/reference/vmwareengine/latest/google.cloud.vmwareengine_v1.types.DnsForwarding.ForwardingRule]` Required. List of domain mappings to configure |

## Classes

### ForwardingRule

    ForwardingRule(mapping=None, *, ignore_unknown_fields=False, **kwargs)

A forwarding rule is a mapping of a `domain` to `name_servers`.
This mapping allows VMware Engine to resolve domains for attached
private clouds by forwarding DNS requests for a given domain to the
specified nameservers.