Re: Name resolution for kickstart

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 6 October 2014 22:29:56 GMT+01:00, CLOSE Dave <Dave.Close@xxxxxxxxxxxxxxxxxx> wrote:
>I wrote:
>
>> We have a number of internal machines which run a local nameserver.
>> It's primarily a relay for the wider net but does a few other things
>> as well. So DHCP is configured to specify 127.0.0.1 as the nameserver
>> address for these machines.
>>
>> Of course, that is also what kickstart is told when it connects and
>> begins operation. But, of course, kickstart is not running a local
>> nameserver. This means that name resolution for the "repo" lines in
>> the kickstart file doesn't work and installations fail.
>>
>> The only workaround I've found is to use IP addresses in the "repo"
>> lines, not the associated names. But this isn't ideal: addresses can
>> change and sites using multiple addresses can't be properly matched.
>>
>> Is there a way I can tell kickstart not to use the resolver specified
>> by DHCP but instead use one that I specify in the kickstart file?
>
>On 10/03/2014 08:40 PM, Tim wrote:
>
>> Specify the details on your DHCP server.  Actually sending 127.0.0.1
>> is an odd thing, because it means "yourself," and I'd only send such
>> data to those specific machines.  For everything else, give a
>> specific DNS server address for one of those machines.  Do all of
>> that on the DHCP server.  Have some specific machine entries (your
>> servers), and separate configuration for a range of dynamic client
>> machines.
>
>Thanks for the reply. But I understand how to configure DHCP. As I
>wrote
>above, "DHCP is configured to specify 127.0.0.1 as the nameserver
>address for these machines". Only for those machines.
>
>The difficulty is that, during kickstart the DHCP configuration is
>wrong. I'd much rather not have to use a different configuration for
>kickstart than for normal operation. While I can do that for an initial
>installation, it is far trickier if the machine needs to be
>re-installed
>later. A re-installation ought to be as simple and selecting PXE during
>boot. There shouldn't be a need to change the DHCP configuration before
>and after.

I think you might be better setting it up a slightly different way. Get the DHCP server to send a normal DNS server for machines installing and get the kickstart file to configure the machines to ignore the DNS server from the dhcp server (PEERDNS=no) and use DNS1=127.0.0.1 instead. 
--
Junk
-- 
users mailing list
users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org




[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [EPEL Devel]     [Fedora Magazine]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Desktop]     [Fedora Fonts]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Fedora Sparc]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux