L
L
Lion Golden2018-03-18 14:52:42
Domain Name System
Lion Golden, 2018-03-18 14:52:42

How to create an SRV record in DNS (reg.ru)?

There is a mydomen.ru domain with a website on 127.127.127.127, so that when you connect to it via ftp://mydomen.ru:21 , it will be transferred to another ip 144.144.144.144.
I made the entry '_ftp._tcp.mydomen.ru 0 0 21 144.144.144.144' if I understood correctly, it means that if you connect using the ftp protocol to port 21, then transfer to ip 144.144.144.144, but this does not work and the transfer goes anyway on the ip of the main A record.
I also tried to make A records on 144.144.144.144, and for web _http._tcp.mydomen.ru 0 0 80 127.127.127.127 but that doesn't work either.
Am I doing SRV records correctly? And is it possible to do without A records in this way of port forwarding by setting only forwarding 80 and 21 ports to different ip in SRV?

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question