Velvet Star Monitor

Standout celebrity highlights with iconic style.

updates

Command "host 127.0.0.1" does not return localhost on Ubuntu 20.04

Writer Mia Lopez

Command "host 127.0.0.1" does not return localhost on Ubuntu 20.04. Is it possible to have it return localhost like it does in Ubuntu 18.04? We've got some tests that require this to work as it used to.

20.04:

root@ubuntu2004-x8664:~# host 127.0.0.1
1.0.0.127.in-addr.arpa has no PTR record

18.04:

root@ubuntu1804-x8664:~# host 127.0.0.1
1.0.0.127.in-addr.arpa domain name pointer localhost.

Thanks in advance. Brendan

3 Reset to default

Know someone who can answer? Share a link to this question via email, Twitter, or Facebook.

Your Answer

Sign up or log in

Sign up using Google Sign up using Facebook Sign up using Email and Password

Post as a guest

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy