buy jintropin

Configuration of multiple DNS servers in origin-upstream-dns.conf


[ hide ]

    How to configure primary and secondary upstream dns servers in /etc/dnsmasq.d/origin-upstream-dns.conf.
    You should configure multiple upstream DNS servers for eliminating A single point of failure (SPOF).
    You can configure multiple upstream DNS servers through NetworkManager.
    For example, If there are Primary DNS server: and Secondary DNS server:, then you can configure as follows.

    1. nmcli con mod eth0 ipv4.dns, # systemctl restart NetworkManager # systemctl restart dnsmasq # cat /etc/dnsmasq.d/origin-upstream-dns.conf server= server=

    Root Cause
    First NetworkManager creates /etc/resolv.conf based on its configuration.
    Then /etc/NetworkManager/dispatcher.d/ script would create a /etc/dnsmasq.d/origin-upstream-dns.conf based on /etc/resolv.conf which is just created by NetworkManager.
    Finally the /etc/resolv.conf is changed to point the node hosts by

    Leave a Reply