dns

DNS Round-Robin on SSL

We're adding a second web server for redundancy and load sharing purposes. All connections are mandated to be SSL, and adding a dedicated appliance is not possible at this moment. I'd like to use round robin DNS, where both servers answer to the same domain using different IPs (we have a wildcard SSL certificate, so that's OK). I can ge...

Looking for a dynamic DNS server written in Java

I'm experimenting with an idea for a local network application that requires a dynamic DNS server that get new addresses from a database. This is only for prototyping but I need to be able to extend it using some Java logic and a SQL database. Any ideas? ...

SEO Destroyed By URL Forwarding - Can't figure out another way

We design and host websites for our clients/sales force. We have our own domain: http://www.firstheartland.com Our agents fill out a series of forms on our website that are loaded into a database. The database then renders the website as a database driven website. /repwebsites/repSite.cfm?link=&rep=rick.higgins /repwebsites/repSit...

Active Directory generates DNS record for internal replication interface

I have an active directory domain controller in the 10.1.x.x address space that hosts some files. These files are replicated using DFS-R to a second machine over a crossover cable on a dedicated interface in the 192.168.x.x address space. The replication setup works great, but the domain controller keeps creating a DNS A record that poi...

How do I set the Alternate DNS server?

Hi. I'm trying to set the Alternate DNS Server using .NET. I have managed to set the main DNS server by using this bit of code. ManagementClass mc = new ManagementClass("Win32_NetworkAdapterConfiguration"); ManagementObjectCollection moc = mc.GetInstances(); foreach (ManagementObject mo in moc) ...

Is it possible to get a list of .com.eg domains programmatically?

I want to create a spider on the Egyptians domains, I was wondering if there is any method I can use to communicate with domain servers to get the list of all domains that end in .com.eg? ...

URL CNAME Limitation?

We have a domain CNAME pointing to our Amazon load balancer, however the URL's that Amazon provides are longer than 32 characters and one of our clients DNS providers limits CNAME's to 32 characters. Aside from moving to a diff DNS, any suggestions to get around this? HTTP redirect not an option for the URL either.... Cheers, Chad ...

Programmatically Refresh DNS resolution (avoid cache) (c#)

Hi all, Is there a way to programmatically remove an address from windows' dns cache, or to re-resolve it? I'm using c#, but native code would be just fine (however, playing with the registry would not be). I'm writing a little application that measures the amount of time it takes to resolve an address and would like to avoid caching i...

URL Masking with DNS and/or Mod_Rewrite?

I want to setup a system so that multiple custom domains like [mydomain.com/params] will redirect to [myapp.com/mydomain.com/params]. Can I do this using only DNS settings? I'm guessing that is not possible, so would it be a better solution to direct mydomain1.com, mydomain2.com, mydomain3.com, etc. to one IP address then use Mod_Rewri...

How do I test my DNS connection?

A simple question. How do I test if my current DNS is working or down? Would it involve polling? That I fear would take up resources and also require execution on a separate thread. ...

Backup DNS Server/s

Hi guys, I have a problem with this script here for /f "tokens=3" %%a in ('netsh interface ip show config ^| find /i "DHCP Enabled"') do set DHCP=%%a If /i "%dhcp%" == "Yes" ( REM do command here ) Else ( REM script to backup DNS servers to environment variables ) I've tried numerous ways using the first for /f example to tr...

grabbing a subtring in a batch file

I am trying to automate DNS zone creation by using a batch file fired through one of Plesk's events. Using the dnscmd command, the batch checks to see if the zone exists. If the zone does not exist, the script adds it according to specs. If it does exist, and it is a secondary zone, the script deletes and recreates it according to s...

Issue Logging in to Azure deployed web app using while using CNAME redirect.

Hello, I am running into an issue with logging into an ASP.NET MVC web site using Forms Authentication while running on Azure using a CNAME to redirect my domain to the url of the Azure application. For clarity on how I am setup the following blog post explains how I am setup. http://blog.smarx.com/posts/custom-domain-names-in-windows-...

Find DNS HostName from IP Address in LAN

Hey all. I have written a program that sequentially scans certain parts of a LAN for computers (code will be provided). However, when I run this code, it only returns the DNS HostName of the computer it is running on. I looked into using WMI, but I cannot, as I will not always have priveleges to the computers being found. Is there any ot...

Redirect non www requests without redirecting sub-domains

To replace a legacy web site, a client has pointed their DNS at my server where a new version of the website exists. However they still serve http://support.example.com from their own server. I have noticed that non-www requests, e.g. http://example.com still point to their own server, therefore show the old web site. How can I point...

Does hosts file exist in iphone? How to change it?

I am developing an application that query to the server. In my Mac, I use the hosts file to change the dns to point to a local server within my local area network. Now I need to test it with my iphone, the problem is that my iphone does not recognize that server due to the missing configuration for dns. Within my mac or windows, I simp...

How can I Force flex apps to load on a local domain?

I have a situation where I need my swf to load from a domain. Currently my flex set up always loads a SWF from file//... I would prefer the domain to be local.somedomain.com Does anyone know how to do this? ...

Algorithm for sorting response in a round-robin DNS configuration

I'm trying to implement a sorting algorithm to ensure my DNS library always works with an ordered list of DNS records, even if the response comes from a Round-Robin configuration. Let's take the following two responses. First. $ dig google.com A ; <<>> DiG 9.6.0-APPLE-P2 <<>> google.com A ;; ... ;; ANSWER SECTION: google.com. 201 I...

Modify destination port in TCP/IP headers of all outgoing packets

Used SSH Tunnel to route the traffic addressed to server1:port1 to server2:port2. Now,the problem is that i want to redirect all TCP/IP packets from desktop addressed to server1:port1 to server2:port2. using "hosts" file on windows, i mapped server1 ip as ipaddress of server2. [local DNS mapping] http://server2:port2 //gives the desir...

Is it possible to have SSL certificate for IP address, not domain name?

I want my site to use URLs like http://2.2.2.2/... and https://2.2.2.2/... for static content to avoid unnecessary cookies in request AND avoid additional DNS request. Is there any way to obtain SSL cert for this purpose? ...