dns

How do I get a list of all subdomains of a domain?

I want to find out all the subdomains of a given domain. I found a hint which tells me to dig the authoritative Nameserver with the following option: dig @ns1.foo.bar some_domain.com axfr But this never works. Has anyone a better idea/approach ...

How to gain SSL load balancing!!!

I have to deploy my ASP.NET application into two seperated IIS servers. My application works over HTTPS/TLS. My ASP code has to handle client SSL certificate and it means I can't use simple forward load balancers, because I will never get such certificate from nginx or Apache Load Balancer. As I understand there is no common (open-sourc...

Best DNS with API access.

I saw this over on slashdot and realized if I could program in dns control into some of my apps it would make life a lot easier. Someone over there recommended dynect which apparently had a wonderful api. Unfortunately not a lot else was recomended. I don't know anything about managing dns servers I mostly work with the lamp stack, so on...

Wildcards in a hosts file

I want to setup my local development machine so that any requests for *.local are redirected to localhost. The idea is that as I develop multiple sites, I can just add vhosts to apache called site1.local, site2.local etc, and have them all resolve to localhost, while apache serves a different site accordingly. I am on Windows XP. I tri...

How do I setup an MX record for a sub-domain?

Update - GoDaddy said they don't provide support for custom MX records. I gave up and we just setup an MX record on another domain. I am hitting a road block in assistance with GoDaddy in setting up an MX record correctly and tired of waiting "24 to 48 hours" for propagation. I am going to describe this question in relation to the GoD...

Can Dns.GetHostEntry ever return an IPHostEntry with an empty AddressList?

Hi, I'm just wondering if there can be a case where the hostname can be successfully resolved but the returned hostEntry.AddressList is empty. Currently I'm doing something like this: IPHostEntry hostEntry = Dns.GetHostEntry("some.hostname.tld"); if (hostEntry.AddressList.Count() < 1) { // can that ever happen? throw new ArgumentEx...

Recomendation for redundant DNS service

Since my DNS service provider (namecheap) had lots of problems the last days, I'm looking to move my domains to another provider that also offers redundant service. Do you have any recommendation? Edit I'm looking for a service to host my domain records, not for DNS resolution Thank you ...

How does a Perl socket resolve hostnames under Linux?

I have a (from what I can tell) perfectly working Linux setup (Ubuntu 8.04) where all tools (nslookup, curl, wget, firefox, etc) are able to resolve addresses. Yet, the following code fails: $s = new IO::Socket::INET( PeerAddr => 'stackoverflow.com', PeerPort => 80, Proto => 'tcp', ); die "Error: $!\n" unless $s; I verifi...

Ping Failure Without IPv6

Our user interface is communicating with another application on a different machine, often connecting using domain names. On our network, when IPv6 is installed, DNS name resolution works great, all machines can be pinged and contacted fine. When IPv6 is uninstalled, pinging the same DNS names returns an IP address on some distant sub...

Best practices for migrating web application from Netscape to IIS?

We are in the process of developing a .NET based IIS hosted web application as part of a re-platforming project. The original web app is on a Netscape server, in the process of migration we need to point the dns to the IIS server so that the requests are responded by IIS. at the same time we would still need the Netscape server so as to ...

TSVN DNS error: The requested name is valid, but no data of the requested type was found

Colleagues, I've updated my TSVN client and now I'm getting this error when trying to update or commit to different repositories. Any ideas on how I can solve this? Thanks. IE shows up appropriate URL just fine. TortoiseSVN 1.5.3, Build 13783 ...

Map *.domain.com to a single address

I´m not sure if this is really a programming question, but it's related to what I'm doing which is... I'm developing a web site that will have a lot of .domain.com, and based on what contain, the web site will show diffrent content. Anyone knows how to do that? Maybe it requires changes in the DNS server. Thanks! ...

Getting DNS servers on Windows

I'm using the DnsQueryConfig Win32 function to get the DNS servers used by Windows. This works fine for IPv4 addresses, but what if the DNS servers have IPv6 addresses? ...

Internal DNS configuration woes

Alright, I am going to state up front that this question may be too involved (amount of detail not complexity) for this medium. But I figured this was the best place to start. I am attempting to setup a proof of concept project and my BIND configuration is my first big hurdle. I want to setup 3 DNS servers on 3 physical boxes. None o...

Can't resolve DNS

Hello; I'm trying to consume a webmethod but it seems that my application can't resolve DNS. The problem surfaces when I configure my application with an url (e.g.: http://mywebservice.com/webservice/methods.asmx), but it does not when I access the same webmethod through the server's IP address. The thing is that I need to access ...

DNS domain name syntax examples.

As per RFC1035, dns names may contain \ddd \x and quote symbol. Please explain with examples about those. ...

How do I find the DNS servers in Android from a Java program?

The java.net.InetAddress.GetByName(String host) method can only return A records so to lookup other record types I need to be able to send DNS queries using the dnsjava library. However that normally relies on being able to parse /etc/resolv.conf or similar to find the DNS server addresses and that doesn't work on Android. The current ...

SRV record lookup with iPhone SDK

In either a Windows or Mac OS X terminal if you type... nslookup -type=SRV _xmpp-server._tcp.gmail.com ... (for example) you will receive a bunch of SRV records relating to different google chat servers.. Does anyone have any experience in this area and possibly know how to service this information (hostname, port, weight, priority) ...

Finding DNS server settings programmatically on Mac OS X

I have some cross platform DNS client code that I use for doing end to end SMTP and on windows I can find the current DNS server ip addresses by looking in the registry. On the Mac I can probably use the SystemConfiguration framework as mentioned in the first answer, however the exact method of doing so is not immediately obvious. For i...

Php - Connecting to remote database very slow

I have a new VPS server, and I'm trying to get it to connect to another server at the same ISP. When I connect via mysql's command line tool, the connection is very fast. When I use PHP to connect to the remote DB, the connection time may take up to 5 seconds. Queries after this are executed quickly. This is not limited to mysql, usi...