dns

Ideal timeout period for dns lookup

In my rails app i do a nslookup using a ruby library resolv. If the site like dgdfgdfgdfg.com is entered its talking too long to resolve. in some instance like 20 sec.(mostly for non-existent sites) Because it cause the application to slowdown. So i though of introducing a timeout period for the dns lookup. What will be the ideal timeo...

Get machine name for remote computer on local network

Hi, I've 2 machines with names Comp1, Comp2. There is a DNS name for them, that mask them as one, let say DNSName. I get IP addresses for both machines via Dns.GetHostEntry("DNSName"). But when I try get Dns.GetHostEntry(ipAddress) entry.HostName always contains DNSName. I found some way to get name through WMI. But our policy doesn't al...

DNS dig command line tool returns "status: SERVFAIL". should I be worried?

Background: I've setup a site on Squarespace, got a domain on domain.com, used domain.com's DNS manager to create CNAME for squarespace (like they recommend). I changed the nameservers yesterday to slicehost (a failed experiment) and back to domain.com's tonight. Now when I run a dig, I get the following: ; <<>> DiG 9.6.0-APPLE-P2 <<>>...

How do I map custom domains to my sites on a multisite Wordpress installation?

I just upgraded one of my many blogs to Wordpress 3.0 and I was glad to see that I now should be able to run all my blogs from a central installation. I have the multisite stuff configured and up and running, and can create new blogs as I wish. My host is set up to handle wildcard subdomains, but I'd like to map my already existing, ...

Setting up custom domain on Heroku with CNAME redirect for www subdomain

I'm using Heroku, and have added a couple custom domains for my app, i.e. myapp.com and www.myapp.com My DNS at GoDaddy has three A records for '@' pointing to three separate Heroku IPs, and a CNAME for the 'www' subdomain that points to proxy.heroku.com What I want to do is redirect any traffic to www.myapp.com to myapp.com. I tried s...

Web2py default app

I am planning to publish my site soon on Dreamhost using passenger WSGI as mentioned in the dreamhost setup documentation. My issue is that I am wanting www.mydomain.com to go directly to my new application, instead of needing to go to web2py.mydomain.com/MyApp/Default. What is the best way to solve this issue? Do I use DNS redirects ...

Problem with merging wildcard of subdomains with wildcard of few sub-subdomains

Hello! I have EHCP installed because it's simple and helpful on server with few FTP accounts and websites. It's testing only server. Problem is: I can access *.avki.zgarnijlicke.pl, *.kierowca.zgarnijlicke.pl but *.zgarnijlicke.pl isn't working. My config's are: a) Apache template: #______start of {domainname}paneluser:{panelusername}...

Getting server ip using Dns.GetHostEntry in c#

I use .net 3.5/c# I need to get server's IP, I was using this code: string strHostName = Dns.GetHostName(); IPHostEntry hostInfo = Dns.GetHostEntry(strHostName); string serverIpParam = hostInfo.AddressList[0].ToString(); return serverIpParam; However, after a switch to Windows 2008 server, my IP has letter format instead of usual f...

DNS_GET_RECORD 'www' record?

I am using a PHP script that makes use of dns_get_record to check the A and MX records of domains. The domain is entered via a simple form. However, I'm having some issues adding 'www' to the domain variable. I would like to add an A Record lookup for www.domain.com. How do I add the www? <?php $domain = $_POST["Domain"]; $dns = d...

Why wouldn't dns_get_record show CNAMEs when I KNOW they exist?

I'm playing with DNS record lookup in PHP and am running into something confusing. I've looked up 2 different domains each using different hosts and different authoritative name servers. Both of these domains I know for certain have CNAMES. I've looked up DNS records using this online tool: http://network-tools.com/ I've also looked t...

Sub domain issue

I am new to web hosting, never done it before. I am working on my assignment for uni. and wanted to know if I can create multiple subdomains when I am hosted with a webhost. I want to be able to do the following: 1. users can sign up and get a subdomain of their choice. 2. users are allocated a limited webspace 3. The access to file typ...

How to determine if my mail server is configured correctly?

Hi, Does anyone know of an online service (similar to the ones that tell you if a site is up or down) that can connect to a specified mail server and perform checks to see if it is configured correctly? If not, does anyone know exactly what these checks should be? (https://www.nearlyfreespeech.net/about/email gives an interesting stan...

how to make custom domains

How to make custom domains like these http://fb.me http://youtu.be ...

Customise DNS per-process

Is it possible (on Windows) to simulate a "per-process" hosts file? Or, is it a feature of any current web browser to be able to customise the DNS mapping? Edit: For example, a side-by-side test lab scenario simulating a future DNS change. It would be neat to avoid having to use two separate computers! ...

Dynamically point domain in Apache to application running on Tomcat

Hi all, I have question. Let's assume that I have API which allows me to add dynamically add DNS records. Now, I would like to run simple application on Tomcat and put Apache in front of it, so that any domain added to DNS pointing on this Apache would be served by application running. I read a bit about Dynamically Configured Mass Virt...

DNS problems on Android

I had gotten reports from a few users that they couldn't login to our app (which makes HTTP calls to our site) or visit our website in their browser, so I added some code to our latest build to check what IP our host name is resolving to. I've gotten reports from several different users now that they get 127.0.0.1 for our hostname when ...

Hostname scanning in C#

Heya guys Iv'e recently started a new job as an ICT Technician and im creating an Console application which will consists of stuff that will help our daily tools! My first tool is a Network Scanner, Our system currently runs on Vanilla and Asset tags but the only way we can find the hostname / ip address is by going into the Windows Co...

.NET: Why does this domain not resolve?

Hi, I am trying to programmatically test if a given domain name exists. The following line of code works as expected: IPHostEntry IPhst =Dns.GetHostEntry("google.com"); But it fails for some few domains on the very same host at the very same time. For example, the following throws an exception. IPHostEntry IPhst =Dns.GetHostEntry...

"@ IN CNAME" in a subdomain.domain.com zone file | Requires A record, but then gives error on duplicate alias

The glue record provider redirects "platform.domain.com to my DNS server. Now that I have dynamic control over this domain, I'm trying to forward all requests for this domain to to eu.loadbalancer.domain.com (a health check and server monitor) - so the user is redirected to a healthy and available server. Because I can't resolve eu.loa...

How can I execute a .bat before publish starts?

Hi I am looking for some guidance on this... I want to change my dns settings before publishing... I made a bat that changes the dns but I have no Idea on how to execute it before publishing. note that I want to execute it before publishing and not after build thanks in advance. ... so there is no way to do this???... ...