Hi,
I have strange problems and still unable to find the answer, please help.
I have 5 node cluster of Vault with Consul as a backend.
If I try to ping entrypoint "vault.service.spb.consul" but keep getting:
$ ping vault.service.spb.consul
ping: unknown host vault.service.spb.consul
.. but "nslookup" and "host" commands work:
$ nslookup vault.service.spb.consul
Server: 172.20.200.17
Address: 172.20.200.17#53
Non-authoritative answer:
Address: 172.20.202.144
$ host vault.service.spb.consul
I am running the latest available versions: Vault 0.6.2 and Consul 0.7.1.
And have zero issues with "active.vault.service.spb.consul" entrypoint - "ping", "nslookup" and "host" commands work just fine:
$ nslookup active.vault.service.spb.consul
Server: 172.20.200.17
Address: 172.20.200.17#53
Non-authoritative answer:
Address: 172.20.202.207
$ host active.vault.service.spb.consul
$ ping active.vault.service.spb.consul
^C
4 packets transmitted, 4 received, 0% packet loss, time 3002ms
rtt min/avg/max/mdev = 0.315/0.326/0.347/0.025 ms
DNS server 172.20.200.17 is powered by Microsoft DNS.
I've tried to strace "ping" command, checked DNS setup but can not find anything wrong at DNS side.
What am I missing?