-
Notifications
You must be signed in to change notification settings - Fork 4.4k
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
after changing the domain from default consul to custom cannot reach any service or node #11526
Comments
@sanfx : I see this is your first issue here - welcome to the Consul community! Can you share with me the exact command you are using with And did the query resolve correctly for What guides or documentation pages were you following to try to get this working (if any)? |
yes, I have a server node running dnsmasq
now this node works as dns service (primary) for entire network.
works the same way for service as well.
for the time being we have reverted the settings of domain but would want to use lon instead of consul |
@sanfx : when you changed the Consul domain to
|
Thanks @jkirschner-hashicorp changing in the file /etc/dnsmasq.d/10-consul solved the issue. I think this need to go in the documention where you guys explain how to configure using dnsmasq w.r.t custom domain . |
Hi @sanfx, Glad to hear you got this working! Thanks for the docs improvement suggestion. I'll reopen this task for now and apply the When we submit a PR, I might ping you to ask if you think the change would've helped you, or whether you'd make a different change to the docs. |
@sanfx: when this wasn't working, what were you using or looking at to troubleshoot? I'm wondering if there's something Consul could've done differently in this case to help (beyond updating the docs page). |
Overview of the Issue
After changing the domain from default to lon in the configurations of all the consul servers and client agents, I was expecting to resolve the service redis using
dig redis.service.lon
here is the configuration I am using
for other nodes the value in retry_join changes. that's it. the only field I added is "domain": "lon"
Reproduction Steps
Steps to reproduce this issue, eg:
Consul info for both Client and Server
Client info
Server info
Operating system and Environment details
OS, Architecture, and any other information you can provide about the environment.
Client : Linux raspberrypi 5.10.63+ #1459 Wed Oct 6 16:40:27 BST 2021 armv6l GNU/Linux
Server1 : Linux rockpi 4.4.154-95-rockchip-gd2ab1f26e1b3 #1 SMP Mon Oct 21 06:42:35 UTC 2019 aarch64 aarch64 aarch64 GNU/Linux
Server2: Linux rockpix 5.11.0-38-generic #42~20.04.1-Ubuntu SMP Tue Sep 28 20:41:07 UTC 2021 x86_64 x86_64 x86_64 GNU/Linux
Server3: Linux rockpro64 5.10.63-rockchip64 #21.08.2 SMP PREEMPT Wed Sep 8 10:57:23 UTC 2021 aarch64 aarch64 aarch64 GNU/Linux
Log Fragments
The text was updated successfully, but these errors were encountered: