News for hackers. Stuff that matters.
Re:A domain can now say it is for sale, in DNS by Bender on Saturday August 08, 2026 @11:09AM (#49222572)
From the RFC The "_for-sale" leaf node name can be placed at any level of the DNS, except in the .arpa infrastructure TLD.

There used to be a number of sites that would let users create {username}.some.subdomain.apex.tld. Perhaps this is not a thing any more I honestly don't know. If it is still a thing and someone registers the username "_for-sale" they could cause some confusion.

Why allow any level of DNS? If you are selling a domain that should include the entire domain and thus the _for-sale should only be valid at the apex unless the goal is to cause legal problems for some big providers.

Re:A domain can now say it is for sale, in DNS by wbl on Saturday August 08, 2026 @11:14AM (#49222627)
Initial underscore is a reserved namespace for this reason.
Re:A domain can now say it is for sale, in DNS by Bender on Saturday August 08, 2026 @11:30AM (#49222782)
Is that universally true on all sites that allow a user to create a sub-domain?
Re:A domain can now say it is for sale, in DNS by tredre3 on Saturday August 08, 2026 @12:48PM (#49223473)
DNS allows any character you want, including underscores. Host names in URLs cannot contain underscores. Therefore any service that create subdomains for user would reject underscores, which is why they're considered de-facto reserved for special uses in DNS. I don't think the reserved nature is codified in any RFC.
Re:A domain can now say it is for sale, in DNS by Bender on Saturday August 08, 2026 @12:54PM (#49223534)
Testing [1] Works in Firefox, Helium and Curl but I do not have Chrome or Safari to test with.

[1] - https://_test.nochan.net/

Re:A domain can now say it is for sale, in DNS by chrismorgan on Saturday August 08, 2026 @01:22PM (#49223797)
This only works because it’s a wildcard certificate. Since 2019, TLS certificates must not be issued for names containing underscores <https://cabforum.org/2018/11/12/ballot-sc012-sunset-of-under...>.
Re:A domain can now say it is for sale, in DNS by Bender on Saturday August 08, 2026 @01:35PM (#49223925)
Interesting, however that goes back to my original question about platforms allowing users to create a sub-domain, as they almost always use a wildcard certificate for this purpose. [1]

I suppose the saving grace is that they can only create the _for-sale and not any of the attributes specific to the intent to sell and hopefully that is enough to prevent any shenanigans.

[1] - https://youstareintoconanssoul.ytmnd.com/

Re:A domain can now say it is for sale, in DNS by marinintim on Saturday August 08, 2026 @06:59PM (#49226704)
Re:A domain can now say it is for sale, in DNS by chrismorgan on Saturday August 08, 2026 @01:20PM (#49223779)
It certainly should be. Filtering user-registrable names that will end up in host names or URL paths is table stakes. You want to block names like www, admin, root, robots.txt, .well-known, _*, and so forth.
Re:A domain can now say it is for sale, in DNS by pimlottc on Saturday August 08, 2026 @11:21AM (#49222689)
Country code TLDs would be one reason. Many countries reserve top-level domains names and only sell second-level domains (e.g. example.co.uk)