Verified Commit b52a706b authored by Sven-Hendrik Haase's avatar Sven-Hendrik Haase
Browse files

Add systemd-resolved DNS for quick-resolving changed Arch-controlled domains

parent 83307cad
# Query authoritative namesevers directly when resolving
# Arch Linux domains so we instantly know about Arch-specific changes.
DNS= #
DNS=2a01:4f8:0:a101::a:1 #
DNS= #
DNS=2a01:4f8:d0a:2004::2 #
DNS= #
DNS=2001:67c:192c::add:a3 #
......@@ -6,6 +6,12 @@
state: restarted
daemon_reload: yes
- name: restart resolved
name: systemd-resolved
state: restarted
daemon_reload: yes
- name: restart journald
name: systemd-journald
......@@ -75,6 +75,14 @@
service: name=systemd-networkd state=started enabled=yes
when: configure_network
- name: create additional resolved config directory
file: path=/etc/systemd/resolved.conf.d
- name: configure additional resolved config for resolving Arch domains
copy: src=resolved-arch.conf dest=/etc/systemd/resolved.conf.d/resolved-arch.conf owner=root group=root mode=0644
- restart resolved
- name: create additional network config directory
file: path=/etc/systemd/network/ state=directory owner=root group=root mode=0755
when: dhcp|default(False) and additional_addresses is defined
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment