Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.debian.user > #194743
| From | john doe <johndoe65534@mail.com> |
|---|---|
| Newsgroups | linux.debian.user |
| Subject | Re: changing local domain name |
| Date | 2018-04-13 13:30 +0200 |
| Message-ID | <vE53Y-31b-3@gated-at.bofh.it> (permalink) |
| References | (2 earlier) <vyLSh-5cb-9@gated-at.bofh.it> <vyVoB-36i-1@gated-at.bofh.it> <vz4UV-RL-1@gated-at.bofh.it> <vAnLP-4bU-3@gated-at.bofh.it> <vDR10-1Qo-7@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
On 4/12/2018 10:21 PM, David Wright wrote: > On Tue 03 Apr 2018 at 08:37:29 (+0200), john doe wrote: >> On 3/30/2018 6:11 PM, David Wright wrote: >>> On Fri 30 Mar 2018 at 08:05:31 (+0200), john doe wrote: >>>> On 3/29/2018 9:56 PM, mick crane wrote: >>>>> On 2018-03-29 19:34, Curt wrote: >>>>>> On 2018-03-29, mick crane <mick.crane@gmail.com> wrote: >>>>>>> following recent about hostname it seems I've been under >>>>>>> misunderstanding that ".local" was OK so now I change local domain to >>>>>>> ".home" . >>>>>>> It's not just domainname and /etc/hosts. It's every frigging where. >>>>>>> apache >>>>>>> roundcube >>>>>>> postfix >>>>>>> now my ISP SMTP server is moaning. >>>>>>> >>>>>>> think I got them all except cups is unhappy, I don't know why. >>>>>>> >>>>>> >>>>>> There's actually a wiki on this: >>>>>> >>>>>> https://wiki.debian.org/HowTo/ChangeHostname >>>>>> >>>>>> For cups you might look at >>>>>> >>>>>> /etc/printcap >>>>>> >>>>>> the part after rm= >>>>>> rm=einstein >>>>>> ******** >>>>>> >>>>>> Of course that part is the part to the left of the first dot in your >>>>>> fqdn. >>>>>> >>>>>> Anyway, good luck (my hostname is incorrect, but as it has never caused >>>>>> me any misery, I've left well enough alone up to this point). >>>>> >>>>> Oh, there's more in /var. I'm going to ignore the binary files as >>>>> I don't think they are current and I don't know how to edit them >>>>> anyway. >>>>> In fact the installation is a bit old I could do with tidying it >>>>> all up anyway so I might as well start afresh. >>>>> >>>> >>>> I always start from scratch when I need to change the >>>> hostname/domain on a host. >>>> That's probably the only reason I need to start afresh! >>> >>> Unless you're running an advertised server, in which case one would >>> wonder why you felt the need to change things (perhaps part of a >>> bigger disruption), I can only say I find this rather extreme. >> >> Thanks for the caution. >> As part of improving my network; I went for meaningless hostname and >> using CNAME record to better describe the host. > > It's not really the hostnames that concern me, but the name of the > domain. (I've only seen the one posting about hostnames, and it's > not settled whether they were serious or not. I tried to give them > the benefit of the doubt with RFC 8117.) > >>> Years ago, I would clone a system (or build in a different box) and then >>> move it into its new home with very few files to alter. About the only >>> confusion caused was to ARP, and that only happened when I was on >>> thinwire ethernet and lasted a few minutes. >>> >>> I've struggled to find a multitude of files with the name of the >>> domain in them. Beyond hosts and mailname, where are you finding them >>> all? >> >> For starter I use recursive grep on '/etc' '/home' ... > > I didn't say "how do you¹ find them" but "where are you finding them". > I wouldn't be bothering with /home: anything there is self-inflicted > and can be tidied up any time. The critical ones are /etc and /var/lib > because files here are involved in running the machine. > > Apart from the obvious suspects (the files that configure the network > and email system), I don't see many. On a wired system: > > /etc/hosts:127.0.1.1 ← canonical domainname and hostname > /etc/exim4/update-exim4.conf.conf ← according to your configuration > /etc/mailname ← ditto > > Everything else is either logs (in the past) or cache (ephemeral): > > /etc/.git/logs/refs/heads/master ← etckeeper package is installed > /etc/.git/logs/HEAD ← ditto > /var/log/… ← occasional references > /var/cache/debconf/config.dat ← remembers what you configured > > ¹ "you" being the person who wrote "It's every frigging where." > As ilustrated by the above not every one is an english speaker and could misunderstand the point you are trying to make! :) An other thing I'd like to add is that not every one has the same level of experience. -John -- John Doe
Back to linux.debian.user | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
changing local domain name mick crane <mick.crane@gmail.com> - 2018-03-29 19:10 +0200
Re: changing local domain name Curt <curty@free.fr> - 2018-03-29 20:40 +0200
Re: changing local domain name mick crane <mick.crane@gmail.com> - 2018-03-29 22:00 +0200
Re: changing local domain name john doe <johndoe65534@mail.com> - 2018-03-30 08:10 +0200
Re: changing local domain name David Wright <deblis@lionunicorn.co.uk> - 2018-03-30 18:20 +0200
Re: changing local domain name john doe <johndoe65534@mail.com> - 2018-04-03 08:40 +0200
Re: changing local domain name David Wright <deblis@lionunicorn.co.uk> - 2018-04-12 22:30 +0200
Re: changing local domain name john doe <johndoe65534@mail.com> - 2018-04-13 13:30 +0200
Re: changing local domain name Dan Purgert <dan@djph.net> - 2018-04-13 14:30 +0200
Re: changing local domain name rhkramer@gmail.com - 2018-04-13 14:50 +0200
Re: changing local domain name Dan Purgert <dan@djph.net> - 2018-04-13 15:10 +0200
Re: changing local domain name David Wright <deblis@lionunicorn.co.uk> - 2018-04-13 16:10 +0200
Re: changing local domain name Brian <ad44@cityscape.co.uk> - 2018-03-30 00:10 +0200
Re: changing local domain name David Wright <deblis@lionunicorn.co.uk> - 2018-03-30 04:10 +0200
Re: changing local domain name Curt <curty@free.fr> - 2018-03-30 10:40 +0200
Re: changing local domain name Brian <ad44@cityscape.co.uk> - 2018-03-30 15:10 +0200
Re: changing local domain name Brian <ad44@cityscape.co.uk> - 2018-03-30 20:30 +0200
Re: changing local domain name David Wright <deblis@lionunicorn.co.uk> - 2018-03-31 04:20 +0200
Re: changing local domain name Joe <joe@jretrading.com> - 2018-03-31 13:40 +0200
Re: changing local domain name David Wright <deblis@lionunicorn.co.uk> - 2018-03-31 17:20 +0200
Re: changing local domain name Gene Heskett <gheskett@shentel.net> - 2018-03-31 17:30 +0200
Re: changing local domain name Joe <joe@jretrading.com> - 2018-03-31 20:50 +0200
Re: changing local domain name David Wright <deblis@lionunicorn.co.uk> - 2018-04-03 00:10 +0200
Re: changing local domain name Dan Purgert <dan@djph.net> - 2018-04-03 13:30 +0200
csiph-web