Changed 127.0.0.1 to 192.0.2.1

On Fri, Mar 28, 2014 at 1:38 AM, Petr Spacek <pspa...@redhat.com> wrote:

> On 28.3.2014 02:09, Gabe Alford wrote:
>
>> I believe that Martin is right about the server installer no longer
>> putting
>> 127.0.0.1 in the resolv.conf. Here is a mod patch to address Martin's
>> concern if the note needs to be changed to show a real IP address.
>>
>
> Okay, that is new for me :-)
>
> Conditional ACK. Please change the IP address before push to something
> from:
> http://tools.ietf.org/html/rfc5737#section-3
>
> 192.0.2.1 sounds like a good candidate.
>
> Thanks!
>
> Petr^2 Spacek
>
>
>  On Thu, Mar 27, 2014 at 4:14 AM, Martin Basti <mba...@redhat.com> wrote:
>>
>>  On Thu, 2014-03-27 at 10:33 +0100, Petr Spacek wrote:
>>>
>>>> On 27.3.2014 10:23, Martin Basti wrote:
>>>>
>>>>> On Wed, 2014-03-26 at 17:40 -0600, Gabe Alford wrote:
>>>>>
>>>>>> All,
>>>>>>
>>>>>> Please review patch for https://fedorahosted.org/freeipa/ticket/3085
>>>>>>
>>>>>> Added note that 'nameserver 127.0.0.1' is added to resolv.conf, that
>>>>>> it is recommended to add more replicas to resolv.conf, and the max
>>>>>> nameservers allowed in resolv.conf.
>>>>>>
>>>>>>  Actually, my ipa-server-install puts into /etc/resolv.conf its ip
>>>>> address itself not localhost
>>>>>
>>>>> After fresh install:
>>>>> #cat /etc/resolv.conf
>>>>> search example.com
>>>>> nameserver 10.*.*.*
>>>>>
>>>>
>>>> IMHO /etc/resolv.conf was overwritten by DHCPd (when IPA installation
>>>> was
>>>> finished).
>>>>
>>>>
>>> I inspect ipa-server-install source code and installation adds to
>>> resolv.conf a real server address.
>>>
>>> DHCP leave note in resolv.conf when generate it.
>>>
>>
From f59c32bfc76ed7c4f3a8406a1537f0aa287bf673 Mon Sep 17 00:00:00 2001
From: Gabe <redhatri...@gmail.com>
Date: Fri, 28 Mar 2014 17:13:28 -0600
Subject: [PATCH] [DOC] Update resolv.conf nameserver note to reflect real IP
 address

- Added example of real IP address as the installer inserts a real IP address into resolv.conf.
---
 src/user_guide/en-US/DNS.xml | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/user_guide/en-US/DNS.xml b/src/user_guide/en-US/DNS.xml
index ab120e80efcf1ff41e0f774dba8b357818e6cb2a..db4efc58c7c63f010cf0ecf013c77a1f4c415ab7 100644
--- a/src/user_guide/en-US/DNS.xml
+++ b/src/user_guide/en-US/DNS.xml
@@ -69,8 +69,8 @@
 					When DNS is configured either by the <option>--setup-dns</option> option
 				during the intial &IPA; install or the <command>ipa-dns-install</command> command
 				after the intial &IPA; setup, the &IPA; server installer creates
-				<filename>/etc/resolv.conf</filename> with the following line:
-				<screen>nameserver 127.0.0.1</screen>
+				<filename>/etc/resolv.conf</filename> with the &IPA; server's IP address. For example:
+				<screen>nameserver 192.0.2.1</screen>
                                 </para>
                         </listitem>
                         <listitem>
-- 
1.9.0

_______________________________________________
Freeipa-devel mailing list
Freeipa-devel@redhat.com
https://www.redhat.com/mailman/listinfo/freeipa-devel

Reply via email to