Re: Strip domain name from hostnames in output

2024-09-16 Thread Urs Thuermann
Michael Stone writes: > On Mon, Sep 16, 2024 at 11:18:19AM +0200, Steve Keller wrote: > >Is there a config option in libc, the host name resolver or somewhere > >else to show hostnames in my own domain without the full domain name? > > no You could at least achieve that desired behavior by putt

Re: Strip domain name from hostnames in output

2024-09-16 Thread Michael Stone
On Mon, Sep 16, 2024 at 11:18:19AM +0200, Steve Keller wrote: Is there a config option in libc, the host name resolver or somewhere else to show hostnames in my own domain without the full domain name? no

Strip domain name from hostnames in output

2024-09-16 Thread Steve Keller
Is there a config option in libc, the host name resolver or somewhere else to show hostnames in my own domain without the full domain name? E.g. when I have the domain "my.domain" I want that string to stripped off from all hostnames shown. Usually, tools always show the FQDN: foo:~ $ cat /et