Gestion concurrente des serveurs DNS avec resolvconf

De Linux Server Wiki
Aller à la navigation Aller à la recherche

Patch permettant le support du Predictable Network Interface Device Names :

--- /etc/resolvconf/interface-order.orig     2019-12-22 20:24:56.745540685 +0000
+++ /etc/resolvconf/interface-order          2019-12-22 20:33:46.785910193 +0000
@@ -14,10 +14,25 @@
 @(br|eth)*([^.]).inet
 @(br|eth)*([^.]).@(dhclient|dhcpcd|pump|udhcpc)
 @(br|eth)*
+en@(o|s|x|p)*([^.]).inet6
+en@(o|s|x|p)*([^.]).ip6.@(dhclient|dhcpcd|pump|udhcpc)
+en@(o|s|x|p)*([^.]).inet
+en@(o|s|x|p)*([^.]).@(dhclient|dhcpcd|pump|udhcpc)
+en@(o|s|x|p)*
 @(ath|wifi|wlan)*([^.]).inet6
 @(ath|wifi|wlan)*([^.]).ip6.@(dhclient|dhcpcd|pump|udhcpc)
 @(ath|wifi|wlan)*([^.]).inet
 @(ath|wifi|wlan)*([^.]).@(dhclient|dhcpcd|pump|udhcpc)
 @(ath|wifi|wlan)*
+wl@(o|s|x|p)*([^.]).inet6
+wl@(o|s|x|p)*([^.]).ip6.@(dhclient|dhcpcd|pump|udhcpc)
+wl@(o|s|x|p)*([^.]).inet
+wl@(o|s|x|p)*([^.]).@(dhclient|dhcpcd|pump|udhcpc)
+wl@(o|s|x|p)*
+ww@(o|s|x|p)*([^.]).inet6
+ww@(o|s|x|p)*([^.]).ip6.@(dhclient|dhcpcd|pump|udhcpc)
+ww@(o|s|x|p)*([^.]).inet
+ww@(o|s|x|p)*([^.]).@(dhclient|dhcpcd|pump|udhcpc)
+ww@(o|s|x|p)*
 ppp*
 *