Description of problem: iPXE itself does not support multiple DNS servers. Version-Release number of selected component (if applicable): all How reproducible: 100% Steps to Reproduce: try to configure multiple nameservers Actual results: there's no such option Expected results: user can configure multiple nameservers as kernel options, an example template that is normally used to create iPXE configuration can be found at https://github.com/theforeman/community-templates/blob/develop/provisioning_templates/iPXE/kickstart_default_ipxe.erb Additional info: This was requested by customer as an enhancement of Satellite 6 iPXE provisioning. Please see BZ 1402557 for more information.
Another request that would benefit from this is BZ 1401126
This would likely best be implemented as a second config option (dns2 or some such), as the entire code base is written to assume a fixed set of dns servers. Does that seem reasonable?
It's totally fine to have dns2= as long as it's then configured as secondary dns server. Thanks
Created attachment 1480857 [details] draft patch 0 for dns2 option This patch is by no means complete, but I wanted to get it to you early. It currently will fail if the dns2 option is not configured, and may time out early, but if you could please give it a test and confirm that it sends out packets to the backup dns server if the primary server fails to respond, I would appreciate it.
I'm sorry, I'm unable to test the patch in foreseeable future.
ping, there has been no traction on this in 2 months. Is anyone going to test this or should we close it?
Lukas: 1) This is an RFE. ipxe not supporting two nameservers is why it was open, and why I wrote the attached patch over 8 months ago 2) Ive written the patch and had intentions to post it to the ipxe community once it got some testing 3) The customers requested this as an RFE, but appears completely unable/unwilling to test the proposed patch out 4) I'm the ipxe engineer waiting to get this tested. I gave it priority and then no one was able to follow up on it. I've left this sitting open for a year and no one has touched the work I put into it. Closing since it seems clear this isn't a priority.
Apologies Neil, I should have read the bug top to bottom. Frankly, I don't believe it's important to provide this feature for provisioning phase. However now that I see you already wrote some code and I totally do not want to let any code to be thrown away, I can test this. But some questions: You introduced new setting called dns2 however documentation (http://ipxe.org/cfg/dns) says: When multiple DNS servers are specified, only the first server will be used. I think there is a mechanism or intention by authors to support multiple "dns" options or maybe values separated by space or comma? Can you tell? Would it be possible to write some debug message when there is a DNS failover for easier testing?