Re: set domain name in Debian `

2016-11-15 Thread Joe
On 15/11/2016 15:45, Brian wrote: On Tue 15 Nov 2016 at 15:02:54 +, Joe wrote: That's fairly common, the exim4 default if enabled is to check that the HELO is resolvable at all, not that it matches anything specific. It's a few years since I last did it, but when I used telnet to talk to

Re: set domain name in Debian `

2016-11-15 Thread David Wright
On Tue 15 Nov 2016 at 10:10:17 (-0500), Greg Wooledge wrote: > On Tue, Nov 15, 2016 at 02:59:14PM +, Brian wrote: > > On Tue 15 Nov 2016 at 09:18:33 -0500, Greg Wooledge wrote: > > > Second choice: > > > System mail name: > > > eeg.ccf.org > > > > Eighth choice: > > > Keep number of DNS-

Re: set domain name in Debian `

2016-11-15 Thread Brian
On Tue 15 Nov 2016 at 15:02:54 +, Joe wrote: > On 15/11/2016 14:10, Brian wrote: > >Exim wants to see a fqdn in the 127.0.1.1 line, written as specified in > >hosts(5): > > > > IP_address canonical_hostname [aliases...] > > > >The canonical_hostname is used for the HELO/EHLO. > > Default, ca

Re: set domain name in Debian `

2016-11-15 Thread Brian
On Tue 15 Nov 2016 at 10:10:17 -0500, Greg Wooledge wrote: > On Tue, Nov 15, 2016 at 02:59:14PM +, Brian wrote: > > On Tue 15 Nov 2016 at 09:18:33 -0500, Greg Wooledge wrote: > > > Second choice: > > > System mail name: > > > eeg.ccf.org > > > > Eighth choice: > > > Keep number of DNS-q

Re: set domain name in Debian `

2016-11-15 Thread Greg Wooledge
On Tue, Nov 15, 2016 at 02:59:14PM +, Brian wrote: > On Tue 15 Nov 2016 at 09:18:33 -0500, Greg Wooledge wrote: > > Second choice: > > System mail name: > > eeg.ccf.org > > Eighth choice: > > Keep number of DNS-queries minimal? > > No > > You didn't use "yes"? Of course not. Why wou

Re: set domain name in Debian `

2016-11-15 Thread Joe
On 15/11/2016 14:10, Brian wrote: On Tue 15 Nov 2016 at 08:00:31 -0500, Greg Wooledge wrote: On Mon, Nov 14, 2016 at 04:29:35PM -0600, David Wright wrote: As your own hostname -f produces not dots, what approach do you use to shut exim up, or do you just ignore (or suppress) the message?

Re: set domain name in Debian `

2016-11-15 Thread Brian
On Tue 15 Nov 2016 at 09:18:33 -0500, Greg Wooledge wrote: > On Tue, Nov 15, 2016 at 02:10:14PM +, Brian wrote: > > With 'dpkg-reconfigure exim4-config' the message > > > > "Starting MTA:hostname --fqdn did not return a fully qualified name, > > dc_minimaldns will not work. Please fix your

Re: set domain name in Debian `

2016-11-15 Thread Greg Wooledge
On Tue, Nov 15, 2016 at 02:10:14PM +, Brian wrote: > With 'dpkg-reconfigure exim4-config' the message > > "Starting MTA:hostname --fqdn did not return a fully qualified name, > dc_minimaldns will not work. Please fix your /etc/hosts setup." > > should appear if "yes" is chosen for the optio

Re: set domain name in Debian `

2016-11-15 Thread Brian
On Tue 15 Nov 2016 at 08:00:31 -0500, Greg Wooledge wrote: > On Mon, Nov 14, 2016 at 04:29:35PM -0600, David Wright wrote: > > As your own hostname -f produces not dots, what approach do you > > use to shut exim up, or do you just ignore (or suppress) the message? > > I have (control over) a

Re: set domain name in Debian `

2016-11-15 Thread Greg Wooledge
On Mon, Nov 14, 2016 at 04:29:35PM -0600, David Wright wrote: > As your own hostname -f produces not dots, what approach do you > use to shut exim up, or do you just ignore (or suppress) the message? I have (control over) a bunch of computers, and they're not all configured the same. The mach

Re: set domain name in Debian `

2016-11-14 Thread David Wright
On Mon 14 Nov 2016 at 08:27:06 (-0500), Greg Wooledge wrote: > [...] So when you do your "hostname -f" > (which I still contend is a rubbish command which serves no useful > purpose, but it's what you seem to want, so I'll roll with it), it > looks up "srv" in thi

Re: set domain name in Debian `

2016-11-14 Thread Glenn English
> On Nov 14, 2016, at 6:27 AM, Greg Wooledge wrote: > > On Sat, Nov 12, 2016 at 08:50:46AM -0700, Glenn English wrote: >>> On Nov 12, 2016, at 3:25 AM, Andy Smith wrote: >>> I am 95% confident that the reason that Glenn's system thinks the >>> FQDN is "www.slsware.dmz" is because the first inst

Re: set domain name in Debian `

2016-11-14 Thread Greg Wooledge
On Sat, Nov 12, 2016 at 08:50:46AM -0700, Glenn English wrote: > > On Nov 12, 2016, at 3:25 AM, Andy Smith wrote: > > I am 95% confident that the reason that Glenn's system thinks the > > FQDN is "www.slsware.dmz" is because the first instance of "srv" in > > the /etc/hosts is: > > > >>> 192.168.

Re: set domain name in Debian `

2016-11-12 Thread Glenn English
> On Nov 12, 2016, at 11:31 AM, Henrique de Moraes Holschuh > wrote: > > But the whole thing really doesn't need any DNS servers *as long as* > everything you need is resolved statically by some module in > /etc/nsswitch.conf... such as the default "files" module, which reads > /etc/hosts. > r

Re: set domain name in Debian `

2016-11-12 Thread Glenn English
> On Nov 12, 2016, at 11:17 AM, sunr...@mailbug.com wrote: > > > Hi Glenn, > > > On Sat, 12 Nov 2016 08:50:46 -0700 > Glenn English wrote: > > ... >>> 216.17.203.65 out.slsware.org oso >>> 216.17.203.66 srv.slsware.org sso > > This might be your problem??

Re: set domain name in Debian `

2016-11-12 Thread sunrise
Hi Glenn, On Sat, 12 Nov 2016 08:50:46 -0700 Glenn English wrote: ... > >It never occurred to me that something might be looking at aliases; I thought >the IP >address was the important thing. And the srv...dmz entry is commented out >because I >thought it might somehow be used. > >I'll rem

Re: set domain name in Debian `

2016-11-12 Thread Henrique de Moraes Holschuh
On Sat, 12 Nov 2016, Glenn English wrote: > Thanks all. It's been quite a ride. Now everybody write it down: it > has nothing to do with what's in /etc/hosts or /etc/resolv.conf. There > has to be a live, accessible DNS server for the domain somewhere. At > least at slsware.org there does. Maybe f

Re: set domain name in Debian `

2016-11-12 Thread Glenn English
> On Nov 12, 2016, at 8:46 AM, Henrique de Moraes Holschuh > wrote: > > hostname -f does this: > > 1. Asks glibc for the hostname, using gethostname(). > > 2. Does an IP lookup on the hostname, using getaddrinfo() and the > hostname it got from gethostname(), and returns the result from >

Re: set domain name in Debian `

2016-11-12 Thread Glenn English
> On Nov 12, 2016, at 3:25 AM, Andy Smith wrote: > > The system thinks Glenn's domain name is "slsware.dmz". Glenn wants it > to be "slsware.org" (I think). Correct. > Glenn has set the host name to be "srv". Correct. > I am 95% confident that the reason that Glenn's system thinks the > FQDN

Re: set domain name in Debian `

2016-11-12 Thread Henrique de Moraes Holschuh
On Fri, 11 Nov 2016, Glenn English wrote: > /proc/sys/domainname says "(none)". hostname -f gives the old domain /proc/sys/domainname is the kernel's idea of a domain name, which is only used by some network filesystems (kernel-based NFS, I think), AFAIK. Nothing else needs it. And if you set up

Re: set domain name in Debian `

2016-11-12 Thread Brian
On Sat 12 Nov 2016 at 10:25:16 +, Andy Smith wrote: > Glenn has set the host name to be "srv". > > I am 95% confident that the reason that Glenn's system thinks the > FQDN is "www.slsware.dmz" is because the first instance of "srv" in > the /etc/hosts is: > > > > 192.168.2.203 www.slswar

Re: set domain name in Debian `

2016-11-12 Thread Andy Smith
Hi, On Sat, Nov 12, 2016 at 02:00:11AM -0700, Glenn English wrote: > (Resend. Accidentally sent to a human instead of to the list...) I responded off-list to Glenn since that one arrived first and I wasn't sure if Glenn intended the contents of their /etc/hosts to be private. Later I saw this cop

Re: set domain name in Debian `

2016-11-12 Thread Glenn English
(Resend. Accidentally sent to a human instead of to the list...) > On Nov 11, 2016, at 11:45 PM, Andy Smith wrote: > > Okay. So I think we should focus on why "hostname -f" returns the > wrong/outdated info. I'm not sure yet. > > Out of interest what does "hostname -d" return? slsware.dmz (W

Re: set domain name in Debian `

2016-11-11 Thread Andy Smith
Hi Glenn, On Fri, Nov 11, 2016 at 11:13:02PM -0700, Glenn English wrote: > > On Nov 11, 2016, at 9:58 PM, Andy Smith wrote: > > After you have done that, what command are you using which shows you > > the old/incorrect values? > > Mostly hostname - f. That's what I've used in a number if shell >

Re: set domain name in Debian `

2016-11-11 Thread Glenn English
> On Nov 11, 2016, at 9:58 PM, Andy Smith wrote: > > I normally put the short name in /etc/hostname and then the: > > > > in /etc/hosts. That works for me both for setting initial host name > and FQDN, and for changing it later. Yeah, that's what I hear, and exactly that's in there. IIR

Re: set domain name in Debian `

2016-11-11 Thread Andy Smith
Hi Glenn, On Fri, Nov 11, 2016 at 01:27:28PM -0700, Glenn English wrote: > I have to change the domain name of a Jessie server I'm working on. How do > you do it? (Aside from putting the FQDN in /etc/hostname, which kinda works.) I normally put the short name in /etc/hostname and then the:

Re: set domain name in Debian `

2016-11-11 Thread Glenn English
> On Nov 11, 2016, at 3:31 PM, Greg Wooledge wrote: > > On Fri, Nov 11, 2016 at 02:47:48PM -0700, Glenn English wrote: >>> On Nov 11, 2016, at 1:52 PM, Greg Wooledge wrote: >>> >>> So... what are you actually trying to do? Be very specific. >> >> Well, I'd like the domain name to be the same

Re: set domain name in Debian `

2016-11-11 Thread Glenn English
> On Nov 11, 2016, at 3:45 PM, Joe wrote: > > I think we still do not have the terms of reference straight. > > First of all, it's a server. Who is it serving? People within the local > network only, people out on the Net, or both? Both. It's on the 'Net, but it's also where the email comes in

Re: set domain name in Debian `

2016-11-11 Thread Joe
On Fri, 11 Nov 2016 14:47:48 -0700 Glenn English wrote: > > On Nov 11, 2016, at 1:52 PM, Greg Wooledge > > wrote: > > > > So... what are you actually trying to do? Be very specific. > > Well, I'd like the domain name to be the same everywhere. hostname -f > and whois (that currently return

Re: set domain name in Debian `

2016-11-11 Thread Greg Wooledge
On Fri, Nov 11, 2016 at 02:47:48PM -0700, Glenn English wrote: > > On Nov 11, 2016, at 1:52 PM, Greg Wooledge wrote: > > > > So... what are you actually trying to do? Be very specific. > > Well, I'd like the domain name to be the same everywhere. hostname -f hostname -f is totally useless. Wh

Re: set domain name in Debian `

2016-11-11 Thread Glenn English
> On Nov 11, 2016, at 1:52 PM, Greg Wooledge wrote: > > So... what are you actually trying to do? Be very specific. Well, I'd like the domain name to be the same everywhere. hostname -f and whois (that currently returns the ISP's info) and /etc/hosts and host and a DNS lookup and everythin

Re: set domain name in Debian `

2016-11-11 Thread Greg Wooledge
On Fri, Nov 11, 2016 at 01:27:28PM -0700, Glenn English wrote: > This seems to be a common question -- it's all over the 'Net. > > I have to change the domain name of a Jessie server I'm working on. How do > you do it? (Aside from putting the FQDN in /etc/hostname, which kinda works.) That depe

set domain name in Debian `

2016-11-11 Thread Glenn English
This seems to be a common question -- it's all over the 'Net. I have to change the domain name of a Jessie server I'm working on. How do you do it? (Aside from putting the FQDN in /etc/hostname, which kinda works.) I've seen several posts on the subject, all contradicting each other, and none

Re: SV: set domain name

2006-10-06 Thread Richard Lyons
On Thu, 2006-10-05 at 17:54 +0200, Kenneth Grande wrote: "Andrew Critchlow" <[EMAIL PROTECTED]> wrote: > > > Also, eveytime I change resolv.conf it gets changed back to something > > else, could this be because there is a dhcp server running and the interface > > is configured to accept dhcp? >

Re: set domain name

2006-10-05 Thread Andrei Popescu
"Kenneth Grande" <[EMAIL PROTECTED]> wrote: > I think he means that his resolv.conf gets overwritten by the information > provided by the dhcp server as discussed here (with solution): OP: [...] could this be because there is a dhcp server running [...] It is not very clear were this server is r

SV: set domain name

2006-10-05 Thread Kenneth Grande
. oktober 2006 17:42 Til: debian-user@lists.debian.org Emne: Re: set domain name "Andrew Critchlow" <[EMAIL PROTECTED]> wrote: > What's the best way to set the local domain and a debian server? Use the command 'hostname'. If you want to preserve the change over r

Re: set domain name

2006-10-05 Thread Andrei Popescu
"Andrew Critchlow" <[EMAIL PROTECTED]> wrote: > What's the best way to set the local domain and a debian server? Use the command 'hostname'. If you want to preserve the change over reboots edit /etc/hostname > Also, eveytime I change resolv.conf it gets changed back to something else, > could

set domain name

2006-10-05 Thread Andrew Critchlow
What's the best way to set the local domain and a debian server? Also, eveytime I change resolv.conf it gets changed back to something else, could this be because there is a dhcp server running and the interface is configured to accept dhcp?                       thanks