[ubuntu-za] local DNS
Alfred C Stockton
alf at stockton.co.za
Sun Jan 28 13:26:33 UTC 2018
I am obviously still not understanding.
As I said "place the devices name in /etc/hosts on the machine your client
is connecting from". In your case in the /etc/hosts on the clients PC.
Thanks, Alfred. I think the application isn't quite clear...
On 28/01/2018 10:21, Alfred C Stockton wrote:
> Depends on where you want to connect from.
Any machine the device is plugged into. Mostly I'm distributing devices
to others and have no access to the machines it will be plugged into.Â
The customer will plug it into his/her machine, open the browser and
type the host/domain name to access it.
> If SSH etc I place the devices name in /etc/hosts on the machine you are
> connecting from and then I can ssh pi at rpidev however I need to get to
> some
> of my Raspberries via the internet and there I use afriad.org to handle
> the IP to name issue. Like stockton.co.za, another raspberry.
> I have also used the machine I want to get to, to send me an email of
> its
> current IP address.
These are the wrong use-cases.   I don't want to access the device,
the
customer wants to. Also, the device will only be visible to the machine
that it is plugged into, i.e the "tiny network" that is created between
the device the the user's PC. So the EPC will have to provide a DNS
service to this "little private network" as it already provides the DHCP
service.
Hope that explains it better.
Regards
Charl
--
Regards,
Alf Stockton
More information about the ubuntu-za
mailing list