dns

dnspython and python objects

I'm trying to use the dnspython library, and am a little confused by their example for querying MX records on this page: www.dnspython.org/examples.html: import dns.resolver answers = dns.resolver.query('dnspython.org', 'MX') for rdata in answers: print 'Host', rdata.exchange, 'has preference', rdata.preference In the python CLI,...

Code to do a direct DNS lookup

I'm thinking of running an experiment to track DNS values in different ways (like how often they change and whatnot). To do this I will need to be able to make a DNS request directly to a server so that 1) I known what server it came from, 2) I can request responses from several servers and 3) I can avoid the local OS run cache. Does an...

Use WMI to create DNS entries

Is it possible to create DNS entries using WMI (Windows Management Instrumentation)? Thank you ...

Does HTTP hostname case (upper/lower) matter?

In other words, does it matter whether I use http://www.example.com/ or http://wwW.exAmPLe.COm/ ? I've been running into strange issues with host-names lately: I have an Apache2.2+PHP5.1.4 webserver, accessed by all kinds of browsers. IE6 users in particular (esp. when their UA string is burdened with numerous BHOs, no pattern yet) seem...

Cant send to MSMQ with 2 DNS names

Having an issue with sending an MSMQ message to the second DNS name on a server. If we send the IP for that same server, we're fine, but thats not where we are going architecturally. Any ideas as to why MSMQ would care about which name it receives? Here is our example : Server Information: The physical server load-int-01, has a secon...

Navigating to IP address shows different page than navigating to hostname?

Hi, I'm looking at a web site we'll call www.example.com . A quick traceroute www.example.com shows that its IP address is 208.76.xx.xxx . When I browse to "www.example.com" in Firefox, I am shown the web site (a login page). However, when I browse to 208.76.xx.xxx , I am shown a default "Welcome to cPanel!" web page. Here is some mor...

Supporting CNAME aliases

Im having trouble finding resources on what is involved in supporting CNAME aliases. If I have user accounts a yoursubdomain.myapp.com I would like users to be able to create a CNAME record that points yourdomain.com to this. What is involved on my side to get this to work? I understand users will have to add the record to there DNS. Do ...

Java cannot resolve DNS address from AIX: UnknownHostException.

I'm having this strange error. On AIX, if I can reach my server from the command line ( using ping / telnet ) But If I try using java I've got UnkownHostException This is due to Java cannot somehow "use" the DNS but I don't know why. If I use the IP address it works fine. This is my test program. import java.net.*; public ...

Uses for DNS custom application directory partitions for a developer

I've been reading up on DNS, and I've been quite interested on custom application directory partitions. Active-Directory uses them, but, as a developer, how can I extract the most out of them? What possible applications and real-world scenarios could I address and solve using custom application directory partitions? What problems can be ...

*Configurable* local DNS server?

I would like to have a local DNS server which I can configure in some way. Maybe a php script, which gets the requested hostname and returns the IP. I don't want to have an IP/Hostname list, but I want to generate the IPs in code! Do you know how to do this? ...

Sub domain issue

basic overview... i have a site setup in iis... - "mysite" (wwwroot\mysite) under that there are 2 virtual directory applications - "uploads" (\uploadfiles) - "app" (wwwroot\myapp) I also have a subdomain that is set up as a different site in iis... - "beta.mysite" (wwwroot\mysitebeta) under that there are 2 virtual directory - "...

How do i get foo.somedomain.com get handled by myapp.appspot.com/foo on appengine

Hi, Here is what I'd like to achieve http://foo.somedomain.com gets handled by http://myapp.appspot.com/foo (google appengine app myapp) and the underlying url is masked. Note the following: somedomain.com is a third party domain that would like to add foo.somedomain.com mydomain.com would be CNAME'd to myapp.appspot.com mydomain...

Dns.GetHostEntry returns multiple IP addresses

This question probably highlights a lack of understanding of networking principals on my part, rather than a programming issue. I'm doing a lookup on a hostname using Dns.GetHostEntry This returns an IPHostEntry to me, which has an AddressList property which is an array of IPAddress. I always thought there is a 1 to 1 mapping betwee...

GetHostEntry is very slow

I have a WinForms app, and I'm trying to get reverse DNS entries for a list of IPs displayed on the form. The main issue I've run into is System.Net.Dns.GetHostEntry is ridiculously slow, particularly when no reverse DNS entry is found. With straight DNS, this should be fast, since the DNS server will return NXDOMAIN. Internally, it's ...

How to fetch all DNS entries from JAVA application?

As of now, I'm using the below code to get DNS name of the given IPAddress. Instead of fetching it for each IPAddress in the network, I want to fetch all the DNS entries (IPAddress - HostName mapping) from the DNS Server in one go. Is it possible? If so, how to do it? InetAddress addr = InetAddress.getByName(address); dnsname = addr.ge...

How to create an SaaS Application?

I don't know how else to say it so I'm just going to explain my ideal scenario and hopefully you can explain to me how to implement it... I'm creating an application with the Zend Framework that will be hosted with DreamHost. The application will be hosted on its own domain (i.e. example-app.com). Basically, a user should be able to sig...

DNS Zone Name

In a DNS zone file, for the type 'A', what is the difference between the name '*' and the name'@'? What does each do? * A myIp @ A myIp Also if anyone knows a nice tutorial on editing and fine-tuning DNS zone file in general I'd appreciate it. Thanks! ...

Domain Suffix added to DNS Queries

I have a reoccurring DNS problem that has been plaguing our users, occasionally causing their laptops to append our company's domain to the end of all DNS queries. The problem only occurs when users are off site and it appears to be fairly random. It will work one day and then, out of the blue, it will show the invalid entry. This eff...

Serving different pages as different Domain Names in IIS (6 or 7)

Hi, I have a ASP.Net MVC application which serves user pages with URL like - www.myapp.com/user/rob/index, www.myapp.com/user/rob/article/1 and www.myapp.com/user/scott/index, www.myapp.com/user/scott/article/1 now I want this one application to serve pages to two different domains from outside. Like - www.RobWebSite.com/Index ww...

Which is the best DNS Server solution for Windows Server 2008 Web Edition

I'd like to move on Windows Server 2008 and could save 20 Euro every month if I am using Web Edition instead of the Standard Edition. The only "problem", Windows Server 2008 hasn't a build in DNS Server anymore. Now I am asking me, which is the best third party DNS for my Webserver. I took a look on simpleDNS it seems quiet cool. Any a...