[prev in list] [next in list] [prev in thread] [next in thread] 

List:       mutt-dev
Subject:    Re: The future of mutt...
From:       Derek Martin <invalid () pizzashack ! org>
Date:       2013-10-06 19:19:11
Message-ID: 20131006191911.GV13440 () dragontoe ! org
[Download RAW message or body]


On Sun, Oct 06, 2013 at 12:01:05PM -0700, Alexander Gattin wrote:
> You have several hostnames or A records or domain names or whatever.
> Then you have `hostname`, which is configured in kernel, at least in
> Linux (cat /proc/sys/kernel/hostname), which may match some A
> record, or not. Or match partially. Your method does not even do
> that. 

You're still making assumptions here that the host is using DNS, which
is by no means the only way to configure host name resolution, and in
fact almost all Unix systems use a combination of multiple methods
simultaneously.  The hostname need not match any A records.  For my
patch to work, all that matters is that the configured host resolution
mechanism can turn the hostname into an IP, and that resolving that IP
gets you a domain name.  That's guaranteed to work, because if it
doesn't your machine is broken.

 
> Just imagine that there was no such thing as `hostname` in kernel. 

I'm not going to imagine that because it's a requirement of TCP/IP.
All machines have a hostname.

 
-- 
Derek D. Martin    http://www.pizzashack.org/   GPG Key ID: 0xDFBEAD02
-=-=-=-=-
This message is posted from an invalid address.  Replying to it will result in
undeliverable mail due to spam prevention.  Sorry for the inconvenience.


[Attachment #3 (application/pgp-signature)]

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic