# Institutionalized attack(s) on domain names and self-hosting freedom?

**URL:** https://forum.yunohost.org/t/institutionalized-attack-s-on-domain-names-and-self-hosting-freedom/24453
**Category:** Discuss
**Tags:** mail, dns, smtp, dyndns, english
**Created:** [April 17, 2023, 7:04am UTC](https://forum.yunohost.org/t/institutionalized-attack-s-on-domain-names-and-self-hosting-freedom/24453 "2023-04-17T07:04:20Z")
**Posts on this page:** 10
**Page:** 1

<div class="post-metadata">

### Author: ![tierce](https://forum.yunohost.org/user_avatar/forum.yunohost.org/tierce/32/9675_2.png) [@tierce](https://forum.yunohost.org/u/tierce)
#### Post date: [April 17, 2023, 7:04am UTC](https://forum.yunohost.org/t/institutionalized-attack-s-on-domain-names-and-self-hosting-freedom/24453/1 "2023-04-17T07:04:21Z")

</div>

Version française [ici](https://forum.yunohost.org/t/attaque-s-institutionnalisee-s-contre-les-noms-de-domaine-et-la-liberte-dauto-hebergement/24480).

* * *

# Issue

Yahoo reject emails from `*.nohost.me` _(and probably also frem [noho.st](http://noho.st) et [ynh.fr](http://ynh.fr))_ because those « sub » domains don’t have an SOA record.

There is one for the « parent » domain.

```auto
dig soa nohost.me +short         
ns0.yunohost.org. hostmaster.yunohost.org. 1045098 10800 3600 604800 10

```

But not for « sub »domains _(like mine, but I tried some others)_.

```auto
dig soa tierce.nohost.me +short
NADA

```

Yahoo®’s error message:

```auto
host mta6.am0.yahoodns.net[98.136.96.75] said:
    554 Message permanently deferred due to unresolvable RFC.5321 from domain;
    see https://postmaster.yahooinc.com/error-codes (in reply to end of DATA
    command)

```

Yahoo®’s documentation:

> Unresolvable RFC.5321 from domain  
> These errors indicate that the domain used to the right of the @ in the MAIL FROM does not appear to be a real domain.  
> We determine if the domain name exists by using an SOA query; therefore, if multiple subdomains are used in MAIL FROM commands, then besides setting up a DNS A or MX record (perhaps using a wildcard), then **SOA records must be set up as well**.  
> This error can be returned as either a timeout/servfail (451) or a permfail (554)

> **[Yahoo Sender Hub](https://senders.yahooinc.com/smtp-error-codes/)**
>
> SMTP Error Codes

# Proposal (about SOA / Yahoo®)

- Set up SOA recorde on dyndns domain _(if possible?)_.
- Else, tell in the doc and during the post-install that for those « free » domains, the mails wont work properly _(at least to Yahoo®)_.

# More discussions about it ?

In a close time frame, there are other things happening related to « make it more difficult » to self-host your mails.

Let’s discuss about it…

---

<div class="post-metadata">

### Author: ![Aleks](https://forum.yunohost.org/user_avatar/forum.yunohost.org/aleks/32/1704_2.png) [@Aleks](https://forum.yunohost.org/u/Aleks)
#### Post date: [April 17, 2023, 1:56pm UTC](https://forum.yunohost.org/t/institutionalized-attack-s-on-domain-names-and-self-hosting-freedom/24453/2 "2023-04-17T13:56:27Z")

</div>

> [@tierce](#):
>
> We determine if the domain name exists by using an SOA query; therefore, if multiple subdomains are used in MAIL FROM commands, then besides setting up a DNS A or MX record (perhaps using a wildcard), then **SOA records must be set up as well**.

what the fuck, who decided that -\_- I can imagine plenty of example where the sub-domain doesn’t have an SOA, such that having a `mastodon.domain.tld` instance and sending mail `foobar@mastodon.domain.tld` and this should be perfectly legit, I’ve never heard of any requirement to have an SOA, and I don’t understand what would be whatever security benefit in doing so …

---

<div class="post-metadata">

### Author: ![tierce](https://forum.yunohost.org/user_avatar/forum.yunohost.org/tierce/32/9675_2.png) [@tierce](https://forum.yunohost.org/u/tierce)
#### Post date: [April 18, 2023, 6:45am UTC](https://forum.yunohost.org/t/institutionalized-attack-s-on-domain-names-and-self-hosting-freedom/24453/3 "2023-04-18T06:45:15Z")

</div>

I consider this as an attack angainst self-hosting even if it’s close to madness −which is realy sad− to self-host an e-mail server in 2023 in comparison with mutualized services or Gafam clouds. And even more sad when using « free / libre » (sub)domains as those generously proposed by Yunohost because it, in someways, push us to register a domain if we still hope to self-host our own emails.

Whatever the assumed reality to finish in the spam folder when using an Internet Cube with fixed ipv4 and v6 as proposed by different members of the [FFDN](https://www.ffdn.org/fr/membres) members, being just rejected with a falacious « argument » as Yahoo® does, is one step further to exclusion.

Faced with an abuse of a dominant position of this kind, do we have any room for manoeuvre?

---

<div class="post-metadata">

### Author: ![tierce](https://forum.yunohost.org/user_avatar/forum.yunohost.org/tierce/32/9675_2.png) [@tierce](https://forum.yunohost.org/u/tierce)
#### Post date: [April 20, 2023, 7:25pm UTC](https://forum.yunohost.org/t/institutionalized-attack-s-on-domain-names-and-self-hosting-freedom/24453/4 "2023-04-20T19:25:39Z")

</div>

It’s not the only attack on Domain Names.

In extension to the mail delivery _« problem »_ encountered with Yahoo® and it’s SOA demands, there is this ugly [proposal of ICANN and Verisign about the seizure of domain names](https://freespeech.com/2023/04/19/red-alert-icann-and-verisign-proposal-would-allow-any-government-in-the-world-to-seize-domain-names/).

---

<div class="post-metadata">

### Author: ![tierce](https://forum.yunohost.org/user_avatar/forum.yunohost.org/tierce/32/9675_2.png) [@tierce](https://forum.yunohost.org/u/tierce)
#### Post date: [April 21, 2023, 7:16pm UTC](https://forum.yunohost.org/t/institutionalized-attack-s-on-domain-names-and-self-hosting-freedom/24453/5 "2023-04-21T19:16:33Z")

</div>

Another kind of annoyances :

- [Google flags my sites as dangerous (Deceptive site ahead) - #123 by KaraDanvers](https://forum.yunohost.org/t/google-flags-my-sites-as-dangerous-deceptive-site-ahead/20361/123)

---

<div class="post-metadata">

### Author: ![tierce](https://forum.yunohost.org/user_avatar/forum.yunohost.org/tierce/32/9675_2.png) [@tierce](https://forum.yunohost.org/u/tierce)
#### Post date: [April 21, 2023, 7:20pm UTC](https://forum.yunohost.org/t/institutionalized-attack-s-on-domain-names-and-self-hosting-freedom/24453/6 "2023-04-21T19:20:20Z")

</div>

And another:

- [Gmail still blocks Emails from my server](https://forum.yunohost.org/t/gmail-still-blocks-emails-from-my-server/24463)

---

<div class="post-metadata">

### Author: ![metyun](https://forum.yunohost.org/letter_avatar_proxy/v4/letter/m/f14d63/32.png) [@metyun](https://forum.yunohost.org/u/metyun)
#### Post date: [April 23, 2023, 10:23am UTC](https://forum.yunohost.org/t/institutionalized-attack-s-on-domain-names-and-self-hosting-freedom/24453/7 "2023-04-23T10:23:53Z")

</div>

I ask my question again (see french topic):

Is it possible to add yunohost support soa with [nohost.me](http://nohost.me), [noho.st](http://noho.st) and [ynh.fr](http://ynh.fr) sub-domain?  
or is it the end of email self-hosting with this kind of email address?

Should i migrate to my own domain? Yunohost is my main email address (and it is the same for all my family). Or is it a sweet dream to think that i can continue even with my own domain?

---

<div class="post-metadata">

### Author: ![Aleks](https://forum.yunohost.org/user_avatar/forum.yunohost.org/aleks/32/1704_2.png) [@Aleks](https://forum.yunohost.org/u/Aleks)
#### Post date: [April 26, 2023, 3:32pm UTC](https://forum.yunohost.org/t/institutionalized-attack-s-on-domain-names-and-self-hosting-freedom/24453/8 "2023-04-26T15:32:56Z")

</div>

> [@metyun](#):
>
> Is it possible to add yunohost support soa with [nohost.me](http://nohost.me), [noho.st](http://noho.st) and [ynh.fr](http://ynh.fr) sub-domain?  
> or is it the end of email self-hosting with this kind of email address?

If you refer to Yahoo’s new “SOA” requirement, you can find a thread on Mastodon with experts on DNS / Email complaining about how batshit stupid this is, so clearly, this is not a bug on our side, it’s Yahoo being absolutely dumb and randomly imposing crazy shit on half of the internet.

Additionally, for technical reason it’s apparently not allowed by `bind9` (the software we use) to define SOA records on non-root domains. (Which may in fact be why Yahoo decided to implement this stupid rule as an implicit check that the domain is or not a root domain…)

So TL;DR : even if we wanted to, it would be hella complicated to so without changing our entire software stack, and at some point we should just stop complaining to random crazy batshit policies from GAFAM. YunoHost is supposed to be about a free internet, not submitting to arbitrary policies decided by monopolies which is the opposite of free internet.

---

<div class="post-metadata">

### Author: ![tierce](https://forum.yunohost.org/user_avatar/forum.yunohost.org/tierce/32/9675_2.png) [@tierce](https://forum.yunohost.org/u/tierce)
#### Post date: [April 27, 2023, 5:35am UTC](https://forum.yunohost.org/t/institutionalized-attack-s-on-domain-names-and-self-hosting-freedom/24453/9 "2023-04-27T05:35:34Z")

</div>

If `bind9` don’t permit to create SOA records anywhere in the DNS tree _(and it seems to be [coded like it since a long time](https://gitlab.isc.org/isc-projects/bind9/-/blob/main/CHANGES#L20030))_ and if Yahoo® use it to consider unwelcome emails sent by a domain without SOA records, I suppose we won’t be able to change Yahoo’s mind nor Bind9.

Good. We don’t have to change our entire software stack 😌  
Not good. We also have to tell that the free domains won’t work to send emails. 😭

And now, I have to reconsider the threshold of self-hosting **if I still hope to host my own mail server**.

1. buy a domain name
2. find some not so badly reputed ipv4 and v6
3. rely on the good work of Yunohost about the mails and DNS configuration suggestions
4. keep telling the rest of the world to stop using those f\*\*\* bastards who breaks Internet but whatever, they will continue.

---

<div class="post-metadata">

### Author: ![tierce](https://forum.yunohost.org/user_avatar/forum.yunohost.org/tierce/32/9675_2.png) [@tierce](https://forum.yunohost.org/u/tierce)
#### Post date: [April 27, 2023, 3:28pm UTC](https://forum.yunohost.org/t/institutionalized-attack-s-on-domain-names-and-self-hosting-freedom/24453/10 "2023-04-27T15:28:18Z")

</div>

Tutanota have published a blog post about [Is Gmail killing independent email?](https://tutanota.com/blog/posts/gmail-independent-email)

As we should already know, we are not the only ones having issues with those corporations.
