Forum: NGINX reverse proxy dns configuration

2974d09ac2541e892966b762aad84943?d=identicon&s=25 cybermass (Guest)
on 2014-04-09 04:26
(Received via mailing list)
Hi. I am looking to deploy nginx on a proxy server. The real backend is
located in a remoate geographic location and has apache, mysql, dovecot
postfix services supporting an IMAP mail-server. I am a bit confused on
DNS is to be setup on both the proxy and the backend server. I am
that I define the nameservers in the registrar for the proxies (I will
two; one as a failover). I am also assuming that on the proxy itself,
is installed of course and the MX is defined as for
example. I am aware that in the nginx.conf, I define the mail directive

`mail {

Basically, I read that on the physical proxy box, the hostname can be (as long as it matches what is defined in the
but having listed in means that it will be
single point for reference for all our users looking to authenticate and
the IMAP service.

If I am correct so far, I would then like to know how bind is to be
configured on the real backend. Should the hostname also be I would assume that it couldn't hurt since the world
not aware of this backend machine so pinging by hostname would not
THIS box but rather the proxy box. So I am assuming the authoritative
config (including the reverse DNS) is to be setup entirely on the proxy
leaving the real backend as just a hostname and using proxy_pass

Any help would be appreciated. Thanks.

Posted at Nginx Forum:,249135,249135#msg-249135
Please log in before posting. Registration is free and takes only a minute.
Existing account

NEW: Do you have a Google/GoogleMail, Yahoo or Facebook account? No registration required!
Log in with Google account | Log in with Yahoo account | Log in with Facebook account
No account? Register here.