News Automating the Software Bill of Materials (SBOM)

Enterprise Documentation

Recent changes

You are viewing a previous version of KrakenD Enterprise Edition (v1.3) , go to the latest version

SD with DNS SRV (e.g., Consul, k8s)

Document updated on Feb 13, 2019

The DNS SRV is a market standard used by systems such as Kubernetes, Mesos, Haproxy, Nginx plus, AWS ECS, Linkerd, and more.

To integrate Consul as the Service Discovery or any other DNS SRV compatible systems you only need to set two keys:

  • "sd": "dns": To set service discovery = DNS SRV
  • "host": []: The list of all the names providing the resolution

These keys need to be added in the backend section of your configuration. The host key can be skipped if there is another host key in the root level of the configuration.

For instance:

"backend": [
          "url_pattern": "/foo",
          "sd": "dns",
          "host": [
          "disable_host_sanitize": true

Unresolved issues?

The documentation is only a piece of the help you can get! Whether you are looking for Open Source or Enterprise support, see more support channels that can help you.

We use cookies to understand how you use our site and to improve your overall experience. By continuing to use our site, you accept our Privacy Policy. More information