Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

How can I use BIND software to redirect Domain Names from the DNS or zone files?

share|improve this question

The only types of "redirect" in DNS are CNAMEs, forwarders, and NS redirections. Doing a URL redirect is not a DNS question, in this case you point the DNS to a web-server that can provide URL redirection.

A CNAME is essentially an alias from one Fully Qualified Domain Name (FQDN) to another. The resolution of the CNAME is performed on the client.

Example of a CNAME:

 ; zone file IN CNAME

A DNS forwarder will transparently proxy request to another DNS server. The resolution is performed on the server.

Example of a forwarder:

// named.conf
zone "" {
    type forward;
    forwarders {; };

A nameserver redirect is a cross between doing a CNAME and a DNS forwarder. You provide a nameserver (NS) record which the requesting client will subsequently query for the record.

; zone file IN NS;
share|improve this answer

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .