Notes DNS - serveur - Resolver

Dnsmasq

Voir aussi :

Configure systemd-resolved to use a specific DNS nameserver for a given domain

Multiple DNS Servers with specific domains

/etc/dnsmasq.conf

server=/domain.net/172.166.7.23 server=/domain.com/142.124.17.12

Voir https://access.redhat.com/documentation/fr-fr/red_hat_enterprise_linux/8/html/configuring_and_managing_networking/using-different-dns-servers-for-different-domains_configuring-and-managing-networking

SystemD - systemd-resolved - NetworkManager

Configs différentes par carte réseau

systemctl --now enable systemd-resolved

/etc/NetworkManager/NetworkManager.conf

[main] dns=systemd-resolved
systemctl reload NetworkManager

Définir ipv4.dns-search et/ou ipv6.dns-search

sudo resolvectl