Groups | Search | Server Info | Login | Register


Groups > comp.protocols.dns.bind > #16063

srv lookup in record

From "Marc Roos" <M.Roos@f1-outsourcing.eu>
Newsgroups comp.protocols.dns.bind
Subject srv lookup in record
Date 2020-08-22 00:26 +0200
Message-ID <mailman.820.1598048726.942.bind-users@lists.isc.org> (permalink)
References <"H0000071001798cb.1598048762.sx.f1-outsourcing.eu*"@MHS>

Show all headers | View raw


Is it possible to use srv lookups, like eg cname. I do not want to 
create SRV record, I just want to 'get' the ip addresses, that I would 
get vai srv lookup.

Say I have this task

[@temp3]$ dig +short server.test.marathon.mesos
192.168.123.101
192.168.124.50
192.168.124.52
192.168.124.51
192.168.123.100
192.168.123.102

[@temp3]$ dig +short srv _http-apps._server.test._tcp.marathon.mesos
0 1 31024 server.test-usbzr-s3.marathon.mesos.
0 1 31852 server.test-z9x84-s3.marathon.mesos.
0 1 31790 server.test-k7g8r-s4.marathon.mesos. 

[marc@os0 temp3]$ dig +short srv 
_http-demo._server.test._tcp.marathon.mesos
0 1 31791 server.test-c8g8b-s4.marathon.mesos.
0 1 31025 server.test-wtbza-s3.marathon.mesos.
0 1 31853 server.test-d0x87-s3.marathon.mesos.

I would like to only make available the ip addresses that are in the 
same range. If I would use a cname like this:

server.local.	CNAME	 server.test.marathon.mesos.

I would get 6 of which 3 ip addresses are not in the same range. So I 
need to have something like

server.local.	???	 _http-apps._server.test._tcp.marathon.mesos.

Is this possible in bind-9.8.2-0.68.rc1.el6_10.3.x86_64?




Back to comp.protocols.dns.bind | Previous | Next | Find similar


Thread

srv lookup in record "Marc Roos" <M.Roos@f1-outsourcing.eu> - 2020-08-22 00:26 +0200

csiph-web