You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Consul returns CNAME for registered services but doesn't return appropriate A record, in result not possible access to service using traditional methods. Direct dig query works, ping ,curl, application code no.
systemd[1]: Started dnsmasq - A lightweight DHCP and caching DNS server.
dnsmasq[18416]: query[A] rabbitmq.service.consul from 127.0.0.1
dnsmasq[18416]: forwarded rabbitmq.service.consul to 127.0.0.1#8600
dnsmasq[18416]: reply rabbitmq.service.consul is <CNAME>
dnsmasq[18416]: reply rabbitmq-01 is NODATA-IPv4
Overview of the Issue
Consul returns CNAME for registered services but doesn't return appropriate A record, in result not possible access to service using traditional methods. Direct dig query works, ping ,curl, application code no.
Reproduction Steps
Follow this instruction
https://developer.hashicorp.com/consul/tutorials/networking/dns-forwarding#dnsmasq-setup
Consul info for both Client and Server
Client info
Server info
Operating system and Environment details
Ubuntu 22.04,
consul 1.8
dnsmasq installed via public ansible role
dnsmasq config
No other config changes from dnsmasq side. All by default.
Log Fragments
ACL policy for both tokens includes
Why consul returns node name without dns appropriate suffix?
The text was updated successfully, but these errors were encountered: