On 03/03/16 at 07:40pm, Xunlei Pang wrote:
For large number of machines, they should rely on dhcp to deploy,
specifying DNS directly through /etc/resolv.conf is not standard,
the info will be overridden by the info in ifcfg files and dhcp after
each reboot (I verified this both on RHEL and fedora), so it would
be better if kdump can follow the same way as RHEL and fedora.
It can be fixed, if there is local script to appending specific DNS
after /etc/resolv.conf being generated by NM.
If customers want to add extra DNS to kdump, the recommended way
is specifying them in the corresponding ifcfg file. But they also can do
it through cmdline using dracut's "nameserver=" command, or just
specify them in /etc/sysconfig/kdump via KDUMP_COMMANDLINE_APPEND.
Just regard /etc/resolv.conf as a temporary volatile memory.
The net device name may be different with other machines. It's hard to
configurate DNS in ifcfg-$dev using script.
Thanks
Minfei