K
K
kasti2018-07-17 11:43:26
Domain Name System
kasti, 2018-07-17 11:43:26

Whether probably srv records, to make on the 80th port 1 ip, and on 25000 another?

Hello.
Is it possible to do something like this using conventional means like srv: on the domain lala.com:80 -> 5.193.14.7:80, and on lala.com:25000 -> 213.14.15.5:25000

Answer the question

In order to leave comments, you need to log in

3 answer(s)
V
vreitech, 2018-07-17
@fzfx

no.
except perhaps if the software for which this is done can work with such srv records.

C
CityCat4, 2018-07-17
@CityCat4

(never post your real IP, whether it's yours or not!)
DNS knows nothing about ports. DNS is a database, and quite simple, key->value. It returns a value based on the requested key. And that's all.
Of course, storing the value lala.com:80 - 1.2.3.4 in the data field of an SRV record does not hurt anything. It just won't make sense.

A
Anton, 2018-07-17
@Lampochkagori

There are no conventional means. One hostname (naked domain or subdomain) - one IP. You can put several A records on a domain or one subdomain, and create different ports with ports for them, but they will resolve randomly.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question