Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.debian.user > #174563
| From | Glenn English <ghe2001@gmail.com> |
|---|---|
| Newsgroups | linux.debian.user |
| Subject | Re: set domain name in Debian ` |
| Date | 2016-11-12 04:50 +0100 |
| Message-ID | <sCxuh-54u-1@gated-at.bofh.it> (permalink) |
| References | <sCqVP-OQ-3@gated-at.bofh.it> <sCr5w-Sj-23@gated-at.bofh.it> <sCsbf-1Q9-3@gated-at.bofh.it> <sCsEi-20Z-13@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
> On Nov 11, 2016, at 3:31 PM, Greg Wooledge <wooledg@eeg.ccf.org> wrote: > > On Fri, Nov 11, 2016 at 02:47:48PM -0700, Glenn English wrote: >>> On Nov 11, 2016, at 1:52 PM, Greg Wooledge <wooledg@eeg.ccf.org> 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. Why do people even KNOW about it, let > alone use it? :( > > wooledg@wooledg:~$ hostname > wooledg > wooledg@wooledg:~$ hostname -f > wooledg I claim you've got the same problem I do :-) I looked at bit at hostname -f. It goes through a few levels (of .sh, it looks like) and finally asks something in a C library. So if hostname -f is giving bad data, the shell just doesn't have the right info. > Including a domain name in that output is ridiculous if all of your > systems are used within the same organization. Maybe. But mine aren't. They've been in slsware.net, .dmz, and .lan. > This is a DNS registrat thing. It has nothing to do with Debian OK. Then it's not what I'm looking for. I'm pretty sure what I need very much has to do with Debian. > If your computer has a preferred fully qualified domain name, then you > can put it in there. Debian puts the computer's own hostname (with or > without an attached domain name) on the IP 127.0.1.1, thus: > > 127.0.0.1 localhost > 127.0.1.1 wooledg Just did that. Didn't work. Is a reboot required? (This thing takes a long time to reboot.) > host(1) is indeed one of the many commands that can look up a name in > DNS. host www.slsware.org gets the right IP. (localhost; there's no DNS info on the 'Net about this server yet.) From an alien domain, running that command, specifying my DNS with an IP, works too. > As I said before, if you don't specify a fully qualifed domain > name, then the "search" line(s) in /etc/resolv.conf will tell the > resolver which domain names to slap onto the end of the hostname before > looking it up. > > wooledg@wooledg:~$ cat /etc/resolv.conf > search eeg.ccf.org > nameserver 10.76.142.103 > nameserver 10.76.142.42 > nameserver 172.28.254.24 > > wooledg@wooledg:~$ host wooledg > wooledg.eeg.ccf.org has address 10.76.172.109 Says 'Host slsware not found' here. (Still no reboot.) > Thus, you need to be looking at your DNS setup with your domain registrar. Don't need to. I do my own. > That should be your top priority. I read that and ran and configured DNS. Nobody cares, AFAICT. > All that matters is what's in DNS. I hear you. But it's a nagging piece of config that the kernel doesn't know its name. It exists for a reason, and it's built in to the kernel for something. It may well be something hanging over from 1975 -- if so, I'd like to know for sure, one way or the other. > Set the local hostname to something that will help you remember which > machine you're logged into. That's all. That's already done. Setting the host's name is easy. It's the domain that's making me crazy. -- Glenn English Did you just click Reply? If so, change the send address from gmail to ghe@slsware.net
Back to linux.debian.user | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
set domain name in Debian ` Glenn English <ghe2001@gmail.com> - 2016-11-11 21:50 +0100
Re: set domain name in Debian ` Greg Wooledge <wooledg@eeg.ccf.org> - 2016-11-11 22:00 +0100
Re: set domain name in Debian ` Glenn English <ghe2001@gmail.com> - 2016-11-11 23:10 +0100
Re: set domain name in Debian ` Greg Wooledge <wooledg@eeg.ccf.org> - 2016-11-11 23:40 +0100
Re: set domain name in Debian ` Glenn English <ghe2001@gmail.com> - 2016-11-12 04:50 +0100
Re: set domain name in Debian ` Joe <joe@jretrading.com> - 2016-11-11 23:50 +0100
Re: set domain name in Debian ` Glenn English <ghe2001@gmail.com> - 2016-11-12 01:40 +0100
Re: set domain name in Debian ` Andy Smith <andy@strugglers.net> - 2016-11-12 06:00 +0100
Re: set domain name in Debian ` Glenn English <ghe2001@gmail.com> - 2016-11-12 07:40 +0100
Re: set domain name in Debian ` Andy Smith <andy@strugglers.net> - 2016-11-12 07:50 +0100
Re: set domain name in Debian ` Glenn English <ghe2001@gmail.com> - 2016-11-12 10:20 +0100
Re: set domain name in Debian ` Andy Smith <andy@strugglers.net> - 2016-11-12 11:30 +0100
Re: set domain name in Debian ` Brian <ad44@cityscape.co.uk> - 2016-11-12 13:40 +0100
Re: set domain name in Debian ` Glenn English <ghe2001@gmail.com> - 2016-11-12 17:10 +0100
Re: set domain name in Debian ` sunrise@mailbug.com - 2016-11-12 19:40 +0100
Re: set domain name in Debian ` Glenn English <ghe2001@gmail.com> - 2016-11-12 20:30 +0100
Re: set domain name in Debian ` Greg Wooledge <wooledg@eeg.ccf.org> - 2016-11-14 14:30 +0100
Re: set domain name in Debian ` Glenn English <ghe2001@gmail.com> - 2016-11-14 23:00 +0100
Re: set domain name in Debian ` David Wright <deblis@lionunicorn.co.uk> - 2016-11-14 23:40 +0100
Re: set domain name in Debian ` Greg Wooledge <wooledg@eeg.ccf.org> - 2016-11-15 14:10 +0100
Re: set domain name in Debian ` Greg Wooledge <wooledg@eeg.ccf.org> - 2016-11-15 15:20 +0100
Re: set domain name in Debian ` Brian <ad44@cityscape.co.uk> - 2016-11-15 16:00 +0100
Re: set domain name in Debian ` Greg Wooledge <wooledg@eeg.ccf.org> - 2016-11-15 16:20 +0100
Re: set domain name in Debian ` Brian <ad44@cityscape.co.uk> - 2016-11-15 16:40 +0100
Re: set domain name in Debian ` David Wright <deblis@lionunicorn.co.uk> - 2016-11-15 17:10 +0100
Re: set domain name in Debian ` Brian <ad44@cityscape.co.uk> - 2016-11-15 15:20 +0100
Re: set domain name in Debian ` Joe <joe@jretrading.com> - 2016-11-15 16:10 +0100
Re: set domain name in Debian ` Brian <ad44@cityscape.co.uk> - 2016-11-15 16:50 +0100
Re: set domain name in Debian ` Joe <joe@jretrading.com> - 2016-11-15 17:30 +0100
Re: set domain name in Debian ` Henrique de Moraes Holschuh <hmh@debian.org> - 2016-11-12 16:50 +0100
Re: set domain name in Debian ` Glenn English <ghe2001@gmail.com> - 2016-11-12 18:20 +0100
Re: set domain name in Debian ` Henrique de Moraes Holschuh <hmh@debian.org> - 2016-11-12 19:40 +0100
Re: set domain name in Debian ` Glenn English <ghe2001@gmail.com> - 2016-11-12 22:40 +0100
csiph-web