howto export dns for cloudflare
9 Replies
@ingber:
How do I export all my Linode DNS records in BIND format for importing into CloudFlare? (I have several shortcuts to Google services.)
Go to the Linode DNS manager at https://manager.linode.com/dns
Thanks for the info.
@ingber:
I noticed that the page brought up under the Zone File tab had quotes ("") around the TXT fields. CF already had one of my 3 TXT fields entered without quotes (as they appear on my dns page), so I did not use any quotes on the other 2. Is that OK?
Thanks for the info.
You'll probably find that Cloudflare adds the quotes. Use dig to query the Cloudflare nameserver directly to see.
Something like
dig @XXX.ns.cloudflare.com mydomain.com TXT
Where XXX is one of your assigned Cloudflare nameservers.
(I'm not just being pedantic: There was no reason to do it when I generated documentation for my clients in the past, if that has changed, I want to update my documentation)
I have noted that some IPs still get through CF. I have seen some similar posts on other boards.
(1)
the request goes to
http~~://MyIPaddress/…
instead of to
http~~://MyDomainName/…
(2)
the request goes with a
"GET http"
(not "GET / HTTP")
I do not see anyway of addressing these concerns in any tabs in my CF Dashboard.
To address (1), I have put into my .httaccess
RewriteEngine On
RewriteBase /
RewriteCond %{HTTP_HOST} ^MyIPAaddress
RewriteRule ^(.*)$
To address (2), I have added a filter to my fail2ban jail.local
[Definition]
failregex = ^
ignoreregex =
There still are some leaks/strays into my access.log and ssl_access.log.
Thanks.~~~~