Re: configuration of a linux router



On Mon, Mar 17, 2008 at 11:20:24AM -0700, peasthope@xxxxxxx wrote:
dt> if you don't own peasthope.yi.org, then I wouldn't use it even locally.

But I do own the machine and the name.
OK
I, personally, for the 127.0.0.1 would only use localhost and
localhost.localdomain

yi.org is a dynamic dns service. Not
already being allocated is a precondition
to assigning "peasthope.yi.org" to my computer.

If this means that there is some possibility at any given time that you
will not own that domain, then I would not use it locally. I'd use
something else entirely. I suppose there would be no problem with using
"peasthope' without the .yi.org as a local domain sice without it, it
will never be routable on the internet.

dt> It is a valid name.

So ... I miss your drift here.

I've seen people use a made-up name on their local network then have
trouble, if they don't get their DNS setup just right, with packets
getting routed to the real "example.com" whatever. I thought that you
had just made up the name.

If you owned the name outright, then there would be no problem using it
locally.

dt> e.g.
dt> 172.23.4.1 [thisbox].[yourlocaldoamin] [thisbox]

Is [yourlocaldoamin] a domain name used
only on my private LAN?

Yes. One that cannot be routed to the internet, unless you own the
domain.

I understand why computers have names.
"ftp curie" is better than "ftp 172.23.4.2".
But what is the benefit of a domain name
for my LAN?

Well, any time you need to lump your network together in, e.g.
hosts.allow or in an MTA setup (e.g. host for which you will relay mail),
its a lot easier to say " *.hooton" than to individually list all the
hosts. Especially if you later add a host, you don't have to go around
adding its name everywhere. I also is fundamental if you use anything
other than "files" for resolving.

The revised /etc/hosts is appended. With
any luck it is closer to what you suggested.

===========================================
.joule:~# cat /etc/hosts
# /etc/hosts file
127.0.0.1 localhost.localdomain localhost

# Private LANs at home
172.23.4.1 joule.shaw.ca joule
172.23.4.2 curie.shaw.ca curie

172.23.5.1 joule.shaw.ca joule
172.23.5.2 heaviside.shaw.ca heaviside

Now you're using shaw.ca for your home domain. Do you own that? Would
you like to e.g. relay mail for all of shaw.ca?



--
To UNSUBSCRIBE, email to debian-user-REQUEST@xxxxxxxxxxxxxxxx
with a subject of "unsubscribe". Trouble? Contact listmaster@xxxxxxxxxxxxxxxx



Relevant Pages

  • Re: [OT] port 53
    ... If you are serving DNS requests, ... sm01@stt008:~$ host 128.63.2.53 ... 53.2.63.128.in-addr.arpa domain name pointer h.root-servers.net. ... To UNSUBSCRIBE, email to debian-user-REQUEST@xxxxxxxxxxxxxxxx ...
    (Debian-User)
  • Re: Mouse/keyboard no longer work after apt-get dist-upgrade in testing?
    ... On Sat, 19 Sep 2009, Justin Piszcz wrote: ... I have two hosts (x86_64) & running and after apt-get dist-upgrade this morning, I can no longer use my keyboard/mouse on either after a reboot on both machines? ... On the x86_64 host it is usb+usb. ... To UNSUBSCRIBE, email to debian-user-REQUEST@xxxxxxxxxxxxxxxx with a subject of "unsubscribe". ...
    (Debian-User)
  • Re: scp problem
    ... scp -p file 192.168.1.1:./ssh ... The authenticity of host '192.168.1.105 ' can't be established. ... To UNSUBSCRIBE, email to debian-user-REQUEST@xxxxxxxxxxxxxxxx ...
    (Debian-User)
  • Re: Nagios shows only one Host (Services)
    ... different configuraion file, ... It's like there is some kind of setting saying "Show only first host". ... script in charge of rendering the information) and not from Nagios itself. ... To UNSUBSCRIBE, email to debian-user-REQUEST@xxxxxxxxxxxxxxxx ...
    (Debian-User)
  • Re: configuration of a linux router
    ... yi.org is a dynamic dns service. ... only on my private LAN? ... any luck it is closer to what you suggested. ... To UNSUBSCRIBE, email to debian-user-REQUEST@xxxxxxxxxxxxxxxx ...
    (Debian-User)