RE: How to setup DNS alias

Steve Yates <[email protected]> Wed, 29 Jan 2014 14:02:03 -0600
Newsgroups gmane.comp.security.firewalls.m0n0wall
Message-ID <[email protected]>
Joschka Blohm wrote on Wed, Jan 29 2014 at 1:54 pm:

> I'm confused with the DNS settings in m0n0wall.
> 
> I want my clients in my internal network to access a webpage by just
> entering "test" in their address bar in the browser. But m0n0wall should
> route this query to 192.168.1.2/test. How do I do this?

	DNS converts a hostname to an IP address, so you can't do what you're asking using just DNS.  You would need to set up a web site for the hostname "test" on 192.168.1.2 and have that redirect to http://192.168.1.2/test.

--

Steve Yates
ITS, Inc.