Skip to content

Commit

Permalink
Release v2.3.3
Browse files Browse the repository at this point in the history
  • Loading branch information
brianshumate committed Feb 28, 2019
1 parent 24820e5 commit 5fd7591
Show file tree
Hide file tree
Showing 4 changed files with 14 additions and 2 deletions.
3 changes: 2 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@
## v2.3.3 (UNRELEASED)
## v2.3.3

- Add services management (thanks @Sispheor)
- Add enable_local_script_checks configuration (thanks @canardleteer)
- Add ability to enable legacy GUI (thanks @imcitius)
- Optional domain datacenter delegation with `consul_delegate_datacenter_dns`

## v2.3.2

Expand Down
5 changes: 5 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -929,6 +929,11 @@ consul3.node.consul. 0 IN A 10.1.42.230
;; WHEN: Sun Aug 7 18:06:32 2016
;;
```

### `consul_delegate_datacenter_dns`
- Whether to delegate Consul datacenter DNS domain to Consul
- Default value: false

### `consul_dnsmasq_enable`

- Whether to install and configure DNS API forwarding on port 53 using DNSMasq
Expand Down
2 changes: 2 additions & 0 deletions defaults/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -191,6 +191,7 @@ consul_tls_verify_server_hostname: false
consul_tls_files_remote_src: false

## DNS
consul_delegate_datacenter_dns: "{{ lookup('env','CONSUL_DELEGATE_DATACENTER_DNS') | default(false, true) }}"
consul_dnsmasq_enable: "{{ lookup('env','CONSUL_DNSMASQ_ENABLE') | default(false, true) }}"
consul_dnsmasq_bind_interfaces: false
consul_dnsmasq_consul_address: "\
Expand All @@ -211,6 +212,7 @@ consul_dnsmasq_local_service: false
consul_dnsmasq_listen_addresses: []
consul_iptables_enable: "{{ lookup('env','CONSUL_IPTABLES_ENABLE') | default(false, true) }}"

# Consul Enterprise
consul_enterprise: "{{ lookup('env','CONSUL_ENTERPRISE') | default(false, true) }}"

# Performance
Expand Down
6 changes: 5 additions & 1 deletion templates/dnsmasq-10-consul.j2
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
{# Enable forward lookups for the consul domain -#}
{# Enable forward lookups for the consul domain with conditional delegation -#}
{% if consul_delegate_datacenter_dns -%}
server=/{{ consul_datacenter }}.{{ consul_domain }}/{{ consul_dnsmasq_consul_address }}#{{ consul_ports.dns }}
{% else %}
server=/{{ consul_domain }}/{{ consul_dnsmasq_consul_address }}#{{ consul_ports.dns }}
{% endif -%}

{# Only bind to specific interfaces -#}
{% if consul_dnsmasq_bind_interfaces -%}
Expand Down

0 comments on commit 5fd7591

Please sign in to comment.