Path: csiph.com!weretis.net!feeder8.news.weretis.net!paganini.bofh.team!news.killfile.org!usenet.stanford.edu!not-for-mail From: "Marc Roos" Newsgroups: comp.protocols.dns.bind Subject: srv lookup in record Date: Sat, 22 Aug 2020 00:26:02 +0200 Lines: 42 Approved: bind-users@lists.isc.org Message-ID: References: <"H0000071001798cb.1598048762.sx.f1-outsourcing.eu*"@MHS> NNTP-Posting-Host: lists.isc.org Mime-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: quoted-printable X-Trace: usenet.stanford.edu 1598048774 13457 149.20.1.60 (21 Aug 2020 22:26:14 GMT) X-Complaints-To: action@cs.stanford.edu To: bind-users Return-Path: X-Original-To: bind-users@lists.isc.org Delivered-To: bind-users@lists.isc.org x-scalix-Hops: 1 Content-Disposition: inline X-Spam-Status: No, score=0.0 required=5.0 tests=SPF_HELO_NONE,SPF_PASS autolearn=disabled version=3.4.2 X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on mx.pao1.isc.org X-BeenThere: bind-users@lists.isc.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: BIND Users Mailing List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-Mailman-Original-Message-ID: <"H0000071001798cb.1598048762.sx.f1-outsourcing.eu*"@MHS> Xref: csiph.com comp.protocols.dns.bind:16063 Is it possible to use srv lookups, like eg cname. I do not want to=20 create SRV record, I just want to 'get' the ip addresses, that I would=20 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.=20 [marc@os0 temp3]$ dig +short srv=20 _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=20 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=20 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?