News for hackers. Stuff that matters.
Re:TLS certificates for internal services done right by graton on Thursday July 09, 2026 @01:49PM (#48849828)
I do the same thing. I'm not worried about them seeing my FQDNs.

I use the form of hostname.int.example.com for everything inside my home network. None of which is accessible to the outside world. I use LetsEncrypt with DNS validation to get the certificates.

Re:TLS certificates for internal services done right by tzs on Thursday July 09, 2026 @08:06PM (#48854167)
If you are going to have all the home stuff on a subdomain (int.example.com) would it work to delegate int.example.com to a DNS server running at home what has internet access, and could handle the ACME DNS challenges for machines on int.example.com?

If it does then you don't have to mess with your public DNS whenever you want to add or renew certificates for home machines.

I'm using the free DNS my registrar provides, which doesn't provide API access unless you upgrade to their paid DNS service and so if I could use a local DNS server for the ACME challenges for the home network I could pick one that is friendly to automation.

Re:TLS certificates for internal services done right by waynesonfire on Saturday July 11, 2026 @02:20PM (#48874343)
Yes, you're describing a fundemental feature of DNS.
Re:TLS certificates for internal services done right by graton on Sunday July 12, 2026 @02:34AM (#48878872)
> I'm using the free DNS my registrar provides, which doesn't provide API access unless you upgrade to their paid DNS service

I use Cloudflare for DNS and it is free to use the API.

Re:TLS certificates for internal services done right by throw0101a on Thursday July 09, 2026 @08:45PM (#48854400)
> I use the form of hostname.int.example.com […]

Note that int is a valid TLD:

* https://en.wikipedia.org/wiki/.int

* https://datatracker.ietf.org/doc/html/rfc1591

Re:TLS certificates for internal services done right by icedchai on Thursday July 09, 2026 @09:28PM (#48854682)
He’s using it as a subdomain.
Re:TLS certificates for internal services done right by 0xbadcafebee on Thursday July 09, 2026 @10:18PM (#48854992)
Which can still cause problems depending on your search domain setting and resolver client
Re:TLS certificates for internal services done right by icedchai on Friday July 10, 2026 @03:05AM (#48856671)
I do the same thing and have never had a problem. Maybe I’ve just been lucky for 25+ years. Some hosts have a search path of “int.example.com, example.com”. Others are just “example.com”
Re:TLS certificates for internal services done right by _bernd on Friday July 10, 2026 @03:55AM (#48857044)
Could you give an example? I'm curious, too.
Re:TLS certificates for internal services done right by throw0101d on Friday July 10, 2026 @08:21AM (#48858898)
If you generally had "search example.com" in you resolv.conf, and were in the habit of having "web01.dev" in places, behaviour may have changed if you were happen to be on a machine that had the "search" line missing (or something else).
Re:TLS certificates for internal services done right by throw0101d on Friday July 10, 2026 @08:19AM (#48858883)
> He’s using it as a subdomain.

Lots of folks were using "dev" as a sub-domain which was fine until ICANN decide to give Google a TLD:

* https://en.wikipedia.org/wiki/.dev

So if you generally had "search example.com" in you resolv.conf, and were in the habit of having "web01.dev" in places, behaviour may have changed if you were suddenly on a machine that had the "search" line missing (or something else).

Re:TLS certificates for internal services done right by icedchai on Friday July 10, 2026 @09:01AM (#48859320)
What you describe is a user and resolver configuration problem. There are 100's of TLDs and there's always a chance they will conflict with subdomains, either now or in the future as new TLDs are created. I've been using both "int" and "dev" as subdomains since at least 2000 and never had an issue.
Re:TLS certificates for internal services done right by throw0101d on Friday July 10, 2026 @12:20PM (#48862021)
> What you describe is a user and resolver configuration problem.

That won't prevent me from getting a ticket saying "the network is down".

Re:TLS certificates for internal services done right by icedchai on Friday July 10, 2026 @12:31PM (#48862159)
Okay, I guess the only solution is to always use FQDNs.
Re:TLS certificates for internal services done right by graton on Friday July 10, 2026 @01:51PM (#48863066)
So? I don't see any issue.

I always use FQDNs for everything.