• Our team is looking to connect with folks who use email services provided by Plesk, or a premium service. If you'd like to be part of the discovery process and share your experiences, we invite you to complete this short screening survey. If your responses match the persona we are looking for, you'll receive a link to schedule a call at your convenience. We look forward to hearing from you!
  • The BIND DNS server has already been deprecated and removed from Plesk for Windows.
    If a Plesk for Windows server is still using BIND, the upgrade to Plesk Obsidian 18.0.70 will be unavailable until the administrator switches the DNS server to Microsoft DNS. We strongly recommend transitioning to Microsoft DNS within the next 6 weeks, before the Plesk 18.0.70 release.
  • The Horde component is removed from Plesk Installer. We recommend switching to another webmail software supported in Plesk.

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