• Debian 11 is approaching its end-of-life (vendor EOL date - August 31, 2026). Plesk Obsidian 18.0.80 will be the last release to support it.
    If you are running Plesk Obsidian on Debian 11, we recommend you upgrade those servers to Debian 12 using our dist-upgrade tool.
  • We plan to deprecate and remove the support for XML RPC protocol versions earlier than 1.6.9.1 in Plesk Obsidian 18.0.82. We strongly recommend that you update all existing integrations using earlier versions of the XML RPC protocol to comply with the version 1.6.9.1 specification.

Question Little help with DNS, Nameserver

Hey how are you?

Do you know to setup ns1 and ns2 to host multiple sites? I have a vps too and 2 ip address

Everything works well but when I try to access webmail.domain.com I can't

Any idea?
You should probably check what Rasp just said.

But anyway, depends on the registrar. You just change the nameservers to something like;

ns1.domain.com. A 12.345.67.8
ns2.domain.com. A 98.765.543.21

where domain.com (with the trailing dot!) is your domain and change the IP's to your VPS IP's.

But just make sure that everything is pointed to right address.
I use some of the following records:

Code:
ipv4.domain.com.                    A    12.345.67.8
_domainkey.domain.com.            TXT    o=-
default._domainkey.domain.com.    TXT    v=DKIM1; p=VERYLONGNUMBER;
mail.domain.com.                    A    12.345.67.8
domain.com.                        TXT    v=spf1 +a +mx ip4:12.345.67.8 a:h1234567.stratoserver.net a:domain.com ~all
www.domain.com.                    CNAME    domain.com.
domain.com.                        MX (10)    mail.domain.com.
_dmarc.domain.com.                TXT    v=DMARC1; p=none; rua=mailto:[email protected]
domain.com.                        A    12.345.67.8
ftp.domain.com.                    A    12.345.67.8
webmail.domain.com.                A    12.345.67.8

I just like to point out, I am no expert at all.
 
Does anyone have any experience enabling DKIM for all domains?

I tried to enable it following the steps in this link.

The first step works, but the second:

for domain in $(plesk db -Ne 'SELECT name FROM domains WHERE parentDomainId=0;'); do plesk bin domain_pref --update $domain -sign_outgoing_mail true; done

Isn't working, its giving me the error: "bash: syntax error near unexpected token `do' "

Anyone know why it isn't working?
 
Wow, stupid me. I thought that a sudo command would suffice. But it didn't. I switched to root and it worked!

Thanks! DKIM's are enabled!
 
Back
Top