Re: [gentoo-user] ifconfig - display/list hostname with IP address

2017-03-02 Thread Alan McKinnon
On 02/03/2017 23:31, the...@sys-concept.com wrote: > On 03/02/2017 02:11 PM, Alan McKinnon wrote: >> On 02/03/2017 22:57, the...@sys-concept.com wrote: >>> running "ifconfig" is it possible to display hostname, especially with >>> "tun" interfaces. >> >> No. >> >> ifconfig operates at layer 2. >> H

Re: [gentoo-user] ifconfig - display/list hostname with IP address

2017-03-02 Thread thelma
On 03/02/2017 02:11 PM, Alan McKinnon wrote: > On 02/03/2017 22:57, the...@sys-concept.com wrote: >> running "ifconfig" is it possible to display hostname, especially with >> "tun" interfaces. > > No. > > ifconfig operates at layer 2. > Hostnames is a dns/resolver concept operating at a much high

Re: [gentoo-user] ifconfig - display/list hostname with IP address

2017-03-02 Thread Michael Orlitzky
On 03/02/2017 03:57 PM, the...@sys-concept.com wrote: > running "ifconfig" is it possible to display hostname, especially with > "tun" interfaces. > > It would be easier to recognize which network is Up or Down. > The closest thing I was able to manage is # ip -r addr show

Re: [gentoo-user] ifconfig - display/list hostname with IP address

2017-03-02 Thread Alan McKinnon
On 02/03/2017 22:57, the...@sys-concept.com wrote: > running "ifconfig" is it possible to display hostname, especially with > "tun" interfaces. No. ifconfig operates at layer 2. Hostnames is a dns/resolver concept operating at a much higher level. DNs relies on layer 2 so using rDNS to display h

[gentoo-user] ifconfig - display/list hostname with IP address

2017-03-02 Thread thelma
running "ifconfig" is it possible to display hostname, especially with "tun" interfaces. It would be easier to recognize which network is Up or Down. -- Thelma