# NOT RUN {
# This example describes the enableDnsSupport attribute. This attribute
# indicates whether DNS resolution is enabled for the VPC. If this
# attribute is true, the Amazon DNS server resolves DNS hostnames for your
# instances to their corresponding IP addresses; otherwise, it does not.
# }
# NOT RUN {
svc$describe_vpc_attribute(
Attribute = "enableDnsSupport",
VpcId = "vpc-a01106c2"
)
# }
# NOT RUN {
# This example describes the enableDnsHostnames attribute. This attribute
# indicates whether the instances launched in the VPC get DNS hostnames.
# If this attribute is true, instances in the VPC get DNS hostnames;
# otherwise, they do not.
# }
# NOT RUN {
svc$describe_vpc_attribute(
Attribute = "enableDnsHostnames",
VpcId = "vpc-a01106c2"
)
# }
# NOT RUN {
# }
Run the code above in your browser using DataLab