dns

C-library consists of asynchronous DNS resolver

Need to find a asynchronous DNS resolver implemented in C (except Sofia Resolver) which supports DNS queries for NAPTR, SRV and A records. It would be desired to support internal caching. Any suggestions/recommendations? Currently looking at ldns which supports NAPTR, SVC and A queries. But, If I have understood correctly, it is not asyn...

Redirecting domain (not google apps) to appengine

Hi, I'm building a application that supports different domains. A small CMS that supports different domains. But what I can't figure out is how to redirect other domains that's outside google apps. I have a domain at google apps, that work's perfectly. When I create a cname that points at either my appid.appspot.com or www.appsdomain....

How to get mx records for a dns name with System.Net.DNS?

Is there any built in method in the .NET library that will return all of the MX records for a given domain? I see how you get CNAMES, but not MX records. ...

nslookup for C# and C++ to resolve a host using a specific Server

i need to resolve a hostname using a specific DNS server like you would in nslookup C:\>nslookup hotname 192.100.10.10 Server: UnKnown Address: 192.100.10.10 Name: hostname.host Address: 192.100.10.14 But ofcourse in return i dont just want the address i want all the values for Server, Address, Name and Address I have looked a...

How can I forward web address (not ip) to VPS virtual host

I have a vps that I am planning to host multiple websites on. I've registered the website, and I want to forward it to my vps. But my vps' virtual host is looking for web address instead of ip address (since I would hosting multiple websites on a single IP address using virtual host). But on the website that I registered the domain, I r...

parser in C# for zone file used by named/bind

Hi, I'm looking for a bind/named zone file parser in .NET C#. If there is anything I could import/convert I would be interested too. Unfortunately there's not much, or I'm having troubles finding it. My goal is to make sure a zone file is syntax-errors-free before I push it to the server. I'd appreciate any help or hints. Thanks ...

How can I do geographic traffic redirection and setup an edge server

Hi, Ours is a webbased software as a service application. Our data centers are located on the west coast, and we would like to provide better user experience to our East coast clients. How can I setup an edge server on the east coast, and serve static data like images and javascript from there, but still refer to west coast server for ap...

Why is `to.` a valid domain name?

In visiting http://to./ you are given a legitimate website. Is to. a valid domain name then, despite not ending with a TLD and having a superfluous period? Why? Being valid, what would its DNS hierarchy be? ...

Can Apache/Tomcat allow multiple incoming DNS served by one app "host"?

Is there a way to setup apache and tomcat so that I can have d1.webapp.com d2.webapp.com d3.webapp.com etc. All hosted by the same tomcat instance without having to add aliases to the HOSTS element in the tomcat config file? I will be allowing new users to have thier own domain when they sign up and it will be a subdomain of the web ...

.NET - downloading multiple pages from a website with a single DNS query

I'm using HttpRequest to download several pages from a website (in a loop). Simplifying it looks like this: HttpWebRequest req = (HttpWebRequest)HttpWebRequest.Create( "http://sub.domain.com/something/" + someString ); HttpWebResponse resp = (HttpWebResponse)req.GetResponse(); //do something I'm not quite sure ...

IIS7: URL Rewrite - can it be used to hide a CDN path?

Hi, I am using Rackspace Cloud CDN (Limelight CDN) for my website. The URLs of the CDN are in the format http://cxxxxxx.cdn.cloudfiles.rackspacecloud.com/something.jpg My domain is mydomain.com. Can I use IIS URL rewriting to show http://cxxxxxx.cdn.cloudfiles.rackspacecloud.com/something.jpg as http://images.mydomain.com/somethi...

openfire cannot subscribe gmail user

i trying to add gmail user with my local openfire, but get error below. I think something wrong with dns srv. can anyone suggest how to troubleshoot? for your info ,i' using freedns.afraid.org and i get below error, but when i use dyndns, i dont get below error </error> </presence> at org.jivesoftware.openfire.spi.RoutingTableImpl.rou...

Future proofing client-server code?

Hi, We have a web based client-server product. The client is expected to be used in the upwards of 1M users (a famous company is going to use it). Our server is set up in the cloud. One of the major questions while designing is how to make the whole program future proof. Say: Cloud provider goes down, then move automatically to backu...

Problem with System.Net.Dns.GetHostEntry(dnsServer) on .NET 4.0

I have been using the following code for months (without problem) in a .NET 2.0/3.5 environment: string server="192.168.1.3"; IPHostEntry ipe = System.Net.Dns.GetHostEntry(server); IPAddress ipa = ipe.AddressList[0]; IPEndPoint ipep = new IPEndPoint(ipa, (int)UdpServices.Domain); Here, server is hardcoded to an IP address, but in my a...

capturing dns packets using java

I want to log the websites visited in a system. So i decided to record the packets send by the system. I am using Jpcap API. I am able to record a lot of packets. Now what i want to do is i want to filter only DNS packets. I think that will be able to log the websites. I want a way to filter the DNS packets. How can I do it? ...

How to host a naked domain on a CDN?

If I have a domain that I wish to serve "naked" eg http://examp.le/, and efficiently with a CDN, what are my options? The issue is that the CDNs I looked at all want you to use a CNAME so that they can do geo ip lookup. CNAMES are not meant to be served at the same level as other records, and this apparently breaks some dns resolvers. Y...

Access problems with System.Diagnostics.Process in webservice (dnsmcd.exe)

Hello everyone. I have problems with executing a process in a webservice method on a Windows Server 2003 machine. Here is the code: Dim target As String = "C:\dnscmd.exe" Dim fileInfo As System.IO.FileInfo = New System.IO.FileInfo(target) If Not fileInfo.Exists Then Throw New System.IO.FileNotFoundException("The ...

Specify cache expiry for com.sun.jndi.dns.DnsContextFactory?

Struggling to find comprehensive documentation for JNDI and DNS. There is some here but it's rather limited. Specific question: Is it possible to control the caching behaviour of lookups against DNS using com.sun.jndi.dns.DnsContextFactory, for example to say 'do not cache'. Example code: Hashtable<String, String> env = new Hashtable<...

How to change DNS settings in iPhone

Hello, I want to develop an application for iPhone. I have developed some apps before. I need to change DNS settings. Is it possible and how can I do and if it's possible, is it applicable only to wi-fi ? I want to change it for wi-fi and 3G, EDGE, etc. Thanks. ...

How I can ask a specify Name Server to have the IP of a domain

For example, I have a domain name example.com hosted at some host free, and now I want to know where is the IP of the host. so I can't configure the registrar control panel to point to that IP. So is there any way to know that IP, without configure the name server to point to it. and I know the Name Server of the hosting. for example ns1...