In order to position a website project I'm planning on getting 3 domain names (example.com, example.org and example.net).Whenever a user goes to example.org or example.net he/she would be redirected to example.com.All redirection methods I have used are via JavaScript or PHP and not long ago I found out it can be via DNS settings with the domain registrar company. Now my question: Is it a good SEO practice redirecting via DNS? (Would not it be better to have some content on these two websites (.org and .net), like a link pointing to example.com, and then redirect using JavaScript or PHP?)     In general (considering other topics like security, performance, etc), is it a good practice redirecting via DNS?
Is Redirecting via DNS a good practice for positioning a website?
seo;redirects;dns
There is no way to redirect via DNS, I detailed the reason in this answer.What your provider is probably offering you, is a proprietary quick solution to configure a redirect that. Internally, that configuration is converted into a DNS record pointing to a server configured in order to handle the redirect either with a server-side configuration or a script created in a server-side programming language such as PHP or Ruby.All these server-side solutions (server config, programming language, etc) are totally equivalent as long as they result in a HTTP redirection header set in the HTTP response.This is the standard way of redirecting, thus it's perfectly fine. In your case, you only need to check whether the response is a 301 response (I don't see the 302 appropriate in your case) and the HTTP headers contain the Location header set to your target domain.You can check it using any HTTP client, such as hurl.it or $ curl.