<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugs.freebsd.org/bugzilla/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.4.1"
          urlbase="https://bugs.freebsd.org/bugzilla/"
          
          maintainer="bugmeister@FreeBSD.org"
>

    <bug>
          <bug_id>262290</bug_id>
          
          <creation_ts>2022-03-02 08:41:08 +0000</creation_ts>
          <short_desc>After a normal FreeBSD installation and reboot, /etc/resolv.conf will be changed.</short_desc>
          <delta_ts>2022-03-03 09:34:03 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>Base System</product>
          <component>conf</component>
          <version>13.0-RELEASE</version>
          <rep_platform>Any</rep_platform>
          <op_sys>Any</op_sys>
          <bug_status>Closed</bug_status>
          <resolution>Works As Intended</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>---</priority>
          <bug_severity>Affects Many People</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="ykla">yklaxds</reporter>
          <assigned_to name="freebsd-bugs (Nobody)">bugs</assigned_to>
          <cc>ACCOUNT_DELETED</cc>
    
    <cc>axey.endres</cc>
    
    <cc>lwhsu</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1201359</commentid>
    <comment_count>0</comment_count>
    <who name="ykla">yklaxds</who>
    <bug_when>2022-03-02 08:41:08 +0000</bug_when>
    <thetext>When installing FreeBSD, the network was configured and DNS was set up correctly. However, when rebooting into a new system, the DNS in /etc/resolv.conf will be changed, and the DNS will most likely be 127.0.0.1, which is the wrong DNS and will not connect to the network. And the DNS device performed during the installation will be commented out with # to make it invalid. FreeBSD should keep the DNS settings that were made at the time of installation unmodified.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1201369</commentid>
    <comment_count>1</comment_count>
    <who name="Axey Gabriel Muller Endres">axey.endres</who>
    <bug_when>2022-03-02 11:50:44 +0000</bug_when>
    <thetext>Did you enable local_unbound during installation? Then it&apos;s all right</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1201471</commentid>
    <comment_count>2</comment_count>
    <who name="ykla">yklaxds</who>
    <bug_when>2022-03-03 08:29:01 +0000</bug_when>
    <thetext>Thanks a lot.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1201478</commentid>
    <comment_count>3</comment_count>
    <who name="Li-Wen Hsu">lwhsu</who>
    <bug_when>2022-03-03 09:34:03 +0000</bug_when>
    <thetext>If you have local_unbound enabled, having 127.0.0.1 /etc/resolv.conf is correct because it supposes to use the local caching resolver.  If you cannot &quot;connect to the network&quot; (I guess this means &quot;cannot resolve a hostname&quot;), please check if the local_unbound daemon is really running. (`$ service local_unbound status`)</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>