Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Query service by tag without DC specified #1721

Closed
harnash opened this issue Feb 15, 2016 · 1 comment
Closed

Query service by tag without DC specified #1721

harnash opened this issue Feb 15, 2016 · 1 comment

Comments

@harnash
Copy link

harnash commented Feb 15, 2016

I have the following test case.
Given service redis registered with tag master on DC1 datacenter we can query it using:

host redis.service.consul.
or
host master.redis.service.dc1.consul.

however this one fails
host master.redis.service.consul.

Documentation found https://www.consul.io/docs/agent/dns.html specifies that both tags and datacenter are optional. I'm not really sure it is problem with our setup, it is a bug or this behaviour is intentional.

Version of Consul we are using: Consul v0.6.1

@harnash
Copy link
Author

harnash commented Feb 15, 2016

Sorry for that. It was human error. It works as expected.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant