Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.debian.user > #207122 > unrolled thread
| Started by | Mark Fletcher <mark27q1@gmail.com> |
|---|---|
| First post | 2019-04-08 14:40 +0200 |
| Last post | 2019-04-11 19:10 +0200 |
| Articles | 10 on this page of 30 — 13 participants |
Back to article view | Back to linux.debian.user
Simple Linux to Linux(Debian) email Mark Fletcher <mark27q1@gmail.com> - 2019-04-08 14:40 +0200
Re: Simple Linux to Linux(Debian) email Thomas Pircher <thp+debian@p5r.uk> - 2019-04-08 15:20 +0200
Re: Simple Linux to Linux(Debian) email Mark Fletcher <mark27q1@gmail.com> - 2019-04-08 15:50 +0200
Re: Simple Linux to Linux(Debian) email Celejar <celejar@gmail.com> - 2019-04-09 01:00 +0200
RESOLVED: Simple Linux to Linux(Debian) email Mark Fletcher <mark27q1@gmail.com> - 2019-04-11 18:10 +0200
Re: Simple Linux to Linux(Debian) email Ryan Nowakowski <tubaman@fattuba.com> - 2019-04-08 15:30 +0200
Re: Simple Linux to Linux(Debian) email Mark Fletcher <mark27q1@gmail.com> - 2019-04-08 15:40 +0200
Re: Simple Linux to Linux(Debian) email Joe <joe@jretrading.com> - 2019-04-08 15:40 +0200
Re: Simple Linux to Linux(Debian) email Mark Fletcher <mark27q1@gmail.com> - 2019-04-08 16:40 +0200
Re: Simple Linux to Linux(Debian) email <tomas@tuxteam.de> - 2019-04-08 17:50 +0200
Re: Simple Linux to Linux(Debian) email Erik Christiansen <dvalin@internode.on.net> - 2019-04-09 03:50 +0200
Re: Simple Linux to Linux(Debian) email Jan Claeys <lists@janc.be> - 2019-04-09 02:40 +0200
Re: Simple Linux to Linux(Debian) email Mark Fletcher <mark27q1@gmail.com> - 2019-04-11 17:50 +0200
Re: Simple Linux to Linux(Debian) email Greg Wooledge <wooledg@eeg.ccf.org> - 2019-04-11 18:00 +0200
Re: Simple Linux to Linux(Debian) email Mark Fletcher <mark27q1@gmail.com> - 2019-04-11 18:20 +0200
Re: Simple Linux to Linux(Debian) email Greg Wooledge <wooledg@eeg.ccf.org> - 2019-04-11 18:10 +0200
Re: Simple Linux to Linux(Debian) email mick crane <mick.crane@gmail.com> - 2019-04-11 18:20 +0200
Re: Simple Linux to Linux(Debian) email mick crane <mick.crane@gmail.com> - 2019-04-12 10:00 +0200
Re: Simple Linux to Linux(Debian) email Dan Purgert <dan@djph.net> - 2019-04-12 12:10 +0200
Re: Simple Linux to Linux(Debian) email mick crane <mick.crane@gmail.com> - 2019-04-12 12:30 +0200
Re: Simple Linux to Linux(Debian) email Dan Purgert <dan@djph.net> - 2019-04-12 13:10 +0200
Re: Simple Linux to Linux(Debian) email Dan Ritter <dsr@randomstring.org> - 2019-04-12 14:00 +0200
Re: Simple Linux to Linux(Debian) email Gene Heskett <gheskett@shentel.net> - 2019-04-12 14:40 +0200
Re: Simple Linux to Linux(Debian) email mick crane <mick.crane@gmail.com> - 2019-04-12 15:30 +0200
Re: Simple Linux to Linux(Debian) email Dan Purgert <dan@djph.net> - 2019-04-12 17:00 +0200
Re: Simple Linux to Linux(Debian) email Celejar <celejar@gmail.com> - 2019-04-12 23:20 +0200
Re: Simple Linux to Linux(Debian) email mick crane <mick.crane@gmail.com> - 2019-04-13 00:20 +0200
Re: Simple Linux to Linux(Debian) email mick crane <mick.crane@gmail.com> - 2019-04-11 18:10 +0200
Re: Simple Linux to Linux(Debian) email Dan Ritter <dsr@randomstring.org> - 2019-04-11 18:20 +0200
Re: Simple Linux to Linux(Debian) email Jan Claeys <lists@janc.be> - 2019-04-11 19:10 +0200
Page 2 of 2 — ← Prev page 1 [2]
| From | Dan Purgert <dan@djph.net> |
|---|---|
| Date | 2019-04-12 13:10 +0200 |
| Message-ID | <xM2ee-3oX-5@gated-at.bofh.it> |
| In reply to | #207368 |
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA256 mick crane wrote: > On 2019-04-12 10:57, Dan Purgert wrote: >> mick crane wrote: >>> On 2019-04-11 17:16, mick crane wrote: >>>> On 2019-04-11 17:05, Greg Wooledge wrote: >>>>> On Thu, Apr 11, 2019 at 05:02:46PM +0100, mick crane wrote: >>>>>> I think that is what dynamic ip address services do, change the >>>>>> ipaddress >>>>>> but the service has to be on the ISP's router ? >>>>>> Do I understand correctly then when your isp/home address changes >>>>>> your box >>>>>> broadcasts its domain new address to the internet ? >>>>> >>>>> It doesn't have to be on the router. You can set up a hook in >>>>> Debian >>>>> to run an arbitrary command whenever your IP address is changed by >>>>> DHCP. >>>>> This hook receives the old and new IP addresses, and some other >>>>> things, >>>>> as environment variables. It's about 3 lines of code to set it up. >>>>> No >>>>> parsing of the output of any ip or ifconfig command is needed. >>>>> >>>>> https://mywiki.wooledge.org/IpAddress >>>> >>>> I'll have a read but there must be something I don't understand. >>>> Thought there was a hierarchy of domain names mapped to ipaddresses >>>> that all the different servers can query as to where something is. >>> >>> Ok I think I see, you can host your own domain if you have a fixed >>> ipaddress but if have ipaddress that changes need to register domain >>> name and have company host it and advertise they know where it is but >>> can change the nameservers for the domain from theirs to yours at >>> changed ipaddress. >>> You can't willy nilly broadcast any domain to the internet yourself. >> >> Well, once your domain is registered (for example, mine), you can >> either >> >> >> 1. give your registrar the IP address they should point the domain >> to. >> This is easiest with static IP address assignments from your ISP, >> but there's no reason you couldn't do it on a dynamic IP >> >> OR >> >> 2. Use a dynamic DNS provider (e.g. dyndns, no-ip, afraid, many >> others), and have them automatically update the DNS registration >> when your IP address changes. >> >> Note that for option 2, you tell your registrar to use those other >> nameservers, rather than their own. >> >> I use option 2 myself, registered via ... oh I think 1&1 ... but using >> no-ip to provide my dyndns (although the IP hasn't changed in well over >> a year - I still don't want to be caught unawares :) ) > > I thought those dynamic dns services offered a sub domain of their own > domains. Yes, that's for the freebie service (where offered). I think it's $14.95 for the year from no-ip service for my domain. > Can you have any registered domain point to dynamic dns servers and them > redirect it ? If it's yours, and you're paying enough to the service. > I have wondered what they do to stop people broadcasting their own top > level domain. They can't; at least not publicly. There's a hierarchy to DNS servers, and, well, it'd take some doing to supplant the root servers. -----BEGIN PGP SIGNATURE----- iQEzBAEBCAAdFiEEBcqaUD8uEzVNxUrujhHd8xJ5ooEFAlywbf0ACgkQjhHd8xJ5 ooE7jggAnGr7QcTmwefCnp5JFkm3txcGErf3C0B5BYJOIaGHwHDHjWVcFDqdrfX+ 4FNDgIWt/cV+DPngWQHMCfmP6aVv72DMlpvWoHdhcNYrmTo7k6zoCz3JPaugNqSV UHCuRWxInPchZzD6fLlRg6OT8vtX09mYP1/7NUNm6rmYk2yw7RBX0rzRN9y7IaDl iSXZKby0SCUGvmh2rR30ZrF7izW4lqVBzTaHsijh6TLrKoqvFJtp47WMeYHDJG/p 54i/DglDmMkqbdTKPt4PGDBwhlH6D4S/kUNHO8t5kDUwMASqvZuPo5zOFvdpxIyJ Oy0uOSZyczmm5l3InmIyangMY/Rnww== =x5a9 -----END PGP SIGNATURE----- -- |_|O|_| |_|_|O| Github: https://github.com/dpurgert |O|O|O| PGP: 05CA 9A50 3F2E 1335 4DC5 4AEE 8E11 DDF3 1279 A281
[toc] | [prev] | [next] | [standalone]
| From | Dan Ritter <dsr@randomstring.org> |
|---|---|
| Date | 2019-04-12 14:00 +0200 |
| Message-ID | <xM30C-3FH-15@gated-at.bofh.it> |
| In reply to | #207368 |
mick crane wrote: > I have wondered what they do to stop people broadcasting their own top level > domain. Nothing. They don't have to. If you want a top level domain and you control your own nameservers, you've got it. But nobody else is likely to query your nameservers about it, so it won't be used by anyone else. This can actually be useful: you can define .crane for use within your house, and now you have names that nobody else will see. -dsr-
[toc] | [prev] | [next] | [standalone]
| From | Gene Heskett <gheskett@shentel.net> |
|---|---|
| Date | 2019-04-12 14:40 +0200 |
| Message-ID | <xM3Dj-48l-1@gated-at.bofh.it> |
| In reply to | #207372 |
On Friday 12 April 2019 07:54:57 Dan Ritter wrote: > mick crane wrote: > > I have wondered what they do to stop people broadcasting their own > > top level domain. > > Nothing. They don't have to. > > If you want a top level domain and you control your own > nameservers, you've got it. > > But nobody else is likely to query your nameservers about it, so > it won't be used by anyone else. > > This can actually be useful: you can define .crane for use > within your house, and now you have names that nobody else will > see. > > -dsr- And since I've been doing that since my amiga/dialup days, I can testify that it works well. One of the smartest dogs I ever knew was half coyote, so this has been the coyote.den since the late 90's. Nice private little now 8 machine network when everything is running, and as long as I turn the radios off, nobody bothers me. And vice-versa. Seems no one has setup a radio login yet a smart phone can't crack in 30 seconds or less. Cheers, Gene Heskett -- "There are four boxes to be used in defense of liberty: soap, ballot, jury, and ammo. Please use in that order." -Ed Howdershelt (Author) Genes Web page <http://geneslinuxbox.net:6309/gene>
[toc] | [prev] | [next] | [standalone]
| From | mick crane <mick.crane@gmail.com> |
|---|---|
| Date | 2019-04-12 15:30 +0200 |
| Message-ID | <xM4pH-4Ei-11@gated-at.bofh.it> |
| In reply to | #207376 |
On 2019-04-12 13:31, Gene Heskett wrote: > On Friday 12 April 2019 07:54:57 Dan Ritter wrote: > >> mick crane wrote: >> > I have wondered what they do to stop people broadcasting their own >> > top level domain. >> >> Nothing. They don't have to. >> >> If you want a top level domain and you control your own >> nameservers, you've got it. >> >> But nobody else is likely to query your nameservers about it, so >> it won't be used by anyone else. >> >> This can actually be useful: you can define .crane for use >> within your house, and now you have names that nobody else will >> see. >> >> -dsr- > > And since I've been doing that since my amiga/dialup days, I can > testify > that it works well. One of the smartest dogs I ever knew was half > coyote, so this has been the coyote.den since the late 90's. Nice > private little now 8 machine network when everything is running, and as > long as I turn the radios off, nobody bothers me. And vice-versa. > Seems no one has setup a radio login yet a smart phone can't crack in > 30 > seconds or less. > maybe there's something I'm not understanding. Is your box broadcasting on the internet I know where .den is ask me about it ? mick > Cheers, Gene Heskett -- Key ID 4BFEBB31
[toc] | [prev] | [next] | [standalone]
| From | Dan Purgert <dan@djph.net> |
|---|---|
| Date | 2019-04-12 17:00 +0200 |
| Message-ID | <xM5ON-5p0-5@gated-at.bofh.it> |
| In reply to | #207379 |
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA256 mick crane wrote: > On 2019-04-12 13:31, Gene Heskett wrote: >> On Friday 12 April 2019 07:54:57 Dan Ritter wrote: >>> [...] >>> This can actually be useful: you can define .crane for use >>> within your house, and now you have names that nobody else will >>> see. >>> >>> -dsr- >> >> And since I've been doing that since my amiga/dialup days, I can >> testify that it works well. One of the smartest dogs I ever knew was >> half coyote, so this has been the coyote.den since the late 90's. >> [...] >> > maybe there's something I'm not understanding. > Is your box broadcasting on the internet I know where .den is ask me > about it ? No ".den" is local to Gene's network, and is not accessible to anyone not on that network. If he wants to access things from the internet, he'll need an internet-resolvable domain (e.g. "coyoteden.net"). -----BEGIN PGP SIGNATURE----- iQEzBAEBCAAdFiEEBcqaUD8uEzVNxUrujhHd8xJ5ooEFAlywpMUACgkQjhHd8xJ5 ooFcBgf/XErD5YHEpdpOjZjV1p+uzbvvCjzzj5KUIJRsO4oFIj8fy/+91nyrlHf6 U4bLXQ+Bj9GAzRSKvYsIM2naaCv7V9/GLQ+lOCkX/Hu/JH8u8rm/tTt8gxdz26pd 3k0yBaX2ZXaR72cUXF+GWgQNG9ovLnlRGQhzMtRejd5RpIXhx20flTvdpd1OrQNr DhTL2I35v9Llq2+XS8W/LvVbMzuBCsSLCGkpt9sUrm92A4oWjfGcLuPR/CR5oRIb UM8Szn6Nk9yBKDR7b8rJyjoAEtrIV5drhIU8KdK7/gVf29FYlGmPZU2pU+160jUd VeqMdHLqX9w6goZGn1HfaOSXHF8cLg== =F2Tr -----END PGP SIGNATURE----- -- |_|O|_| |_|_|O| Github: https://github.com/dpurgert |O|O|O| PGP: 05CA 9A50 3F2E 1335 4DC5 4AEE 8E11 DDF3 1279 A281
[toc] | [prev] | [next] | [standalone]
| From | Celejar <celejar@gmail.com> |
|---|---|
| Date | 2019-04-12 23:20 +0200 |
| Message-ID | <xMbKy-O0-5@gated-at.bofh.it> |
| In reply to | #207372 |
On Fri, 12 Apr 2019 07:54:57 -0400 Dan Ritter <dsr@randomstring.org> wrote: > mick crane wrote: > > I have wondered what they do to stop people broadcasting their own top level > > domain. > > Nothing. They don't have to. > > If you want a top level domain and you control your own > nameservers, you've got it. > > But nobody else is likely to query your nameservers about it, so > it won't be used by anyone else. > > This can actually be useful: you can define .crane for use > within your house, and now you have names that nobody else will > see. And there are actually alternative DNS roots: https://en.wikipedia.org/wiki/Alternative_DNS_root Celejar
[toc] | [prev] | [next] | [standalone]
| From | mick crane <mick.crane@gmail.com> |
|---|---|
| Date | 2019-04-13 00:20 +0200 |
| Message-ID | <xMcGB-1nT-13@gated-at.bofh.it> |
| In reply to | #207405 |
On 2019-04-12 16:11, Celejar wrote: > On Fri, 12 Apr 2019 07:54:57 -0400 > Dan Ritter <dsr@randomstring.org> wrote: > >> mick crane wrote: >> > I have wondered what they do to stop people broadcasting their own top level >> > domain. >> >> Nothing. They don't have to. >> >> If you want a top level domain and you control your own >> nameservers, you've got it. >> >> But nobody else is likely to query your nameservers about it, so >> it won't be used by anyone else. >> >> This can actually be useful: you can define .crane for use >> within your house, and now you have names that nobody else will >> see. > > And there are actually alternative DNS roots: > > https://en.wikipedia.org/wiki/Alternative_DNS_root I have wondered about this because think when all started it was the intention of a cooperative of computers advertising where they were and where everybody else was so as to be difficult to disrupt the connections whereas now it seems different to that. Obviously there has to be some agreement about who represents what. > Celejar -- Key ID 4BFEBB31
[toc] | [prev] | [next] | [standalone]
| From | mick crane <mick.crane@gmail.com> |
|---|---|
| Date | 2019-04-11 18:10 +0200 |
| Message-ID | <xLKqZ-Hl-5@gated-at.bofh.it> |
| In reply to | #207321 |
On 2019-04-11 16:42, Mark Fletcher wrote: > On Tue, Apr 09, 2019 at 02:34:30AM +0200, Jan Claeys wrote: >> On Mon, 2019-04-08 at 21:33 +0900, Mark Fletcher wrote: >> > I've created a very simple script that is capable of parsing the >> > output of "ip addr" and comparing the returned ip address for the >> > relevant interface to a stored ip address, and thus being able to >> > tell if the IP address has changed. What I'd like to do now is make a >> > means for the LFS box to be able to notify me of the fact that the >> > external-facing IP address has changed. >> >> Why not use a dynamic DNS provider? >> >> > Primarily because it wouldn't solve my problem. IIUC it would allow me > to map a domain name to the IP address assigned to my home internet > connection. That means that when the IP address assigned to my internet > connection changes, I can simply alter the mapping and my VPN clients > start working again, without any configuration change on them. Great, > but that isn't the problem. The problem is how I know that the IP > address has changed and hence the DNS mapping needs updating. I don't > see any way that a dynamic DNS service is going to know when my ISP > arbitrarily re-assigns my IP. I need the machine that is being assigned > the IP address to be able to tell me when it changes, and that is what > this thread was about (specifically the "how it would be able to tell > me" -- I'd figured out the "how it would know" for myself). > > But thanks for trying to help anyway! > > Mark I think that is what dynamic ip address services do, change the ipaddress but the service has to be on the ISP's router ? Do I understand correctly then when your isp/home address changes your box broadcasts its domain new address to the internet ? mick -- Key ID 4BFEBB31
[toc] | [prev] | [next] | [standalone]
| From | Dan Ritter <dsr@randomstring.org> |
|---|---|
| Date | 2019-04-11 18:20 +0200 |
| Message-ID | <xLKAF-KN-5@gated-at.bofh.it> |
| In reply to | #207321 |
Mark Fletcher wrote:
> On Tue, Apr 09, 2019 at 02:34:30AM +0200, Jan Claeys wrote:
> > On Mon, 2019-04-08 at 21:33 +0900, Mark Fletcher wrote:
> > > I've created a very simple script that is capable of parsing the
> > > output of "ip addr" and comparing the returned ip address for the
> > > relevant interface to a stored ip address, and thus being able to
> > > tell if the IP address has changed. What I'd like to do now is make a
> > > means for the LFS box to be able to notify me of the fact that the
> > > external-facing IP address has changed.
> >
> > Why not use a dynamic DNS provider?
> >
> >
> Primarily because it wouldn't solve my problem. IIUC it would allow me
> to map a domain name to the IP address assigned to my home internet
> connection. That means that when the IP address assigned to my internet
> connection changes, I can simply alter the mapping and my VPN clients
> start working again, without any configuration change on them. Great,
> but that isn't the problem. The problem is how I know that the IP
> address has changed and hence the DNS mapping needs updating. I don't
> see any way that a dynamic DNS service is going to know when my ISP
> arbitrarily re-assigns my IP. I need the machine that is being assigned
> the IP address to be able to tell me when it changes, and that is what
> this thread was about (specifically the "how it would be able to tell
> me" -- I'd figured out the "how it would know" for myself).
... if the IP address is being changed by DHCP, do you suppose
your dhcp client has a hook to tell other things about it?
man dhclient-script
...
After all processing has completed, /sbin/dhclient-script checks for
the presence of an executable /etc/dhcp/dhclient-exit-hooks script,
which if present is invoked using the '.' command. All executable
scripts in /etc/dhcp/dhclient-exit-hooks.d/* are also invoked.
...
Not to mention:
man ddclient
...
DESCRIPTION
A perl based client to update your dynamic IP address at
DynDNS.com (or other dynamic DNS services such as Hammernode,
Zoneedit or EasyDNS), thus allowing you and others to use a fixed
hostname (myhost.dyndns.org) to access your machine. This client
supports both the dynamic and (near) static services, MX setting,
and alternative host. It caches the address, and only attempts
the update if the address actually changes.
...
-dsr-
[toc] | [prev] | [next] | [standalone]
| From | Jan Claeys <lists@janc.be> |
|---|---|
| Date | 2019-04-11 19:10 +0200 |
| Message-ID | <xLLn4-1gK-7@gated-at.bofh.it> |
| In reply to | #207321 |
On Fri, 2019-04-12 at 00:42 +0900, Mark Fletcher wrote: > On Tue, Apr 09, 2019 at 02:34:30AM +0200, Jan Claeys wrote: > > Why not use a dynamic DNS provider? > > > > > Primarily because it wouldn't solve my problem. IIUC it would allow > me to map a domain name to the IP address assigned to my home > internet connection. That means that when the IP address assigned to > my internet connection changes, I can simply alter the mapping and my > VPN clients start working again, without any configuration change on > them. > Great, but that isn't the problem. The problem is how I know that the > IP address has changed and hence the DNS mapping needs updating. I > don't see any way that a dynamic DNS service is going to know when my > ISP arbitrarily re-assigns my IP. I need the machine that is being > assigned the IP address to be able to tell me when it changes, and > that is what this thread was about (specifically the "how it would > be able to tell me" -- I'd figured out the "how it would know" for > myself). Many routers know how to update popular dynamic DNS providers when the WAN IP address changes. If your router can't do this, or your computer is connected to the internet directly, then there are also several utilities which can do this in the Debian repositories. -- Jan Claeys (please don't CC me when replying to the list)
[toc] | [prev] | [standalone]
Page 2 of 2 — ← Prev page 1 [2]
Back to top | Article view | linux.debian.user
csiph-web