Just a stranger trying things.

  • 1 Post
  • 22 Comments
Joined 2 years ago
cake
Cake day: July 16th, 2023

help-circle













  • It does work. In my first edit I’m sharing multiple examples of others making it work, and I’ve made it work in some cases which I explain in my second edit. I’m not using an HTTP challenge, but a DNS challenge which is not specific to any IP address and does not require the IP address to be reachable from outside my network. I only care about accessing the endpoint from within my home network. The use of a real domain allows me to make use of the public chain of trust infrastructure and DNS allowing me to reach my homeserver using any device without having to setup any specific local DNS or installing any custom certificate on any of my devices.


  • If I put my registrar’s DNS, or cloudflare or google, it works just fine in dig, here with google:

    ; <<>> DiG 9.18.39 <<>> @8.8.8.8 mydomain.tld
    ; (1 server found)
    ;; global options: +cmd
    ;; Got answer:
    ;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 1301
    ;; flags: qr rd ra ad; QUERY: 1, ANSWER: 1, AUTHORITY: 0, ADDITIONAL: 1
    
    ;; OPT PSEUDOSECTION:
    ; EDNS: version: 0, flags:; udp: 512
    ;; QUESTION SECTION:
    ;mydomain.tld.		IN	A
    
    ;; ANSWER SECTION:
    mydomain.tld.	3600	IN	A	192.168.10.20
    
    ;; Query time: 34 msec
    ;; SERVER: 8.8.8.8#53(8.8.8.8) (UDP)
    ;; WHEN: Sun Oct 05 15:51:47 CEST 2025
    ;; MSG SIZE  rcvd: 60
    


  • I’m getting the following:

    ; <<>> DiG 9.18.39 <<>> mydomain.tld
    ;; global options: +cmd
    ;; Got answer:
    ;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 16004
    ;; flags: qr rd ra; QUERY: 1, ANSWER: 0, AUTHORITY: 0, ADDITIONAL: 1
    
    ;; OPT PSEUDOSECTION:
    ; EDNS: version: 0, flags:; udp: 65494
    ;; QUESTION SECTION:
    ;mydomain.tld.		IN	A
    
    ;; Query time: 3 msec
    ;; SERVER: 127.0.0.53#53(127.0.0.53) (UDP)
    ;; WHEN: Sun Oct 05 14:23:20 CEST 2025
    ;; MSG SIZE  rcvd: 44
    

    I guess your proposal would be the last resort, but I have not seen any mention of this approach being necessary for others achieving what I’m trying.



  • The A record was set on my registrar, so on a public DNS, so to speak.

    1. It allows me to use HTTPS on a private service without setting up any custom DNS locally and without me using any selfsigned certificates and with all my IP addresses being private. It’s a good solution for me to have the real certificates using the default public infrastructure while keeping everything private. What’s the danger of sharing that my private server is accessible at 192.168.10.20 for the external world? What could they do with that information?
    2. I use my tailscale network to which I expose my local network to allow remote access. Works great for me.