Questions tagged [getent]

24 questions
17
votes
1 answer

getent hosts prints IPv6, getent ahosts prints IPv4

Verbatim output from my terminal: $ getent hosts example.org 2001:500:88:200::10 example.org $ getent ahosts example.org 192.0.43.10 STREAM 43-10.any.icann.org 192.0.43.10 DGRAM 192.0.43.10 RAW I thought they were both (at the…
l0b0
  • 51,350