Unable to query consul DNS interface from host

I am able to query the rest service of my remote consul container ie.

curl my-ip:8500/v1/catalog/services


curl my-ip:8500/v1/catalog/service/redis


But when I try the dns interface of consul

  • Spring boot app fail to link consul in docker
  • register docker container to host network dns
  • How to use port forwarding to connect to docker container using DNS name
  • How to use kong server with etcd or consul?
  • Get list of containers/services of docker-compose from inside a container
  • Docker + Weave dns not resolving on other host
  • dig @my-ip -p 8600 redis.service.consul
        ; <<>> DiG 9.8.3-P1 <<>> @ -p 8600 redis.service.consul
        ; (1 server found)
        ;; global options: +cmd
        ;; connection timed out; no servers could be reached

    I’m not sure if the format of my query is incorrect or how I started the container has an issue.

  • Docker permission problems when doing volume mapping
  • ASP.NET Core 1.0 EF7 System.Data.SqlClient not found
  • How to tag an image in a Dockerfile? [duplicate]
  • How to docker-compose run in windows?
  • Rancher: Can we deploy with zero down time
  • Unable to run an Android application in a Docker container with Gitlab-CI
  • Docker will be the best open platform for developers and sysadmins to build, ship, and run distributed applications.