Redirect domain

Hi folks.

I have NSD in OpenBSD for Primary Server running in a VPS and need
redirect my current blog hosting in github to another url

blog.bsdguy.org -> blog.bsdguy.net

Github only let one domain, some DNS providers (cloudns per example),
includes Redirect web site another.

It's possible dot it task with NSD ?

Regards.

A "DNS redirect" would be a CNAME. I am guessing you want a "HTTP redirect". You need to run an HTTP server for that.

Ask

Nope, you need an HTTP server for that, not a DNS server. The mentioned DNS providers bundle HTTP services in order to fulfil such an use case.
Because it would be really simple, just return an HTTP 302 response, it might be possible to do it with the default httpd that comes with OpenBSD. If it's not, than you could install nginx or Apache and configure it for such response.

Either way, it's not in the realm of a DNS daemon.

Rubens

Thank you, I'm testing with nginx OpenBSD httpd in 5.6 don't include
redirect yet.

regards.