dns

Looking for a zone file parser written in php

I am looking for a class to parse root zone files. Have you seen one? My current script is in php so the class would need to be as well. G-Man ...

Anyone used the Ruby Nettica gem?

Has anyone used the Ruby Nettica gem to add an A-record to their DNS file on Nettica? I am continually getting 404 errors but I know that my user/pass creds are correct and I know the domain exists! Thanks for any help. Chad ...

Has anyone written Ruby code to programmatically modify their DNS?

There are a bunch of services (dyndns, nettica, etc.) that offer API's but I'm having trouble with Nettica's and I was just wondering if anyone has a nice gem suggestion for any of the DNS services... I'm not set on one or the other. Thanks for any help in advance. Chad ...

How do you host multiple public facing websites on a VPS?

I have moved this question to serverfault where it might be more appropriate. See http://serverfault.com/questions/128329/how-do-you-host-multiple-public-facing-websites-on-a-vps We host about 30 websites using typical shared hosting plans using ASP.NET and SQL 2000/2005/2008. I am now wondering about hosting all of these websites usin...

How to flush DNS cache in Windows Mobile programmatically?

Hello, My windows mobile application (written in C# with the compact framework) needs to know if a particular machine is active or not. To achieve this goal, I thought to use a ping mechanism. I tried to use the Ping class implemented in the opennetcf framework (the System.Net.NetworkInformation.Ping class for the .NET Framework is no...

Random DNS Client Issue with BIND9/Windows Server 2003 DNS

Within our office, we have a local server running DNS, for internal related "domains", (e.g. .internal, .office, .lan, .vpn, etc.). Randomly, only the hosts configured with those extensions will stop resolving on the Windows-based workstations. Sometimes it'll work for a couple weeks without issue on one machine, then suddenly stop wor...

Removing http301 redirect from client's cache

Hi, I have a server/client architecture where the client hits the ASP.NET server's service at a certain host name, IP address, and port. Without thinking, I logged on to the server and set up permanent HTTP301 redirection through IIS from that service to another URL that the machine handles via IIS (same IP and port), mistakenly thinkin...

Python lookup hostname from IP with 1 second timeout

How can I look up a hostname given an IP address? Furthermore, how can I specify a timeout in case no such reverse DNS entry exists? Trying to keep things as fast as possible. Or is there a better way? Thank you! ...

Why am I getting such random results when checking DNS?

The code is as follows: $domain = "fosajfjdkgdajfhsd.com"; $check1 = checkdnsrr($domain, "MX"); $check2 = checkdnsrr($domain, "A"); $check3 = (checkdnsrr($domain, "MX") || checkdnsrr($domain, "A")); $check4 = !(checkdnsrr($domain, "MX") || checkdnsrr($domain, "A")); die("{$check1} - {$check2} - {$check3} - {$check4}"); However when I ...

FOSS solution for a local machine: DNS

Hi, I love my Mac. But I have always found that my DNS lookups are as slow, even while flushing caches and I travel over known roads on the Internet (I frequently visit the same websites over and over again). I was wondering if someone would know something a bit more automatic/intelligent than /etc/hosts and less complex and iron forged...

Dot Net Nuke - Sub Domains

Hi Guys, I've got a DNN portal set up for me and my brother, which works, and i'd like to make it so that sub domains point to our respective sub section of the sites. I.e. brothers.co.uk = brothers.co.uk/home.aspx me.brothers.co.uk = brothers.co.uk/me.aspx him.brothers.co.uk = brothers.co.uk/him.aspx I've got the sub sections set ...

System.Net.Dns.GetHostAddresses("")

I have an application I have been working on and it can be slow to start when my ISP is down because of DNS. My ISP was down for 3 hours yesterday, so I didn't think much about this piece of code I had added, until I found that it is always slow to start. This code is supposed to return your IP address and my reading of the link suggests...

mails sent from gmail not getting delevered in horde inboxs

Mails from horde inbox gets sent to gmail but mails sent from gmail do not get sent to the horde inbox What might be the prob ? ...

Can squid forward DNS queries to a DNS server?

This might something be completely impossible to achieve, but before I give it a shot thought I might get some advice from a fellow geek. Would squid proxy DNS queries as well? I would like to forward DNS queries to go through squid and use squid's DNS error page, of course by customizing it. I see the DNS queries are hitting my squid bo...

How to force browsers/ISPs to look for my new DNS?

hi guys, I have changed the DNS for my domain. what code (or header) should I use in my old server to tell the visitor's browser or ISP that it should check for my new DNS and the current content is old? is the temp redirecting to a subdomain should help? or you know a better way? ...

WCF host in windows service: cannot get wsdl

Hi guys! i've a windows service that hosts a WCF service with basicHTTPBinding. In test everything goes right, when i deploy the win service on a Window Server 2003, service hosts correctly wcf, I print out endpoints in tracing, they're correct, but when i ask for wsdl using the address that service exposed (i.e. http://mybaseaddress/?w...

C#/.NET: FInd out whether a server exists, Query DNS for SVC records.

Writing a cleint/Server tool I am tasked trying to find a server to connect to. I would love to make things as easy as possible for the user. As such, my idea is to: CHeck whether specific servers (coded by name) exist (like "mail.xxx" for a mail server, for example - my exampüle is not a mail server;) Query otherwise for DNS SVC recor...

Display list of websites on local IIS server in a web page

Hey Guys, I am currently trying to figure out a way to list all of the websites that are running on a local IIS 6 server at the office and display links to each site with their descriptions so we can always find our development sites with ease. The way that the server is currently set up is I add a DNS record for a new site. eg: newsit...

DNS resolve without depending on router for asterisk system

Hello, Basically I have a Debian box running asterisk assigned an IP via DHCP with host-name XXX. My windows browser can resolve the host-name but if I use host-name in X-Lite or my SPA922 phone it fails to resolve. Is there any way of getting this to work without depending on the router or assigning a static IP (request is to make it po...

*Best* way to forward/redirect a commonly mis-typed domain name

You own thecheesecakefactory.com and your site lives there. You know that many of your visitors will simply type cheesecakefactory.com into their browser, so you purchase that domain as well. What is the cleanest way of handling the redirection. I know GoDaddy offers a "domain forwarding" service but I am not sure if this is the "prope...