PrepAway - Latest Free Exam Questions & Answers

22 Comments on “Which DNS name can only be resolved within Amazon EC2?

  1. Srinivasu M says:

    Using Private Hosted Zones

    If you want to access the resources in your VPC using custom DNS domain names, such as example.com, instead of using private IP addresses or AWS-provided private DNS hostnames, you can create a private hosted zone in Amazon Route 53. A private hosted zone is a container that holds information about how you want to route traffic for a domain and its subdomains within one or more VPCs without exposing your resources to the Internet. You can then create Amazon Route 53 resource record sets, which determine how Amazon Route 53 responds to queries for your domain and subdomains. For example, if you want browser requests for example.com to be routed to a web server in your VPC, you’ll create an A record in your private hosted zone and specify the IP address of that web server. For more information about creating a private hosted zone, see Working with Private Hosted Zones in the Amazon Route 53 Developer Guide.




    1



    0
  2. Ash says:

    D.

    A private (internal) DNS hostname resolves to the private IPv4 address of the instance, and takes the form ip-private-ipv4-address.ec2.internal for the us-east-1 region, and ip-private-ipv4-address.region.compute.internal for other regions (where private.ipv4.address is the reverse lookup IP address). You can use the private DNS hostname for communication between instances in the same network, but we can’t resolve the DNS hostname outside the network that the instance is in.




    0



    0
  3. Magwif says:

    http://docs.aws.amazon.com/AmazonVPC/latest/UserGuide/vpc-dns.html

    A private (internal) DNS hostname resolves to the private IPv4 address of the instance

    To view DNS hostnames for an instance using the console

    1. Open the Amazon EC2 console at https://console.aws.amazon.com/ec2/.

    2. In the navigation pane, choose Instances.

    3. Select your instance from the list.

    4. In the details pane, the Public DNS (IPv4) and Private DNS fields display the DNS hostnames, if applicable.

    In the AWS documentation (Internal) is used in brackets which indicates that it is for clarification purposes, you can also see that in the console the address is under Private DNS

    For this reason the anser is D




    1



    0
  4. Srinivasan Thirunavukkarasu says:

    Guys, The Correct answer is A.

    Amazon EC2 also provides an internal DNS name and a public DNS name that map to the private and public IP addresses, respectively. The internal DNS name can only be resolved within Amazon EC2. The public DNS name resolves to the public IP address outside the Amazon EC2 network, and to the private IP address within the Amazon EC2 network.




    0



    0
  5. slick says:

    Both A and D are correct.

    A private (internal) DNS hostname resolves to the private IPv4 address of the instance, and takes the form ip-private-ipv4-address.ec2.internal for the us-east-1 region, and ip-private-ipv4-address.region.compute.internal for other regions (where private.ipv4.address is the reverse lookup IP address).




    0



    0
  6. yoseph says:

    A !!!

    When you launch an instance, we allocate a private IPv4 address for the instance using DHCP. Each instance is also given an internal DNS hostname that resolves to the private IPv4 address of the instance; for example, ip-10-251-50-12.ec2.internal. You can use the internal DNS hostname for communication between instances in the same network, but we can’t resolve the DNS hostname outside the network that the instance is in.

    http://docs.aws.amazon.com/AWSEC2/latest/UserGuide/using-instance-addressing.html




    0



    0
  7. Amit says:

    this is confusing. Even in AWS Documentation they are using both “Internal DNS hostname” and “Private DNS hostname” at different locations.

    Here are the links:

    http://docs.aws.amazon.com/AWSEC2/latest/UserGuide/using-instance-addressing.html

    which says- ” When you launch an instance, we allocate a private IPv4 address for the instance using DHCP. Each instance is also given an internal DNS hostname that resolves to the private IPv4 address of the instance; for example, ip-10-251-50-12.ec2.internal. You can use the internal DNS hostname for communication between instances in the same network, but we can’t resolve the DNS hostname outside the network that the instance is in.”

    http://docs.aws.amazon.com/AmazonVPC/latest/UserGuide/vpc-dns.html

    which says – ” The Amazon DNS server can resolve private DNS hostnames to private IPv4 addresses for all address spaces, including where the IPv4 address range of your VPC falls outside of the private IPv4 addresses ranges specified by RFC 1918.

    Important

    If you created your VPC before October 2016, the Amazon DNS server does not resolve private DNS hostnames if your VPC’s IPv4 address range falls outside of the private IPv4 addresses ranges specified by RFC 1918. If you want to enable the Amazon DNS server to resolve private DNS hostnames for these addresses, contact AWS Support.”

    Now i am confused..




    0



    0
  8. loki says:

    I think D…

    An Amazon-provided private (internal) DNS hostname resolves to the private IPv4 address of the instance, and takes the form ip-private-ipv4-address.ec2.internal for the us-east-1 region, and ip-private-ipv4-address.region.compute.internal for other regions (where private.ipv4.address is the reverse lookup IP address). You can use the private DNS hostname for communication between instances in the same network, but we can’t resolve the DNS hostname outside the network that the instance is in.

    Source: http://docs.aws.amazon.com/AmazonVPC/latest/UserGuide/vpc-dns.html




    0



    0
  9. Youda says:

    Is private DNS hostname/name and internal DNS hostname/name different ?
    private DNS hostname can be resolved by Route53 as well, so internal DNS hostname can ONLY be solved in EC2 ??

    the question i guess is focus on ONLY.




    0



    0

Leave a Reply

Your email address will not be published. Required fields are marked *