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

Remove resolved changes for quicker DNS lookups for now

They were apparently controversial and more research is needed.
parent 95d354d7
Pipeline #3882 passed with stage
in 47 seconds
# Query authoritative namesevers directly when resolving
# Arch Linux domains so we instantly know about Arch-specific changes.
# The default nameservers provided by Hetzner DHCP are very slow to pick up such changes.
[Resolve]
DNS=213.239.242.238 # ns1.first-ns.de
DNS=2a01:4f8:0:a101::a:1 # ns1.first-ns.de
DNS=213.133.105.6 # robotns2.second-ns.de
DNS=2a01:4f8:d0a:2004::2 # robotns2.second-ns.de
DNS=193.47.99.3 # robotns3.second-ns.com
DNS=2001:67c:192c::add:a3 # robotns3.second-ns.com
Domains=~archlinux.org ~pkgbuild.com
......@@ -6,12 +6,6 @@
state: restarted
daemon_reload: yes
- name: restart resolved
systemd:
name: systemd-resolved
state: restarted
daemon_reload: yes
- name: restart journald
systemd:
name: systemd-journald
......
......@@ -75,24 +75,6 @@
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
notify:
- restart resolved
- name: create additional network config directory
file: path=/etc/systemd/network/10-dhcp-ethernet.network.d state=directory owner=root group=root mode=0755
when: dhcp|default(False) and additional_addresses is defined
- name: configure additional network addresses
template: src=additional_addresses.conf.j2 dest=/etc/systemd/network/10-dhcp-ethernet.network.d/additional_addresses.conf owner=root group=root mode=0644
notify:
- restart networkd
when: dhcp|default(False) and additional_addresses is defined
- name: start resolved
service:
name: systemd-resolved
......
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