Re: [systemd-devel] nss-myhostname: why don't loopback interfaces appear?

2015-06-10 Thread Simon McVittie
On 10/06/15 03:18, Daurnimator wrote: example use case, I'm testing a client/server protocol: - the server is running locally; and because it shouldn't be exposed to the internet, it is bound to localhost. - I start the client and tell it to connect to $HOSTNAME Why wouldn't you tell the

Re: [systemd-devel] nss-myhostname: why don't loopback interfaces appear?

2015-06-10 Thread Dimitri John Ledkov
On 3 June 2015 at 06:40, Daurnimator q...@daurnimator.com wrote: I was playing around with nss, and found that my loopback interface ip doesn't appear from nss-myhostname. Rather, my other ones do. Furthermore, unless I request IPv4, link-local IPv6 addresses are returned. Is this expected?

Re: [systemd-devel] nss-myhostname: why don't loopback interfaces appear?

2015-06-10 Thread Lennart Poettering
On Wed, 10.06.15 11:17, Simon McVittie (simon.mcvit...@collabora.co.uk) wrote: On 10/06/15 03:18, Daurnimator wrote: example use case, I'm testing a client/server protocol: - the server is running locally; and because it shouldn't be exposed to the internet, it is bound to localhost.

Re: [systemd-devel] nss-myhostname: why don't loopback interfaces appear?

2015-06-10 Thread Lennart Poettering
On Wed, 10.06.15 12:18, Daurnimator (q...@daurnimator.com) wrote: On 9 June 2015 at 20:36, Lennart Poettering lenn...@poettering.net wrote: On Wed, 03.06.15 16:31, Daurnimator (q...@daurnimator.com) wrote: On 3 June 2015 at 16:01, Lennart Poettering lenn...@poettering.net wrote: On Wed,

Re: [systemd-devel] nss-myhostname: why don't loopback interfaces appear?

2015-06-09 Thread Lennart Poettering
On Wed, 03.06.15 16:31, Daurnimator (q...@daurnimator.com) wrote: On 3 June 2015 at 16:01, Lennart Poettering lenn...@poettering.net wrote: On Wed, 03.06.15 15:40, Daurnimator (q...@daurnimator.com) wrote: I was playing around with nss, and found that my loopback interface ip doesn't

Re: [systemd-devel] nss-myhostname: why don't loopback interfaces appear?

2015-06-09 Thread Daurnimator
On 9 June 2015 at 20:36, Lennart Poettering lenn...@poettering.net wrote: On Wed, 03.06.15 16:31, Daurnimator (q...@daurnimator.com) wrote: On 3 June 2015 at 16:01, Lennart Poettering lenn...@poettering.net wrote: On Wed, 03.06.15 15:40, Daurnimator (q...@daurnimator.com) wrote: I was

Re: [systemd-devel] nss-myhostname: why don't loopback interfaces appear?

2015-06-03 Thread Daurnimator
On 3 June 2015 at 16:01, Lennart Poettering lenn...@poettering.net wrote: On Wed, 03.06.15 15:40, Daurnimator (q...@daurnimator.com) wrote: I was playing around with nss, and found that my loopback interface ip doesn't appear from nss-myhostname. Rather, my other ones do. Furthermore, unless

Re: [systemd-devel] nss-myhostname: why don't loopback interfaces appear?

2015-06-03 Thread Lennart Poettering
On Wed, 03.06.15 15:40, Daurnimator (q...@daurnimator.com) wrote: I was playing around with nss, and found that my loopback interface ip doesn't appear from nss-myhostname. Rather, my other ones do. Furthermore, unless I request IPv4, link-local IPv6 addresses are returned. Is this expected?

[systemd-devel] nss-myhostname: why don't loopback interfaces appear?

2015-06-02 Thread Daurnimator
I was playing around with nss, and found that my loopback interface ip doesn't appear from nss-myhostname. Rather, my other ones do. Furthermore, unless I request IPv4, link-local IPv6 addresses are returned. Is this expected? $ uname -n daurn-m3800 $ getent hosts daurn-m3800