mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: "Joshua Hudson" <joshudson@gmail.com>
To: linux-kernel@vger.kernel.org
Subject: Re: [PATCH] Add compile domain (was: Re: [PATCH] Well, Linus seems to like Lordi...)
Date: Mon, 29 May 2006 13:47:11 -0700	[thread overview]
Message-ID: <bda6d13a0605291347t71311c6g95ebf53aa2ac392f@mail.gmail.com> (raw)
In-Reply-To: <Pine.LNX.4.64.0605291318420.5623@g5.osdl.org>

Yeah, hostname --fqdn is so broken:

joshua@numenor:~$ hostname
numenor
joshua@numenor:~$ hostname --fqdn
numenor
joshua@numenor:~$

My normal take is not to use the FQDN as the hostname because it
becomes too long.
If I ever need to know my outside-facing IP address, I connect a UDP
socket to 1.2.3.4
and to a getsockname(). To get outside-hostname, I do a reverse-lookup on that.
Since 1.0.0.0/8 will never be allocated, this is gauranteed to work
when there is a way out.
If there's no way out, I'll find that out too.

  reply	other threads:[~2006-05-29 20:47 UTC|newest]

Thread overview: 38+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-05-25 14:17 [PATCH] Well, Linus seems to like Lordi Kyle McMartin
2006-05-25 15:46 ` Linus Torvalds
2006-05-25 16:02   ` Steven Rostedt
2006-05-25 16:15   ` alan
2006-05-25 16:26     ` Linus Torvalds
2006-05-25 16:43       ` Jan Engelhardt
2006-05-26 23:47         ` Folkert van Heusden
2006-05-27  7:05           ` Oliver Neukum
2006-05-25 16:37 ` [PATCH] Add compile domain (was: Re: [PATCH] Well, Linus seems to like Lordi...) Jan Engelhardt
2006-05-25 16:48   ` Linus Torvalds
2006-05-25 18:40     ` Jan Engelhardt
2006-05-25 18:47       ` Linus Torvalds
2006-05-25 18:53         ` [PATCH] Add compile domain İsmail Dönmez
2006-05-25 18:59           ` Jan Engelhardt
2006-05-25 19:00             ` İsmail Dönmez
2006-05-25 18:54         ` [PATCH] Add compile domain (was: Re: [PATCH] Well, Linus seems to like Lordi...) Alistair John Strachan
2006-05-25 19:02           ` Jan Engelhardt
2006-05-25 21:14             ` [PATCH] Add compile domain Martin J. Bligh
2006-05-25 21:38               ` Alistair John Strachan
2006-05-25 22:12                 ` Måns Rullgård
2006-05-25 21:43               ` Måns Rullgård
2006-05-25 19:06           ` [PATCH] Add compile domain (was: Re: [PATCH] Well, Linus seems to like Lordi...) Linus Torvalds
2006-05-25 20:29           ` Lennart Sorensen
2006-05-26 11:56             ` Jan Engelhardt
2006-05-26 21:11               ` Christian Trefzer
2006-05-27  2:14                 ` [PATCH] Add compile domain Bernd Eckenfels
2006-05-29 12:25                 ` [PATCH] Add compile domain (was: Re: [PATCH] Well, Linus seems to like Lordi...) Gabor Gombas
2006-05-29 23:13                   ` [PATCH] Add compile domain Bernd Eckenfels
2006-05-30 13:54                     ` Gabor Gombas
2006-05-27  2:13             ` Bernd Eckenfels
2006-05-25 19:43         ` [PATCH] Add compile domain (was: Re: [PATCH] Well, Linus seems to like Lordi...) bjdouma
2006-05-25 20:13       ` Lennart Sorensen
2006-05-25 20:34         ` H. Peter Anvin
2006-05-27  2:19         ` [PATCH] Add compile domain Bernd Eckenfels
2006-05-29 12:08     ` [PATCH] Add compile domain (was: Re: [PATCH] Well, Linus seems to like Lordi...) Gabor Gombas
2006-05-29 20:20       ` Linus Torvalds
2006-05-29 20:47         ` Joshua Hudson [this message]
2006-05-29 23:17           ` [PATCH] Add compile domain Bernd Eckenfels

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=bda6d13a0605291347t71311c6g95ebf53aa2ac392f@mail.gmail.com \
    --to=joshudson@gmail.com \
    --cc=linux-kernel@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®