hashicorp / hashicorp/consul

consul server recursors not working

Open
#7,467 1 comment 0 reactions 0 assignees View on GitHub
theme/dns
Dominant language
Go
Stars
30.1k
Forks
4.6k
Avg merge
2d 6h
Merged PRs (30d)
43

Description

I am using consul server version: Consul v1.5.3
Here is my /etc/consul.conf:

```
{
"retry_join": [
"x.x.x.x"
],
"disable_remote_exec": true,
"domain": "consul.",
"data_dir": "",
"log_level": "DEBUG",
"node_name": "ip-x-x-x-x",
"server": true,
"addresses": { "http": "x.x.x.x" },
"client_addr": "127.0.0.1",
"bind_addr": "x.x.x.x",
"datacenter": "dc1",
"recursors": ["127.0.0.1"]
}
```

dig @127.0.0.1 -p 8600 x.domain.info [non consul domain] gives a warning WARNING: recursion requested but not available, fails to resolve the ip

dig @127.0.0.1 -p 53 x.domain.info resolves properly.

why is the recurse ip not being used ?

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.