dns

DNS resolving based on client IP

I want to configure bind/write driver that resolves DNS requests based on the ip address of the client. We want to unify the domain names of all test environments for our web application. Instead of having many domains like test.mysite.com, qa.mysite.com, etc for different staging environments we want only to have www.mysite.com and mak...

Specifying failover servers in c# webservice client

I need to build in some resilience in a web service client application. Are any of these two scenarios supported by the standard dot.net web service generated client (classic or 3.0)? Specifying a list of server addresses so that the clien can fall back automatically if one server goes down. Configuring the client so it looks up the DN...

How can I run a local DNS Caching nameserver on Vista?

I'm used to running my own DJB dnscache on all unix-like systems I have, i.e. Linux and Mac OSX. Now that I got me a Vista, I wonder what can I run on it to the same effect? ...

How to support custom user domains (like WordPress) in IIS/ASP.NET

I would like to know if it is possible using IIS and ASP.NET (and ideally something that might be employed on a shared hosting account, but this isn't required) to mimic WordPress.com's ability to allow end users to use their own domain names. WordPress has users who own their own domains change the domain's DNS settings to point to Wor...

Can I have two mail server for different emails

I have a registered domain name where the emails are handled by windows live admin center having a single mx record for my domain. I also have access to modify the dns records any time. We have around 20 email registered in windows live for my domain. for e.g. [email protected], [email protected] etc. Some users want to go in for goog...

How to get UdpClient to react to DNS updates

I am using a UdpClient to send packets to a server. I am initializing the UdpClient upon construction of my Sender object, using the (hostname, port) constructor. When constructed in this manner, the UdpClient resolves the hostname to an IP address. Subsequent calls to the UdpClient object use the IP address. Unfortunately, if the DNS a...

Determining which nameserver performed a resolution

I am setting up two nameservers in constr and then using res_search to find the IP address of a URI. Is there an easy way to find out which of the two nameservers did the resolution? I know that I can set up a trace in res_search and capture stdout but in my situation that will not be possible. Is the address of the nameserver somewh...

What would be the equivalent of Tomcat for DNS on Linux?

I'm working on migrating to Amazon EC2 for our servers and need to try out internal DNS options. I'm looking for the equivalent of Tomcat (a standard well know easy to use servlet container) in the DNS area. BIND is the only one I'm familiar with by name, but I'm wondering if there are other "better" options or if that's the one I should...

Unable to investigate DNS poisoning between China and US

I am interested to know how the DNS requests to political sites differ in different countries. I need to know how I can send a DNS query to a remote computer, let say, in China. Then, I want to compare the results to US. The goal of the experiment is to get a hand-on experience on the concept about DNS poison. I feel my lectures so the...

Extract domain name from a host name

Is there a programatic way to find the domain name from a given hostname? given -> www.yahoo.co.jp return -> yahoo.co.jp The approach that works but is very slow is: split on "." and remove 1 group from the left, join and query an SOA record using dnspython when a valid SOA record is returned, consider that a domain Is there a clean...

DNS two domains one server

Greetings All, Long time reader first time poster. I work for a small school district. We are our own SOA so we can pretty much do what we want. In the state of Washington all educational institutions are given a name like myschools.wednet.edu. I've recently purchased a new and hopefully easier to remember domain myschools.org and I'...

DNS caching files not configured

I have just installed bind9 on a Debian system and I am trying to understand how it works and what it is doing. The thing that puzzles me is that no cache file is created in the cache directory. Well actually at one level I perfectly understand. In all the config files, the file directive names a file starting with "/etc/bind", i.e. a c...

JBoss UnknownHostException when on different network.

I'm having a bit of a problem with getting JBoss working across networks. As a quick overview, we have a development network (which I'll call DEV), and a client network (say.. CLIENT!). These are connected via a firewall. In the Dev network, the server is known as 192.168.100.50, on the client network it's known as 10.0.100.50. DNS in bo...

about dns polling

currently we use dns polling for 4 web servers, the problem we met is that:when user refreshes,he might go to other web servers.This feels very bad when a user has already login.Because we use session to remember login status,but when refreshing to another web servers,the session is lost.So the best solution should be make the use...

iphone offline cached apps dissapear after closed in safari?

hey all, We're developing an html5 offline webapp for the ipod touch/iphone. We have the manifests and everything working correctly, but we can't figure out why our app will not reopen after the 'tab' in iphone safari is closed. For example's sake, here's what works: 1) open the url to the offline-enabled html file in safari on the i...

Using 2 host names for the same .NET application

I need to have 2 domain names that will basically be the same application but with a different theme or skin. I know I can check for the domain name using Server Variables, but how do I point both domains to the same application? And do I develop this like a regular site (with the exception of theming?) Do I just make a regular "Web S...

Is there a good DNS server library in ruby?

I want to create a test DNS server in ruby, but could not find anything suitable. I found pnet-dns(http://rubyforge.org/projects/pnet-dns/). This project is incomplete and buggy. Is there any alternative? ...

Change DNS Zone from secondary to Primary with WMI ChangeZoneType

Hi, Has anyone used the WMI ChangeZoneType DNS command in C#\VB.net before. I get an incorrect parameter exception when i try and invoke the changezonetype command. I get the dns zone that i want to change from the dns server (via query), set the zonetype to the appropriate uint value but am then getting the exception. I am trying to ch...

service that takes xxx.1.2.3.4.theservice.com and resolves to IP 1.2.3.4

Does anyone know of a free service that's out there that takes xxx.1.2.3.4.theservice.com and resolves to IP 1.2.3.4? I need this so that I can launch ec2 boxes and point my selenium test scripts at them. I would just use IPs but I need the subdomains to work. Or is there some alternative way to accomplish the same goal? I don't want to...

By modifying my DNS records, how can I have "test.mydomain.com" resolve to XXX.XXX.XXX.XXX:8080?

First, this is a programming question because I'm trying to set up a test/QA server running alongside a production server. Second, yes I should post this on Serverfault, but I tried logging in with THREE different OpenID providers, and every time I get an error saying this this provider isn't supported in the Beta (even though the icon ...