dns

appengine, DNS, subdomain

Hello, I would like to know, how to configure my DNS to work with subdomains on google appengine. It already works for www.myproject.com, but i would like to let it work also for www.xmass.myproject.com . Do you kow, how to set CNAMEs? ...

linux: adding hosts programmatically?

Is there a way to programmatically add hosts to the local name resolver under Linux? I would rather avoid fiddling with /etc/hosts dynamically... Example: add the name foo and bind it to the local port 127.1.2.3 Use Case: I have an application installed locally accessible through a web browser. I'd like the application to be accessib...

What algorithms do DNS servers use for faster lookups?

DNS servers have to be fast in order to avoid latency. What algorithms do DNS Servers use to reduce latency? Are they any caching mechanisms that could be effectively used to improve speed? ...

how do tell if a user hits my site from my free domain name

I've registered two free domain names, one at .co.nr and the other at .tk (yeah I realise the .co.nr one is really a subdomain) Anyway I have both pointing to the same site mysite.com. I want to find out which one brings in more traffic. Not knowing much about how dns and the above sites operate, how do I go about telling in mysite.co...

Obtain nameserver information for DNS lookups in Java

Hi everyone, If I look up a IP address from a DNS name as follows: InetAddress inetAddress = InetAddress.getByName(name); String address = inetAddress.getHostAddress(); Can I find out which nameserver gave me the information? ...

Domain name resolution not working in Java Applications on Ubuntu64 9.04 machine. All other software resolves DNS correctly.

I have an number of Java applications installed on an Ubuntu64 9.04 PC, and none of them can resolve domain names (there are multiple JRE's too - some of them are IBM products). If I put the domain name in the hosts file with it's associated IP address, then the Java apps work for those domains only. Every other non Java program - like p...

Create custom DNS name server in C

Need to create a custom DNS name server using C which will check against a mysql db to see if the client IP need to be directed to a different server. Using this for a test network so requests to foo.com will only go there if true lookup is enabled, otherwise requests will be directed to a development env. Any suggestions/recommendations...

Objective-C detect DNS

Does anyone knows how can i detect from an app the DNS of the iPhone? UPDATE: If there're different ways of obtaining the DNS server and DNS host name, any solution is acceptable. ...

Manage DNS from IIS 7 Manager

Hi I'm using IIS 7 Manager to work on my remote web server. I don't have a hosting control panel (Plesk,...), it is better to manage the server with native tools. However IIS 7 manager is only for IIS, obviously. I want to manage DNS from IIS 7 Manager too, is it posibble, is there an add-on kind of thing? Thanks. ...

Why does WCF complain over identity check failure?

I'm creating a WCF application where I'll be using certificates to encrypt the communication between the client and server. In my development environment, I want to use a test certificate / self signed certificate which I've created using makecert. (Only the server will have a certificate, the client won't). I've installed the certifica...

How can I use a ssl wildcard certificate to mutually authenticate several WCF servers via X509?

I've got two WCF servers, both on the domain mydomain.com (fictional example, as are IP below !), respectively named server1 and server2. They are both accessible through their public IP addresses (foo.1 and 2), but also from the private LAN they are on (ie 192.168.0.1 and 192.168.0.2) I own a wildcard ssl certificate for *.mydomain.co...

How do i change my DNS host name using WIX

How do i set my dns hostname for a iis asp.net website i am installing using WIX? everything installs fine but i have to go to path http://localhost/EDSTR2F7 I want to be able to change it so i can get to the site by going http://EDSTR2F7.myhostname.local how do i do that using WIX? is it part of the iis:WebSite, iis:WebAddress, iis:...

DNS File Mapping

Hi guys, I'm trying to work out a feature for a Web application, but I'm a bit confused at this point. I was wondering if anyone can shed some light on the following scenario. Say, my Web app is located at domain1.com and a users website is located at domain2.com. What I would like to allow is for the user to be able to map their domai...

A bare-bones DNS server.

I have to implement a DNS server in C and I don't know where to start. What are all the features that a DNS has...how can I implement a bare-bones DNS in single C file. I don't even want to use a Database, just a file will work. Thank you in advance ...

How can I check a url is publicly accessible?

I have a web application that you can use to import information from another site by giving it a url. It's been pointed out that you could use this feature to access a private site that is hosted on the same web server. So... How can I check that a given url is publicly accessible (whether on the same web server or somewhere different)? ...

What are potential issues with allowing clients to have CNAME / DNS Masking support in a web application?

Our company develops a web application that other companies can license. Typically, our application runs on: www.company.example And a client's version of the application is run on: client.company.example Usually, a client runs their own site at: www.client.example Sometimes, clients request to have their version of the application...

Programmatically Changing NameServer in Windows TCP/IP

Hello, I am building a VPN application where I need to set DNS server programmatically. I am changing NameServer parameter in the registry (in HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Tcpip\Parameters\Interfaces) to prepend a name server to the list of existing entries. Once I do this, if I try to look up a host name using ns...

How to get MX record using res_search?

I am building an SMTP server. I need to find the MX record of any domain name for this from the "to" email address and I am using res_search for this. for example rcpt to:[email protected] #define MAXLINE 100 int main() { res_init(); char ans[MAXLINE]; res_search("www.yahoo.com",C_IN,T_MX,ans,MAXLINE); printf("%s",inet_nt...

Querying MX record in C linux

Possible Duplicate: Get MX record via C program. Is there any function in C on linux by which we can query MX record (like gethostbyname).? ...

Compiling program with ns_initparse() function C linux

I have installed BIND. I am using -lresolv as paramete while compiling in gcc. But it is giving error: /usr/lib/gcc/i386-redhat-linux/4.3.0/../../../crt1.o: In function `_start': (.text+0x18): undefined reference to `main' /tmp/cck9LhAK.o: In function `resolvmx': res.c:(.text+0x6b): undefined reference to `__ns_initparse' res.c:(.text+0...