Questions tagged [srv]

In the context of the Linux BIND application, a Service record (SRV record) is a specification of data in the Domain Name System defining the location, i.e. the hostname and port number, of servers for specified services.

70 questions
1
vote
1 answer

DNS Record to Redirect Different Ports to Different Hosts

I have a subdomain that I want to use for 2 things at once: When accessed through web ports, redirect to Server 1 to show a web page, When that address is used for windows remote desktop, redirect to Server 2 for remote desktop. Is it possible to…
1
vote
1 answer

Using SRV Records from Consul

I have recently inherited a micro-services architecture deployed on AWS ECS using Application Load Balancers and Route-53 to handle service discovery and decided that consul would be simpler and cheaper for this task. Our port mappings for services…
Natelxon
  • 11
  • 3
1
vote
0 answers

the meaning of srv records of kube-dns

For some reason I need get srv records in kube-dns , below is what I got [root@devo-ui-37mmn /]# nslookup > set q=srv > devo-ui.dev.svc.cluster.local. Server: 10.254.0.2 Address: 10.254.0.2#53 devo-ui.dev.svc.cluster.local service = 10 100…
zhashuyu
  • 161
  • 2
  • 9
1
vote
1 answer

How retrieve DNS SRV informations in a WindowPhone7 Application?

I am looking for a way to query dns to get srv informations. Nothing seems to exist in standard in .NET. Is there any simple method to perform this action or should I create it myself ?
Arkan
  • 6,196
  • 3
  • 38
  • 54
1
vote
3 answers

DNS SRV failover not working in asterisk

I have added following two DNS SRV records (with TTL 10 seconds) for testing: _sip._udp.example.com. SRV 1 0 5060 sip101.example.com. _sip._udp.example.com. SRV 2 0 5060 sip102.example.com. Both sip101.example.com and…
Azhar Nawaz
  • 91
  • 12
1
vote
1 answer

Consul Java DNS SRV Lookup

I'm trying to use Consul to do service discovery from a Java application running on a default Debian server using spotify's dnsjava I know Consul DNS listens on port 8600 for queries (https://www.consul.io/docs/agent/dns.html). However DNS listens…
Tony Murphy
  • 711
  • 9
  • 22
1
vote
2 answers

subdomain redirect to a specific port using SRV?

Lets say I have the following: subdomain: xyz.mydomain.com my server's public DNS: xyz.fastserver.com when someone goes to xyz.mydomain.com I want them to be redirected to xyz.mydomain.com:8080 I have full access to all the typical A(host),…
arkadhar
  • 11
  • 3
1
vote
1 answer

How to search a Windows DNS server tree for a specific SRV service?

Our customers add a unique service (_careq) with an SRV record to their DNS servers so our software can just do a DnsQuery lookup and get the host's name. The problem is some customers don't put the SRV record in the correct location (it should read…
JeffR
  • 765
  • 2
  • 8
  • 23
1
vote
2 answers

automatic failover if webserver is down (SRV / additional A-record / ?)

I am starting to develop a webservice that will be hosted in the cloud but needs higher availability than typical cloud SLAs provide. Typical SLAs, e.g. Windows Azure, promise an availability of 99.9%, i.e. up to 43min downtime per month. I am…
SCBuergel
  • 1,613
  • 16
  • 26
1
vote
0 answers

Setting up a SRV record to redirect from subdomain to main domain but different port

So this is my desired result. I have a VPS (hosted at DigitalOcean) that has two servers running. One is a webserver listening on port 80 that can be accessed simply by typing my domain name like myfirefly.me The other server is also a webserver but…
Luka Horvat
  • 4,283
  • 3
  • 30
  • 48
0
votes
1 answer

Why SRV res_query always returns -1?

I'm trying to implement a simple DNS SRV query by using res_query. My code for the res_query part is following: char* target; short* port; union { HEADER hdr; u_char buf[1024]; } response; ns_msg handle; ns_rr rr; u_char buf[256], *p; int…
zaplec
  • 1,681
  • 4
  • 23
  • 51
0
votes
1 answer

Anyone know of a good regular expression for SRV DNS Records?

So far I've got the following regex that matches against regular domains but not domains with underscores. Example: _tcp._sip.45.example.com. Any help would be greatly…
mrbillyocean
  • 1,341
  • 1
  • 14
  • 24
0
votes
0 answers

I'm getting "Mongo::Error::NoSRVRecords in Devise::RegistrationsController#create" while try to save a record on db

Overview I'm working on a Ruby on Rails application but i cannot save any record on MongoDB. Version's details: ruby "3.0.0", rails "7.0.4", devise "4.8.1", mongoid "7.0". The goal is to connect my Rails application to mongodb atlas, so i did the…
0
votes
0 answers

How to create and use metatrader provisioning profiles in https://app.metaapi.cloud/

I am going to use metaAPI cloud to develop my customized trading app. My problem is how to create MT provisioning profile. Already I've purchased membership as $100, and as a next step I am going to create MT Accounts and MT profiles, but I don't…
0
votes
0 answers

how to have subdomains point to different ports for different services with the same ip

I self-host a lot of my services, I have gitea and a website running on the same IP address. for the longest time, I've just been adding my port at the end of the URL and it's been pretty decent for the most part, but I want to have git running on…
TIBTHINK
  • 1
  • 1