• Please be aware: Kaspersky Anti-Virus has been deprecated
    With the upgrade to Plesk Obsidian 18.0.64, "Kaspersky Anti-Virus for Servers" will be automatically removed from the servers it is installed on. We recommend that you migrate to Sophos Anti-Virus for Servers.
  • The Horde webmail has been deprecated. Its complete removal is scheduled for April 2025. For details and recommended actions, see the Feature and Deprecation Plan.
  • We’re working on enhancing the Monitoring feature in Plesk, and we could really use your expertise! If you’re open to sharing your experiences with server and website monitoring or providing feedback, we’d love to have a one-hour online meeting with you.

Question External DNS, CloudFlare - issues

WildWayz

New Pleskian
Hi all,

This is a great first post from me ;)
I'm James, from the UK and i've not used Plesk in a long, long time. I've recently moved across to it and I am having some issues setting up the DNS correctly...

My domain is registered with TSO Host - call it mydomain.com
I have the name servers pointing to:
cory.ns.cloudflare.com
vida.ns.cloudflare.com

On my Plesk server (dedicated server with Hetzner) I have CloudFlare set up and it has linked to my CloudFlare account.

mydomain.com shows up as being activated on the Plesk CloudFlare status page and also on CloudFlare itself.

When I ping mydomain.com or www.mydomain.com it returns the IP for Cloudflare... however, when I go to mydomain.com or www.mydomain.com it returns:

upload_2018-10-9_22-48-10.png

If I disable Cloudflare, wait a few minutes and I ping mydomain.com it returns:
Ping request could not find host mydomain.com. Please check the name and try again.

I'm sure i've stuffed up what I am meant to put in for the Nameservers.

I can't use ns1.mydomain.com / ns2.mydomain.com as my registrar says they do not exist, but Plex's DNS for the domain shows they exist there...

Am I doing something wrong?

Thanks
 
Do you have

cory.ns.cloudflare.com
vida.ns.cloudflare.com

as NS records in Cloudflare DNS settings as well in Plesk DNS settings of this domain?
 
Do you have

cory.ns.cloudflare.com
vida.ns.cloudflare.com

as NS records in Cloudflare DNS settings as well in Plesk DNS settings of this domain?

If I go into Websites, DNS it isn't in there... Only nameservers is ns1.mydomain.com and ns2.mydomain.com
 
Try to set NS records there to

cory.ns.cloudflare.com
vida.ns.cloudflare.com
 
Thanks for the quick replies

So I change the CNAME
ns1.mydomain.com to cory.ns.cloudflare.com

What about the A record for it that points to the servers public IP?

Do you have an example of what it should look like?

Thanks again Igor
 
Instead of using example domains here is my actual settings

Domain Registrar
upload_2018-10-10_6-53-33.png

Cloudflare
upload_2018-10-10_6-55-40.png

PLESK Cloudflare Settings

upload_2018-10-10_6-57-19.png

DNS Settings in Plesk for moose-shack.com

upload_2018-10-10_6-58-9.png
 
I see strange output with two A records in:

Code:
# dig moose-shack.com

; <<>> DiG 9.10.3-P4-Ubuntu <<>> moose-shack.com
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 38460
;; flags: qr rd ra; QUERY: 1, ANSWER: 2, AUTHORITY: 0, ADDITIONAL: 1

;; OPT PSEUDOSECTION:
; EDNS: version: 0, flags:; udp: 512
;; QUESTION SECTION:
;moose-shack.com.               IN      A

;; ANSWER SECTION:
moose-shack.com.        599     IN      A       104.28.28.153
moose-shack.com.        599     IN      A       104.28.29.153

;; Query time: 23 msec
;; SERVER: 8.8.8.8#53(8.8.8.8)
;; WHEN: Wed Oct 10 06:59:48 UTC 2018
;; MSG SIZE  rcvd: 76

Iа I asl CloudFlare DNS server I see the same:

Code:
# dig moose-shack.com @vida.ns.cloudflare.com

; <<>> DiG 9.10.3-P4-Ubuntu <<>> moose-shack.com @vida.ns.cloudflare.com
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 59308
;; flags: qr aa rd; QUERY: 1, ANSWER: 2, AUTHORITY: 0, ADDITIONAL: 1
;; WARNING: recursion requested but not available

;; OPT PSEUDOSECTION:
; EDNS: version: 0, flags:; udp: 512
;; QUESTION SECTION:
;moose-shack.com.               IN      A

;; ANSWER SECTION:
moose-shack.com.        600     IN      A       104.28.28.153
moose-shack.com.        600     IN      A       104.28.29.153

;; Query time: 2 msec
;; SERVER: 2400:cb00:2049:1::adf5:3aec#53(2400:cb00:2049:1::adf5:3aec)
;; WHEN: Wed Oct 10 06:59:20 UTC 2018
;; MSG SIZE  rcvd: 76

But in Plesk DNS you have 46.4.78.123 IP address for this domain. You need to correct this mismatch.
 
Thanks Igor

So do I change the DNS entry in Plesk from

moose-shack.com A 46.4.78.123
to
moose-shack.com A 104.28.28.153


or is it the NS entries of

ns1.moose-shack.com NS 46.4.78.123
ns2.moose-shack.com NS 46.4.78.123
to
ns1.moose-shack.com NS 104.28.28.153
ns2.moose-shack.com NS 104.28.29.153

?
 
Probably not a fix - but I disabled Cloudflare in Plesk and manually set it up in Cloudflare's DNS - now it is working :)

Thanks :)
 
Back
Top