dns

Format of Resource Record in DNS

There is RDATA fiels in answer section of DNS message (as in section 4.1.3 of rfc 1035. Please explain how to retrieve IP address from this RDATA field means how this field is split up? ...

DNS Server Refusing Connection

I am implementing a dns client, in which i try to connect to a local dns server, but the dns server is returning the message with an error code 5 , which means that its refusing the connection. Any thoughts on why this might be happening ?? Thanks ...

Dns protocol header

I want to encode DNS protocol header using C and create a UDP datagram. Lets say I have a query www.google.com. Can anyone suggest how to go about it? You can find the header format here - http://www.nersc.gov/~scottc/software/snort/dns%5Fhead.html ...

How do I setup a reverse DNS entry in Plesk 9.2.2 frontent?

I need to get a reverse DNS entry into my zones file for one of my domains hosted under Plesk 9.2.2. Does anybody have ANY idea how this done? If all else fails I will have to update the zones file myself, but I am not sure how that will affect the front end working. ...

Can I get the webServer's name when a host header is set (IIS, asp.Net)

Hi, Is it possible to find what the Web Server's name is when the host header is set to something else in an asp.net web app? Environment is a company intranet, Windows 2003 server (IIS 6). e.g. the host header may be set to myApp.company.com and the servers name might be webAppServer1.company.com or webAppServer2.company.com Usi...

ASP.net Button on Postback gets a DNS error in IE

I have a button on an ASP.net page. <asp:Button Text="<%$Resources: WebResources, Export %>" ID="BtnExport" runat="server" OnClick="BtnExport_Click"/> The issue is that when I try to export more than 130 items the page will not postback and go straight to the dns error page. The code works fine in firefox, safari, and chrome. The is...

Out of memory exception while registering to a WMI event query

Short: What could cause an out-of-memory error when registering a WQL event query (error code 0x80041006)? How can we investigate the cause? Long: We keep getting an out-of-memory exception when trying to register a specific WQL event query in the MicrosoftDNS provider in a windows 2003 R2 server. We can reproduce by registering the f...

DNS answer returning NS records without IP addresses , is this normal ?

In my application, I have to send notification e-mails from time to time. In order to send mail (over SMTP), I have to get the MX server of that particular domain (domain part of e-mail address). This is not a Unix application but an Embedded one. What I do goes like this :: 1 - Send a DNS query (MX type) containing the domain to the c...

Simple DNS Server API

Is there some API that I can use to build a simple DNS server, preferably in Java? All I want my DNS server to do is answer with the same IP address for any request. ...

powerdns-on-rails ArgumentError

My Environments: CentOS 5 ruby 1.8.6 (2008-08-11 patchlevel 287) [x86_64-linux] Ruby Enterprise Edition 20090610 passneger or webrick I use this gem list. *** LOCAL GEMS *** actionmailer (2.3.2, 2.2.2) actionpack (2.3.2, 2.2.2) activerecord (2.3.2, 2.2.2) activeresource (2.3.2, 2.2.2) activesupport (2.3.2, 2.2.2) fastthread (1.0.7) h...

DNS solution when porting LAMP service from shared hosting to AWS EC2

I have create a LAMP based service on a shared hosting provider. It has now grown and I want to move it on AWS EC2. I have already ported the code and the data, set up ESB for the persistent content, set up an AMI image that boots up fine and has tested the solution on EC2. I want now to redirect my DNS to the EC2 instance(s) IP. I have...

Setting up OpenID delegation on a naked domain with Google App Engine or ZoneEdit

Background I used to have a standard Linux hosting account for my domain with both http://www.tjrobinson.net/ and http://tjrobinson.net/ displaying the same content. I used http://tjrobinson.net/ as my OpenID login which, combined with the markup below, let me use ClaimID as my OpenID provider but with a shorter, more portable and nicer...

How to detect network delay between two hosts by DNS protocol?

H1------------------H2 \ / \ / \ / \ / x (me) Suppose I'm in the point x, and there're two arbitrary host points, H1, H2. I can get the delay between H1 and me by ping, same I can also get the delay between H2 and me by ping (because there's time stam...

How do I build a DNS Query record in Erlang?

I am building a native Bonjour / Zeroconf library and need to build DNS query records to broadcast off to the other machines. I have tried looking thru the Erlang source code but as I am relatively new to Erlang it gets kind of dense down the bowels of all the inet_XXX.erl and .hrl files. I have a listener that works for receiving and pa...

How do I make a simple DNS server listening two ports simultaneously in python

Hi, I'm trying to build a DNS server in python. It must listen two ports (8007 - client, 8008 - admin). The client only send an URL and receives the respective IP. The admin has permissions to change the DNS table (add, remove,.. doesn't matter to this right now). So my question is: how do I implement the server listening continuously ...

Subdomains and DNS

Hi, I currently have my own domain name and dedicated server and I offer different packages to my clients. What I want to be able to do is have them sign up with my website and create a package automatically that they can access via their username as a subdomain e.g. http://yourusername.mywebsite.com I currently have DNS entries set u...

dns for dynamic IP

Hello. I'd like to know the best solutions to get a public static dns or IP adress to access a computer on a routed network (for example to access from the internet a PC in my home LAN). I heard about no-ip and dyndns. Are they good? which one is the best? Is it really reliable ? Thanks, KiTe. ...

What is the magic behind that DOT which makes Fiddler work?

It took me a while to learn that I have to put a dot after the "localhost" in the URL so that I can use fiddler with my development server. Why do I need to put this dot here to make fiddler work for my local: http://localhost.:1888/MyPage.aspx What does it stand for? thanks ...

Detect DNS Redirect in .NET

In a .NET application I am writing, I need to detect whether a particular URL is available. For the average user with a default DNS server, an invalid address would end up throwing a WebException. However, at home I am using OpenDNS. When I request an invalid address at home, the automatic OpenDNS redirect makes .NET believe the reque...

Fast concurrent checking of SOA DNS records for .co.za domains

I want to implement bulk availability checking of .co.za domain names as accurately as possible by checking for the existence of SOA or MX records using C# ASP.NET. I am looking for a solution that can check for the relevant DNS records in a way that properly utilises threading to check at least 10 domains at a time. "Why don't you jus...