Reputation: 1576
It is possible to configure DNS to mirror a URL that points to a URL with a Query string?
In this scenario I want
http://payment.mywebsite.com
to point to
http://paymentprovider.com&querystring
This payment provider uses a query string in the URL to whitelabel their product, providing the 'tailoring' of the branding based on the query string parameter in the URL.
I don't want a redirect. I want the customer to see the original URL when they reach the new page.
Upvotes: 0
Views: 168
Reputation: 522085
No. DNS is only responsible for domain names, as its name suggests. It has absolutely nothing to do with URLs.
If you want to mask a URL, a reverse proxy would be a solution. Any time someone sends a request to your proxy A, it internally requests B?foo=bar and returns the response.
Upvotes: 1