Re: "hostname" question during Debian installation

2012-09-13 Thread Martin T
Hello, in order to wrap this hostname question up, then hostname set during the Debian installation is: 1) mapped to an address from 127.0.0.0/8 range in /etc/hosts file. Specifically to IPv4 address 127.0.1.1 2) written to MTA(for example exim4) configuration file 3) written to /etc/mailname 4)

Re: "hostname" question during Debian installation

2012-03-19 Thread Bob Proulx
Tom H wrote: > >> What I find somewhat weird is that when you install Debian, > >> "/etc/hostname" and "/etc/mailname" are the same. > >> So if it's "box.company.internal" and bob runs "mail tom", bob's > >> address'll be "bob@box.company.internal". > > > > Yes. Seems reasonable to me. That is exac

Re: "hostname" question during Debian installation

2012-02-27 Thread Tom H
>> I'm going to try it too. > > Ha! Beat you to it! :-) :) I'd forgotten about this hostname and postfix business until your email arrived last Monday but I haven't had the time to do my (far less thorough) test. On Sun, Feb 19, 2012 at 4:46 PM, Bob Proulx wrote: > Tom H wrote: >> >> Bob Prou

Re: "hostname" question during Debian installation

2012-02-19 Thread Bob Proulx
Tom H wrote: > >> Bob Proulx wrote: > >>> Yes. And also to /etc/postfix/main.cf if postfix is installed. Or to > >>> other places if other MTAs are installed. > >> > >> When you use "dpkg-reconfigure exim4-config" or "dpkg-reconfigure > >> postfix", "/etc/mailname" is updated; in postfix's case be

Re: "hostname" question during Debian installation

2012-02-15 Thread Tom H
On Wed, Feb 15, 2012 at 4:35 PM, Bob Proulx wrote: > Tom H wrote: >> Bob Proulx wrote: >>> Yes. And also to /etc/postfix/main.cf if postfix is installed.  Or to >>> other places if other MTAs are installed. >> >> When you use "dpkg-reconfigure exim4-config" or "dpkg-reconfigure >> postfix", "/et

Re: "hostname" question during Debian installation

2012-02-15 Thread Bob Proulx
Tom H wrote: > Bob Proulx wrote: > > Yes. And also to /etc/postfix/main.cf if postfix is installed. Or to > > other places if other MTAs are installed. > > When you use "dpkg-reconfigure exim4-config" or "dpkg-reconfigure > postfix", "/etc/mailname" is updated; in postfix's case because "my > ori

Re: "hostname" question during Debian installation

2012-02-15 Thread Tom H
On Wed, Feb 15, 2012 at 2:12 AM, Bob Proulx wrote: > Martin T wrote: >> thank you for replies! So am I correct, that hostname set during the >> installation is: You're welcome. >> 1) mapped to an address from 127.0.0.0/8 range in /etc/hosts file > > Specifically 127.0.1.1 so that it is always

Re: "hostname" question during Debian installation

2012-02-14 Thread Bob Proulx
Martin T wrote: > thank you for replies! So am I correct, that hostname set during the > installation is: > > 1) mapped to an address from 127.0.0.0/8 range in /etc/hosts file Specifically 127.0.1.1 so that it is always available and doesn't conflict or confuse with 127.0.0.1 localhost. The newe

Re: "hostname" question during Debian installation

2012-02-14 Thread Martin T
Andrei, Tom: thank you for replies! So am I correct, that hostname set during the installation is: 1) mapped to an address from 127.0.0.0/8 range in /etc/hosts file 2) written to /etc/mailname 3) written to "message of the day" file 4) usually used in shell prompt(for example "\[\e]0;\u@\h: \w\a\

Re: "hostname" question during Debian installation

2012-02-13 Thread Tom H
On Sun, Feb 12, 2012 at 8:16 PM, Martin T wrote: > During Debian installation there is a question about "hostname" using > expert installation mode. In both modes but I don't think that "regular" mode asks you for a domain. > Am I correct, that "hostname" inserted during Debian installation i

Re: "hostname" question during Debian installation

2012-02-13 Thread Andrei Popescu
On Lu, 13 feb 12, 03:16:17, Martin T wrote: > During Debian installation there is a question about "hostname" using > expert installation mode. During normal mode as well ;) > Am I correct, that "hostname" inserted during Debian installation is > associated with a local(address from 127.0.0.0/8

Re: hostname question

2010-01-03 Thread Avi Greenbury
www.givemefish.com wrote: > *) Should I use the static IP assigned by my ISP or on the router? Or > is the above correct? The router should have the IP address from your ISP, it will forward requests to your server as per your port forwarding rules. The server doesn't exist on the internet as suc

Re: hostname question

2009-12-31 Thread Camaleón
On Thu, 31 Dec 2009 12:41:03 +0100, www.givemefish.com wrote: > I have a home server setup running Lenny. I have a question about the > hostname and domain name. > > On my server, I would like to host multiple websites using Apache and > virtual hosts. (...) Let me first recommend you the read

Re: hostname question

2008-05-11 Thread Paul Johnson
On Sunday 11 May 2008 12:02:12 am Pete Kay wrote: > I am currently having 3 servers in the lan which is using dynamic IP > addresses. Each time the router is rebooted, I have to reconfigure all the > db ips and server ips. > > Therefore, I want to assign host name to each machine such as "db" , "

Re: hostname question

2008-05-11 Thread Douglas A. Tutty
On Sun, May 11, 2008 at 03:02:12PM +0800, Pete Kay wrote: > I am currently having 3 servers in the lan which is using dynamic IP > addresses. Each time the router is rebooted, I have to reconfigure all the > db ips and server ips. > > Therefore, I want to assign host name to each machine such as

Re: hostname question

2008-05-11 Thread Sharninder
On 11-May-08, at 12:32 PM, "Pete Kay" <[EMAIL PROTECTED]> wrote: Hi, I am currently having 3 servers in the lan which is using dynamic IP addresses. Each time the router is rebooted, I have to reconfigure all the db ips and server ips. Therefore, I want to assign host name to each machi

Re: hostname question

2008-05-11 Thread Andrei Popescu
On Sun, May 11, 2008 at 03:02:12PM +0800, Pete Kay wrote: > Hi, > > I am currently having 3 servers in the lan which is using dynamic IP > addresses. Each time the router is rebooted, I have to reconfigure all the > db ips and server ips. > > Therefore, I want to assign host name to each machine