[Cialug] Faking DNS

Matt Stanton inflatablesoulmate at brothersofchaos.com
Thu May 13 22:13:14 CDT 2010


Aren't there firefox tools for web developers that allow you to change 
the request headers?  You would simply change the proper field to the 
name of the website, and it should work.  You would have to have a way 
of setting it such that everything the browser requests uses that header 
so that images/css/includes would also be loaded from the proper vhost.

On 5/13/2010 7:09 PM, L. V. Lammert wrote:
> Say you have a name-based server configuration, .. the only way to test
> a site is to fake your local DNS in order to pass the correct URL in the
> link to the IP of your test server.
>
> That works fine if you are controlling the machine [i.e. edit the hosts
> file and substitute the test IP for that domain name], .. but how do you
> 'give' a URL to the client to view?
>
> Any redirection would break the test as the first time you click a link on
> the test site it would direct to the 'real' site.
>
> 	Lee
> _______________________________________________
> Cialug mailing list
> Cialug at cialug.org
> http://cialug.org/mailman/listinfo/cialug
>    



More information about the Cialug mailing list