Debian /etc/hosts に異常なエントリがあります

Debian /etc/hosts に異常なエントリがあります

UbuntuからDebianに変わりました。

Debian で/etc/hosts新しくインストールされたファイルは (クラウドサーバー上):

127.0.1.1   static.246.62.63.178.clients.your-server.de static

# The following lines are desirable for IPv6 capable hosts
::1     localhost ip6-localhost ip6-loopback
ff02::1 ip6-allnodes
ff02::2 ip6-allrouters

何ですかstatic.246.62.63.178.clients.your-server.de

〜らしいIPアドレスは将来の使用のために予約されています。

交換せずにそのままにしておきますか?たとえば、大丈夫ですか(私のサーバーがexample.comの場合)。

127.0.0.1   localhost example.com

# The following lines are desirable for IPv6 capable hosts
::1     localhost ip6-localhost ip6-loopback example.com
ff02::1 ip6-allnodes
ff02::2 ip6-allrouters

ベストアンサー1

名前としてのIPアドレスは通常DNSエントリと同じように逆方向に読み取られるため、PTR名前は246.62.63.178ではなく178.63.62.246に対応する必要があります。

このような場合は、ヘッツナーのサーバーを使用することをお勧めします。

アイテムを削除できますが、それがマシンと呼ばれるものであれば(それがまさにそれと呼ばれるものです)、任意の種類のアイテムを維持することをお勧めします。例えば

127.0.0.1      localhost loopback
178.63.62.246  my.preferred.hostname.example.com
178.63.62.246  static.246.62.63.178.clients.your-server.de

おすすめ記事