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.
Questions tagged [srv]
65 questions
44
votes
5 answers
Why do browsers not use SRV records?
Why do browsers not use SRV records?
It seems like a minimal amount of work and it will make the server-side implementation of reliable websites much simpler.
For example, you can specify tiers, such that www.example.com resolves to 1.2.3.4 and…
![](../../users/profiles/129805.webp)
fadedbee
- 37,386
- 39
- 142
- 236
9
votes
4 answers
How do I resolve an SRV record in Python?
Something which doesn't rely on native libraries would be better.
![](../../users/profiles/121956.webp)
Gili Nachum
- 3,982
- 2
- 27
- 29
8
votes
3 answers
How do I create an SRV record in DNS with C#
I am using WMI to create different types of DNS records but am having a problem with SRV records. I keep getting a "Not found" error whenever I pass the DomainName parameter. The domain name looks good to me.
Has anyone ever successfully done…
![](../../users/profiles/327918.webp)
mcass20
- 1,588
- 1
- 20
- 39
7
votes
1 answer
Resolving SRV records with iOS SDK
I want to resolve DNS SRV records using the iOS SDK.
I've already tried the high-level Bonjour APIs Apple is providing, but they're not what I need. Now I'm using DNS SD.
void *processQueryForSRVRecord(void *record) {
DNSServiceRef sdRef;
…
![](../../users/profiles/2732883.webp)
Felix Meyer
- 73
- 1
- 3
6
votes
2 answers
Lightweight way to resolve DNS SRV records on Android
What is the most resource-efficient way to do SRV record lookups on Android, e.g. in an XMPP client like yaxim?
I am aware of:
JNDI, which is part of JavaSE but not in Android
dnsjava, which adds 800 KByte of class files (580KByte after ProGuard,…
![](../../users/profiles/539443.webp)
ge0rg
- 1,738
- 1
- 24
- 36
6
votes
1 answer
Java DNS Lookup for SRV records
In the below java code, I am making a DNS SRV record lookup to resolve the target domain name and associated port for a given domain name such as root@1000000000.blubluzone.com. The lookup function indicated with /HERE/ below returns null somehow…
![](../../users/profiles/960662.webp)
F. Aydemir
- 2,555
- 5
- 34
- 56
5
votes
3 answers
performs a NAPTR query
This may look like a very simple question, but I haven't found the answer on the Internet.
Anyone can give me clues how to performs a NAPTR query for a SIP domain? (this is mostly for DNS lookup), or any references also great for me (This one exist…
![](../../users/profiles/1046791.webp)
dejoong
- 2,183
- 5
- 23
- 24
5
votes
3 answers
Using DNS SRV records with C#
Is there a built in (to the .net framework) class or function to resolve a SRV entry to the corresponding records?
IE: _dmsc._tcp.network.local to an array of information (host, port, weight, priority)
![](../../users/profiles/138200.webp)
Mitch
- 19,026
- 4
- 57
- 77
4
votes
1 answer
PJSIP iOS unable to resolve SRV record in IPV6 network
With the apple's new requirement that all iOS apps should work in IPV6 network, I have a VOIP client app based on PJSIP that is completely broken. I'm trying to solve the issues step by step. The problem i want to fix first is the SRV resolution.
I…
![](../../users/profiles/4634240.webp)
adsun
- 741
- 9
- 26
3
votes
1 answer
Get DNS SRV record using JNDI
I am trying to get SRV records from a DNS server using JNDI.
Hashtable env = new Hashtable();
env.put("java.naming.factory.initial", "com.sun.jndi.dns.DnsContextFactory");
env.put("java.naming.provider.url",…
![](../../users/profiles/631937.webp)
Prasanna
- 3,483
- 7
- 41
- 71
3
votes
1 answer
puppetserver ca commands fail connecting to https://puppet:8140 when using SRV record solution
I use SRV solution in my puppet architecture. When trying to setup a new puppet master and CA and view my certificates I get this error:
puppetserver ca list --all
Fatal error when running action 'list'
Error: Failed connecting to…
![](../../users/profiles/3323914.webp)
deez
- 908
- 2
- 10
- 24
3
votes
2 answers
How can I import ares.h file on mosquitto protocol?
I've implemented mosquitto on my ARM target board.
I added -DWITH_SRV in Makefile, because I need to add SRV Loopup function on my system.
But it returns error
fatal error: ares.h: No such file or directory
I have no idea how can I fix it.
Just…
![](../../users/profiles/5456551.webp)
Sanggil Lee
- 31
- 1
- 3
3
votes
2 answers
SRV record lookup with PHP
If you type
nslookup -type=SRV _xmpp-server._tcp.gmail.com
(or use the dig command in OSX) you get some SRV records relating to google chat
I would like to replicate this functionality in PHP, does anyone have any good ideas how to do this?
I would…
![](../../users/profiles/33604.webp)
adam
- 21,709
- 20
- 83
- 117
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…
![](../../users/profiles/1921434.webp)
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
![](../../users/profiles/2066534.webp)
Phyore
- 41
- 10