From 2625545e1f3bd1b858bc9be39435add15ff9f6bb Mon Sep 17 00:00:00 2001 From: pablo Date: Fri, 24 Dec 2021 18:56:22 +0100 Subject: [PATCH] notes on porkbun dyndns --- pointing_domain_home.md | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 pointing_domain_home.md diff --git a/pointing_domain_home.md b/pointing_domain_home.md new file mode 100644 index 0000000..05d4282 --- /dev/null +++ b/pointing_domain_home.md @@ -0,0 +1,23 @@ +Okay, so I have my first domain ever (contrapeso.xyz). How cool is that? + +I discovered I can spin as many subdomains as I want, which I find very +cool. I was thinking that it would be pretty neat to have one of them +pointing to my home network so I can access my machines from out of home. + +I already kind of set the same thing with duckdns, but the domain you get +is an ugly duckdns subdomain, and I want to use mine. + +So, how can I use mine? + +Apparently, the guys at porkbun have a dynamic dns service. To use it, +I need to set up a python script as a cronjob in a machine in my local +network. + +The script and config template can be found in: https://github.com/porkbundomains/porkbun-dynamic-dns-python +To get the API keys needed for auth, go to: https://porkbun.com/account/api + +So I have set up a folder in my home folder called "porkbun-dynamic-dns" +and placed there the python script and the config file. It creates a DNS +record for the subdomain home.contrapeso.xyz to our local network IP +address. I'm going to setup a cronjob to run it periodically and leave it +running.