<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>merrywhite</author_name>
  <author_url>https://blog.hatena.ne.jp/merrywhite/</author_url>
  <blog_title>CAFE BREAK</blog_title>
  <blog_url>https://cafebreak.hatenablog.com/</blog_url>
  <categories>
    <anon>Linux、CentOS</anon>
  </categories>
  <description>大したネタではないのですが、Linux，CentOS7でホスト名追加時に全角スペースが含まれていると、名前解決できないという事象に遭遇。普通はないと思いますが、手順をコピー＆ペーストして発生したんですが、手順のスペースが全角になっていました。 ということで、設定変更後は、きちんとhostsファイルの設定が反映、有効になっているか確認したほうがいいですね。ちなみに、RHEL7 hostsファイルを正しく変更してもホスト名が変わらない場合の対処法も紹介しておきます。 以前、現場で経験したんですが、RHEL7の仮想サーバを構築し、クローン展開して、hostsファイルを変更して再起動したところ、なぜか…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fcafebreak.hatenablog.com%2Fentry%2F2021%2F03%2F02%2F000000&quot; title=&quot;Linux，CentOS7でホスト名追加時に全角スペースを入れると名前解決できない - CAFE BREAK&quot; class=&quot;embed-card embed-blogcard&quot; scrolling=&quot;no&quot; frameborder=&quot;0&quot; style=&quot;display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;&quot;&gt;&lt;/iframe&gt;</html>
  <image_url>https://thumbnail.image.rakuten.co.jp/@0_mall/tokado-tv/cabinet/syouhin/99/06538361/imgrc0071528953.jpg?_ex=128x128</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2021-03-02 00:00:00</published>
  <title>Linux，CentOS7でホスト名追加時に全角スペースを入れると名前解決できない</title>
  <type>rich</type>
  <url>https://cafebreak.hatenablog.com/entry/2021/03/02/000000</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
