aboutsummaryrefslogtreecommitdiffstats
path: root/roles/host/templates/etc_resolv.conf.j2
diff options
context:
space:
mode:
Diffstat (limited to 'roles/host/templates/etc_resolv.conf.j2')
-rw-r--r--roles/host/templates/etc_resolv.conf.j22
1 files changed, 2 insertions, 0 deletions
diff --git a/roles/host/templates/etc_resolv.conf.j2 b/roles/host/templates/etc_resolv.conf.j2
new file mode 100644
index 0000000..b382ecf
--- /dev/null
+++ b/roles/host/templates/etc_resolv.conf.j2
@@ -0,0 +1,2 @@
+search {{ lan_search_domain }}
+nameserver {{ dns_nameserver | default(lan_ipv4_gateway) }}