Skip to content

DNS resolution issues when using vault #1159

@rhoml

Description

@rhoml

I found this weird issue when using the vault command line.

$ curl https://<REMOTE_DNS>:8200/v1/sys/seal-status
{"sealed":false,"t":3,"n":5,"progress":0}

$ vault status
Error checking seal status: Get https://<REMOTE_DNS>:8200/v1/sys/seal-status: dial tcp: lookup <REMOTE_DNS> on 10.1.1.1:53: no such host

traceroute

traceroute <REMOTE_DNS>
traceroute to <REMOTE_DNS> (10.13.24.67), 64 hops max, 52 byte packets
 1  172.16.1.1 (172.16.1.1)  201.717 ms  200.264 ms  200.388 ms
 2  10.60.21.193 (10.60.21.193)  202.082 ms  204.834 ms  201.545 ms
 3  * * *
 4  * * *
 5  * * *
 6  * * *
 7  10.0.31.197 (10.0.31.197)  201.808 ms
    10.0.31.191 (10.0.31.191)  202.405 ms
    10.0.31.197 (10.0.31.197)  203.313 ms
 8  10.0.31.49 (10.0.31.49)  201.406 ms  206.444 ms  203.849 ms
 9  10.13.24.67 (10.13.24.67)  201.497 ms  204.067 ms  201.465 ms

the only way to make it work is modifying my /etc/hosts file and enforcing the ip address there don't know if anyone else has found this issue.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions