Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > gnu.bash.bug > #15236 > unrolled thread

Re: [PATCH] Fix \H: Use getaddrinfo to get full hostname

Started byL A Walsh <bash@tlinx.org>
First post2019-07-24 11:42 -0700
Last post2019-07-24 11:42 -0700
Articles 1 — 1 participant

Back to article view | Back to gnu.bash.bug

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

  Re: [PATCH] Fix \H: Use getaddrinfo to get full hostname L A Walsh <bash@tlinx.org> - 2019-07-24 11:42 -0700

#15236 — Re: [PATCH] Fix \H: Use getaddrinfo to get full hostname

FromL A Walsh <bash@tlinx.org>
Date2019-07-24 11:42 -0700
SubjectRe: [PATCH] Fix \H: Use getaddrinfo to get full hostname
Message-ID<mailman.2165.1563993761.2688.bug-bash@gnu.org>
On 2019/07/24 07:38, Thomas Deutschmann wrote:
> Can you tell me more about your system and how you (your administrator)
> set up your system so that hostname will return FQDN?
>   

My linux box has 2 interfaces, internal & external, with
different domain names on each. While hostname
and hostname-f both return the shortname that is
common to both domain names, i.e.

foo.external.tld            (on eth2)
foo.in.external.tld         (on br0=bridge(eth0+eth5))
& hostname returns 'foo'
& domainname returns 'external.tld'.

My resolve.conf has domain set to 'in.external.tld'.








[toc] | [standalone]


Back to top | Article view | gnu.bash.bug


csiph-web