Hello,
I’m observing the following WARN message in logs. Since I wasn’t able to find more information about this message anywhere, I’ve decided to ask here:
dns: Skipping invalid node "consul.server01.subdomain.example.com" for NS records
This message is flooding logs. Consul is v1.6.2. “node_name” is set via JSON config to “consul.server01.subdomain.example.com”. FQDN of this server is “server01.subdomain.example.com”.
Message is being emitted here - https://github.com/hashicorp/consul/blob/master/agent/dns.go#L515
I’m wondering whether “node_name” is wrong then or what the problem is and how to fix it.
Thank you.