tpietsch

Results comments of tpietsch

I have consul running as my DNS server on 53 telnet [myhost] 53 resolves I would think if i am requesting DNS records from consul it would already know how...

I don't see an error i just get a different DNS response ; DiG 9.8.3-P1 @[myhost].com zookeeper.service.consul. A ; (1 server found) ;; global options: +cmd ;; Got answer: ;;...

From what i can see consul does not know how to resolve so it passes it to another DNS server which eventually resolve to a root authoritative one

I have also tried my service configured to both an internal/public IP and the same behavior was observed

dig @treverpietsch.com zookeeper.service.consul SRV ; DiG 9.8.3-P1 @treverpietsch.com zookeeper.service.consul SRV ; (1 server found) ;; global options: +cmd ;; Got answer: ;; ->>HEADER

{ "bind_addr" : "10.0.1.6", "client_addr" : "10.0.1.6", "ui_dir":"/etc/consul.d/dist/", "data_dir": "/var/consul", ``` "bootstrap" : true, ``` "server":true, "recursor": "10.0.1.1", "log_level": "INFO", "ports":{ "dns": 53 }, "dns_config" : { "enable_truncate" : true...

{"service": { "checks": [ { "script": "/usr/share/zookeeper/bin/zkServer.sh status", "interval": "10s" } ], "name": "zookeeper", "tags": ["zookeeper"], "address": "10.0.1.6", "port": 2181}}

i agree with you statement that is why i am confused. im literally running dig using the same dns host from different machines and getting different responses

the dig does return an SRV record in the initial post