Redirecting using DNS??

Discussion in 'HOWTO-Related Questions' started by user479, Jul 17, 2007.

  1. user479

    user479 New Member

    I am working on a project where we need to redirect users to a webpage no matter what url they type. I am using one machine that is running ubuntu server, bind dns, dhcp, and apache. So basically, I just need the machine to assign an ip, and any time there is a dns request, it just points back to its own webserver. I have dhcp and apache all figured out, but cant seem to get the dns to work. Any one have any suggestions on what to try? Thanks...
     
  2. falko

    falko Super Moderator Howtoforge Staff

    Maybe it's easier to do this with a proxy instead of DNS. The proxy could then redirect all requests to your web site.
     

Share This Page