srv

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 like to avoid using exec() as this does not return 100% standard responses across OSX...

Using a SRV DNS entry to connect to SQL Server in .NET

Hi guys, We have a cluster SQL Server and we use a SRV DNS entry to locate the service (i.e sql.mycompany.com). MyCompany.com_tcp_http Service Location (SRV) [0][0][1433]sql.Mycompany.com Now, how I can use the .NET SQLConnection to use this dns name (instead of the server name/IP)? Any ideas? or should I use System.Net.Dns to transla...

How to check if a server support xmpp protocol?

Hi, 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? ...

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) ...

How do I resolve an SRV record in Python?

Something which doesn't rely on native libraries would be even more better. ...

Using Java for 'nslookup -type=srv'

Hi: Is there a way in Java to do a Nslookup search on SRV records? I need to bind to Active Directory and would like to use the SRV records to help determine which of the ADs in the cluster are live. In command line the nslookup search string is: 'nslookup -type=srv _ ldap._tcp.ActiveDirectory domain name' Thanks. ...

Without using PECL or system() type functions, is there a way to look up DNS records using PHP?

I'm working on creating a new type of email protocol, and in order to do that I had to set up an SRV DNS record for my domain. In promoting this protocol, I'll need to be able to discover if a given host uses my system (and if not fall back to an older protocol). So, is there a way to pull a DNS record (such as SRV) using PHP without u...

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 this? Here is my code: internal static void CreateSrvRecordInDns(string Zone, string OwnerNam...