Sorry I'm not sure I follow what your problem is?

A DNS record resolves to an IP, it is impossible "to connect to a DNS name"

On Feb 8, 2018 19:27, "Dayma" <[email protected]> wrote:

> All, our proxy is only allowing us to go after DNS instead of IP. When I
> use the : "ssh_interface": "public_dns" I was hoping that it would use
> the DNS of the EC2 instance. Looking in the logs it appears that even
> though I am telling it to use DNS it's still using the IP of the EC2
> instance:
>
> 018/02/08 13:02:29 packer: 2018/02/08 13:02:29 [INFO] Waiting for SSH, up
> to timeout: 5m0s
> 2018/02/08 13:02:29 ui: [1;32m==> amazon-ebs: Waiting for SSH to become
> available... [0m
> 2018/02/08 13:02:44 packer: 2018/02/08 13:02:44 [DEBUG] TCP connection to
> SSH ip/port failed: dial tcp 52.90.77.167:2: i/o timeout
> 2018/02/08 13:03:04 packer: 2018/02/08 13:03:04 [DEBUG] TCP connection to
> SSH ip/port failed: dial tcp 52.90.77.167:2: i/o timeout
> 2018/02/08 13:03:24 packer: 2018/02/08 13:03:24 [DEBUG] TCP connection to
> SSH ip/port failed: dial tcp 52.90.77.167:2: i/o timeout
> 2018/02/08 13:03:44 packer: 2018/02/08 13:03:44 [DEBUG] TCP connection to
> SSH ip/port failed: dial tcp 52.90.77.167:2: i/o timeout
>
> *Interesting though. When I set it to "private_DNS" is seems to actually
> go after the private DNS of the EC2 instance. So that appears to be working
> for private_DNS.
>
> Any help is appreciated.
>
> Thanks!!!
>
> --
> This mailing list is governed under the HashiCorp Community Guidelines -
> https://www.hashicorp.com/community-guidelines.html. Behavior in
> violation of those guidelines may result in your removal from this mailing
> list.
>
> GitHub Issues: https://github.com/mitchellh/packer/issues
> IRC: #packer-tool on Freenode
> ---
> You received this message because you are subscribed to the Google Groups
> "Packer" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> To view this discussion on the web visit https://groups.google.com/d/
> msgid/packer-tool/2d767812-d48a-4d26-a518-13e03521e8c6%40googlegroups.com
> <https://groups.google.com/d/msgid/packer-tool/2d767812-d48a-4d26-a518-13e03521e8c6%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
> For more options, visit https://groups.google.com/d/optout.
>

-- 
This mailing list is governed under the HashiCorp Community Guidelines - 
https://www.hashicorp.com/community-guidelines.html. Behavior in violation of 
those guidelines may result in your removal from this mailing list.

GitHub Issues: https://github.com/mitchellh/packer/issues
IRC: #packer-tool on Freenode
--- 
You received this message because you are subscribed to the Google Groups 
"Packer" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/packer-tool/CALz9Rt_1ojMw3F_K8ju5Du%3Dg6XWj71JDCRaj6t-KCX4XU12nzw%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to