Mesos DNS

Install the Mesos DNS Go binary and configure it as a system service.

Nodes are configured to use Mesos DNS by the mesos role.

Configuration

Defaults are set in defaults/main.yml.

  • mesos_dns_version:

    The version to install. See releases for supported versions.

    Default:

    mesos_dns_version: 0.5.2
    
  • mesos_dns_url:

    URL from where to download the Mesos DNS binary.

    Default:

    mesos_dns_url: "https://github.com/mesosphere/mesos-dns/releases/download/v{{mesos_dns_version}}/mesos-dns-v{{mesos_dns_version}}-linux-amd64"
    
  • mesos_dns_bin:

    Path to where the Mesos DNS binary should be installed.

    Default:

    mesos_dns_bin: "/opt/mesos-dns-{{mesos_dns_version}}"
    
  • mesos_dns_resolvers:

    An ordered list of DNS resolvers to use for external lookups.

    To first resolve internal domain names and fall back to external use:

     mesos_dns_resolver:
      - 10.10.10.10 # Internal
      - 8.8.8.8 # Google
    

    Default:

    mesos_dns_resolvers:
     - 8.8.8.8