Results 1 to 2 of 2

Thread: Dnsmasq custom redirection

  1. #1
    Join Date
    Jul 2014
    Beans
    15

    Question Dnsmasq custom redirection

    I'm trying to make a custom DNS redirection

    if the user visited "natick.com/3456" then he will be redirected to "aiman.com/redirect.php?id=3456"

    is that even possible through dnsmasq ?
    if not possible what would be another solution/workaroud ?

  2. #2
    Join Date
    Nov 2008
    Location
    Boston MetroWest
    Beans
    16,326

    Re: Dnsmasq custom redirection

    No, but it would be possible if you were in control of the server for natick.com. Apache, for instance, allows you to rewrite incoming URLs or redirect queries to other locations.

    DNS cares only about hostnames. It doesn't handle URLs at all.
    If you ask for help, do not abandon your request. Please have the courtesy to check for responses and thank the people who helped you.

    Blog · Linode System Administration Guides · Android Apps for Ubuntu Users

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •