aboutsummaryrefslogtreecommitdiffstats
path: root/roles/dns/files/resolv.conf
diff options
context:
space:
mode:
authorAaron LI <aly@aaronly.me>2018-02-21 11:51:44 +0800
committerAaron LI <aly@aaronly.me>2018-02-21 11:51:44 +0800
commitbc59213a33e609f177093a8e955f44b3999c8b56 (patch)
tree9a1e3af3bdb40d72b5bb8f9f2e6ed82632d44435 /roles/dns/files/resolv.conf
parent5cc888e1c9384ae4f0a6f71718ab2acc97c0269d (diff)
downloadansible-dfly-vps-bc59213a33e609f177093a8e955f44b3999c8b56.tar.bz2
Add role dns to setup unbound service
Diffstat (limited to 'roles/dns/files/resolv.conf')
-rw-r--r--roles/dns/files/resolv.conf13
1 files changed, 13 insertions, 0 deletions
diff --git a/roles/dns/files/resolv.conf b/roles/dns/files/resolv.conf
new file mode 100644
index 0000000..9c9a0be
--- /dev/null
+++ b/roles/dns/files/resolv.conf
@@ -0,0 +1,13 @@
+#
+# /etc/resolv.conf
+# DragonFly BSD
+#
+# Aaron LI
+#
+
+# Increase timeout to 30 seconds (default: 5 seconds)
+options timeout:30
+
+# Local DNS (recursive resolver) by "unbound"
+nameserver 127.0.0.1
+#nameserver ::1