You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In one scenario, users adopt both IPv4 and IPv6, and devices get addresses from IPv4 and IPv6 dhcp servers, respectively.
In addition, each dhcp servcer provides its own DNS option. For example, the DNS server provied by IPv4 dhcp server is 2.2.2.2, while the DNS server obtained from IPv6 dhcp server is FCD0::2. However, the /etc/resolv.conf file only keeps one DNS server address from IPv4 or IPv6 dhcp server, which will result in the failure to resolve another protocol domain name.
In /etc/sysconfig/network-scripts/network-functions file, the /etc/resolv.conf will be rewritten by change_resolv_conf func rather than appending new dns server to the file as follows,
Is there a good way to keep both DNS server addresses from IPv4 and IPv6 dhcp servers at the same time? Finally, users can obtain the available /etc/resolv.conf as follows,
#cat /etc/resolv.conf
nameserver 2.2.2.2
nameserver fcd0::2
The text was updated successfully, but these errors were encountered:
In one scenario, users adopt both IPv4 and IPv6, and devices get addresses from IPv4 and IPv6 dhcp servers, respectively.
In addition, each dhcp servcer provides its own DNS option. For example, the DNS server provied by IPv4 dhcp server is 2.2.2.2, while the DNS server obtained from IPv6 dhcp server is FCD0::2. However, the /etc/resolv.conf file only keeps one DNS server address from IPv4 or IPv6 dhcp server, which will result in the failure to resolve another protocol domain name.
In /etc/sysconfig/network-scripts/network-functions file, the /etc/resolv.conf will be rewritten by change_resolv_conf func rather than appending new dns server to the file as follows,
Is there a good way to keep both DNS server addresses from IPv4 and IPv6 dhcp servers at the same time? Finally, users can obtain the available /etc/resolv.conf as follows,
#cat /etc/resolv.conf
nameserver 2.2.2.2
nameserver fcd0::2
The text was updated successfully, but these errors were encountered: