Hello, I'm trying to unify backend server maps in a local DNS server:
Internet HTTP -> reverse proxy [queries DNS] -> backend HTTP servers
Internet SMTP -> reverse proxy [queries DNS] -> backend SMTP servers
Internet POP3 -> reverse proxy [queries DNS] -> backend POP3 servers
Internet IMAP -> reverse proxy [queries DNS] -> backend IMAP servers
Instead of make a database map for each proxy, I'm setting up a
virtualhost system based on proxies that query local backend servers as
if they were in internet: with DNS maps.
I want to know if there is a way to do this with Pertition, without
maintaining a dedicated database:
Internet IMAP petition (guided with internet DNS) ->
Public firewall with a single IP ->
Perdition (guided with LAN DNS) ->
each backend server.
EXAMPLE 1:
MUA asks for
imap.example.com
Internet DNS maps MUA to 80.80.80.80 ->
Firewall to the LAN ->
1 Perdition asks login to MUA user
2 MUA gives username narcis(a)example.com
3 Perdition is configured to replace user@* by imap.*
and asks for
imap.example.com
4 A local DNS answers
imap.example.com A 192.168.1.5
Perdition -> backend IMAP server 192.168.1.5
Thanks.