Score:0

Dns multiple server forwarding

in flag

I have host name ftp.example.com

Can it be redirected by DNS to different servers For example ftp://ftp.example.com to server 192.168.xx.1 https://ftp.example.com to server 192.168.xx.2

Score:0
in flag

Not by DNS, but this is possible with a proxy server. Here is a very basic example for HAproxy:

listen http :80
    mode http
    server http1 192.168.xx.1:80 check

listen FTP :21,:10000-10250
    mode tcp
    server ftp01 192.168.xx.2 check port 21

The FTP part is explained in more detail here. HTTP proxy configuration is very common, you'll find many examples for it.

in flag
And delete the ptr recored from dns?
in flag
Well, you need to have a DNS record that points to the machine that runs the proxy server.
in flag
Server ftp01 is the server host name?
in flag
It's just a name used internally by haproxy. It doesn't really matter.
in flag
i installed the server, i put the example in the setting in the defaults section in the haproxy.cfg file ?
mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.