show resolvers
Display statistics for each resolvers
section in your configuration.
Description
A resolvers
section lists one or more DNS nameservers, to which HAProxy Enterprise sends DNS queries. The show resolvers
command lists the following information for each resolvers
section that you've defined in your load balancer configuration:
Field | Displays the number of |
---|---|
| DNS requests sent to this group of nameservers |
| Times there was an error sending the DNS query |
| Valid DNS responses received from this group of nameservers |
| DNS responses used to update a server's IP address |
| CNAME responses |
| CNAME errors returned from this group of nameservers |
| Empty responses (i.e., the server does not support the ANY type) |
| Non-existent domain responses received from this group of nameservers |
| Times this group of nameservers did not answer in time |
| Requests refused by this group of nameservers |
| Any other DNS errors |
| Invalid DNS responses (from a protocol point of view) |
| Responses that were too big to process |
| Responses that were truncated |
| Responses that arrived too late (after another nameserver) |
Without any arguments, show resolvers
returns information about all resolvers
sections. You can filter this to show only a specific section by adding its name.
Examples
Below, we display information about a resolvers
section named example:
$ echo "show resolvers example" | \
sudo socat stdio unix-connect:/var/run/hapee-2.2/hapee-lb.sock
Resolvers section example
nameserver ns1:
sent: 16
snd_error: 0
valid: 2
update: 0
cname: 0
cname_error: 0
any_err: 2
nx: 0
timeout: 0
refused: 12
other: 0
invalid: 0
too_big: 0
truncated: 0
outdated: 0
See also
Next up
show schema json