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 higher level. > > DNs relies on layer 2 so using rDNS to display hostnames (or worse, that > abomination called /etc/hosts) is logically circular and nonsensical > > Hostnames are there to abstract addresses when addresses don't matter. > Addresses very much do matter at the ifconfig level so if you need them > then, you probably shouldn't be looking at ifconfig at all (don't you > know your own addresses?) > > And finally the relationship between address and names is many<->many, > so which one you gonna use?
Thanks for the input Alan, Yes, I do remember them when I'm setting it UP; but after a while I have to think if I get the correct IP or tun address. I think "yellow" note sticker on the side of the monitor will do the trick :-) -- Thelma