Commit 9ce3d2b8 authored by Simon Cornet's avatar Simon Cornet
Browse files

feat(dns): add dns options

parent 312df44f
Loading
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -21,6 +21,7 @@ debian_repo_url_update: "http://deb.debian.org/debian"
dns_search: "example.internal"
dns_servers:
  - "192.168.10.1"
dns_options: []

# firewall
firewall_enable: true
+1 −0
Original line number Diff line number Diff line
@@ -22,6 +22,7 @@ Manage core Operating System components and system defaults.
|----------------|----------|--------------------------|--------------------------------|
| `dns_servers`  | No       | `["192.168.10.1"]`       | List of DNS nameservers to use |
| `dns_search`   | No       | `["example.internal"]`   | List of search domains to use  |
| `dns_options`  | No       | `[]`                     | List of resolver options       |

### NTP Configuration

+3 −0
Original line number Diff line number Diff line
@@ -4,3 +4,6 @@ nameserver {{ dns_server }}
{% if "example" not in dns_search -%}
search {{ dns_search }}
{% endif %}
{% if dns_options -%}
options {{ dns_options | join(' ') }}
{% endif %}