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
3
votes
2 answers

Apache Permission denied for /srv/www: unable to check .htaccess file but not for /var/www

I've hit a problem on Centos 6.5: [Mon Dec 28 12:10:52 2012] [a] [client 127.0.0.1] (13) Permission denied: /srv/www/website/.htaccess pcfg_openfile: unable to check htaccess file, ensure it is readable Basically, I was building a brand new server…
webcoder
  • 129
  • 1
  • 10
3
votes
2 answers

PHP Query a SRV record

I run a Minecraft website and currently when using the query protocol it can't work with SRV records. I am just wondering is there a way to get the ip and port that the SRV record points to. E.g: mc.lunarphase.co.uk => 192.198.91.238:64759
Phyore
  • 41
  • 10
3
votes
1 answer

How to use SRV (or any other) record do redirect a domain?

So: i have a domain example.com i have a microsoft azure project at example.cloudapp.net i used a CNAME record to make www.example.com work with example.cloudapp.net. now the problem: the domain without the www. part does not work! i don't have…
cristogi
  • 66
  • 1
  • 6
3
votes
3 answers

How to check if a server support xmpp protocol?

I'm looking for a way to check if a server is support xmpp protocol, i.e. xmpp-server is running on this domain. Maybe special DNS check or something like that?
Anton Mironov
  • 488
  • 5
  • 13
2
votes
1 answer

ROS-server client srv not printing uint8

So I am learning ROS and I am having an issue in writing a simple service client code. The srv_server.cpp is: #include #include #include #include #include "msg_srv_basics/addInts.h" bool…
BoringSession
  • 55
  • 1
  • 7
2
votes
1 answer

Fetching Cosul SRV records in golang

I have a Main application and multiple worker nodes, which are registered in consul. I want to send data to the worker nodes, by load balancing. Using the consul API for golang, I'm able to get the available Services on the main application. But,…
Sude
  • 51
  • 5
2
votes
1 answer

Does JNDI use the DNS search list?

I would like to use JNDI to look up Kerberos SRV records in a local network. I try to guess the local domain in hopefully clever ways. If that fails I would like to look up the plain entry, e.g. _kerberos._tcp without any suffix and rely on the DNS…
hfs
  • 2,433
  • 24
  • 37
2
votes
1 answer

how to get SRV DNS address for statefulset headless service

Issue in dns lookup for statefulsets srv records My yaml file kind: List apiVersion: v1 items: - apiVersion: v1 kind: Service metadata: name: sfs-svc labels: app: sfs-app spec: ports: - port: 80 name: web …
A-P
  • 198
  • 1
  • 12
2
votes
2 answers

Is a DNS SRV record lookup secure?

I'm wondering how trustworthy the data from a SRV record lookup is? I have a program that essentially could fall apart if someone were to be able to spoof the SRV response. If not, are there any precautions that could be taken to make it…
2
votes
1 answer

LetsEncrypt challenges and SRV records

The SRV record allows hosting a service for a specific domain (commonly XMPP) on a different host than the A/AAAA record indicates. However, from what I can read in the documentation, the host that provides a service must still have a certificate…
Christoph Burschka
  • 4,467
  • 3
  • 16
  • 31
2
votes
0 answers

Get TTL values for SRV records in Node

I'm trying to get the TTL of SRV records using node's dns library. It seems they return TTLs for almost all resolve* requests except resolveSrv. Am I missing something? I'm building a service client that fails over to a lower priority address in…
royvandewater
  • 1,368
  • 2
  • 14
  • 16
2
votes
1 answer

iOS : DNS SRV lookup using DNSServiceQueryRecord

I plan to use apple's DNSServiceQueryRecord to resolve SRV records. I see that the callback passed to this method is called once per record that is returned from SRV lookup. How do i know that the query has completed and all the records have been…
adsun
  • 773
  • 9
  • 30
1
vote
2 answers

SRV records order retrieved from a DNS server

I have to make a DNS lookup for SRV records in Android application and choose the select one of them. When I query a DNS server for multiple SRV records differ in priority and weight, I get the records in different order on each request, are these…
Montaro
  • 9,240
  • 6
  • 29
  • 30
1
vote
1 answer

How to create multi-value SRV DNS record with terraform in AWS Route53 service?

I am trying to create multi-value SRV DNS entry in AWS route53 service via terraform. Values should be taken from instances tags. Due to the fact, that this is only one record, approach with count is not applicable. The trick is, that I have 10…
Piotr
  • 173
  • 1
  • 2
  • 11
1
vote
0 answers

How to Perform a SRV Look up in Kubernetes to use the port to perfom service call

From this Stack Overflow answer I know that, a SRV look up can be performed to get the port of the kubernetes service. But exactly how do I perform that? How do I put it in my yml file? and when I do NSlook up / # nslookup …