によって印刷されるフィールドは何getent ahosts DOMAINですか?
の出力getent hostsは、IPとホスト名の単純な組み合わせです。にgetent ahostsは、追加の3番目のフィールドがあります。これは、私のすべてのテストでSTREAM、DGRAMまたはのいずれかRAWです。
の出力 getent hosts example.net
2001:500:88:200::10 example.net
そしてのために getent ahosts example.net
2001:500:88:200::10 STREAM example.net
2001:500:88:200::10 DGRAM
2001:500:88:200::10 RAW
192.0.43.10 STREAM
192.0.43.10 DGRAM
192.0.43.10 RAW