[Cialug] Faking DNS
Matthew Nuzum
newz at bearfruit.org
Thu May 13 19:41:02 CDT 2010
Hi, if you need simple testing you can use telnet.
$ telnet 11.22.33.44 80
GET / HTTP/1.1
Host: www.my-fake-site.com
(press enter twice)
You can also test SSL from the command line the same way with a little help:
http://www.bearfruit.org/2008/04/17/telnet-for-testing-ssl-https-websites/
On Thu, May 13, 2010 at 7:09 PM, L. V. Lammert <lvl at omnitec.net> 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
>
--
Matthew Nuzum
newz2000 on freenode, skype, linkedin, identi.ca and twitter
"Do not seek to follow in the footsteps of the wise. Seek what they sought."
–Matsuo Bashō
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://cialug.org/pipermail/cialug/attachments/20100513/93fe078d/attachment.htm
More information about the Cialug
mailing list