dns

Must all registered domains have domain name servers assigned to them?

If I just want to know if a domain name is reserved; is it sufficient to use this command and see if any domain name servers turn up, in which case it's reserved? host -t NS example.com It's a lot faster than visiting http://www.internic.net/whois.html and typing example.com to get much more detailed results, which I'm not interested ...

How to change DNS IP for programmatically on CF 2.0

Hi, i want to change the DNS IP Address programmatically to the Adapter on Compact Framework. I have checked in the NetworkInterface class of OpenNetCF 2.3 as well, but i do not want the device to be rebooted after setting. Could somebody throw a light on the please ? Thanks in advance, Sathya ...

django is very slow on my machine

I have a fresh install of django 1.0 and a simple page served from it takes 5 secs to load. On my colleague's computer it takes almost no time. I start the server using python manage.py testserver I can see each GET request (PNGs and style sheets) take about half a second. Another weird thing, which I think is related, is that the...

Free DNS server for Windows XP/Vista/Win7?

I'm currently developing a security solution that should work across domains and as such I need a small private dns server to add various entries to. I could alter the hosts file to achieve the same result but since the hosts file doesn't support wildcard chars I will have a whole lot of entries, so a DNS server that supports wildcards w...

Why have MX records?

I previously asked a question regarding MX records (and appreciate the thoughtful answers I recieved from SO'ers). Now that that problem is resolved, I want to step back and ask why there are MX records in the first place. Specifically: Why does SMTP get special treatment by DNS? We don't have HX records for HTTP or FX records for FTP...

How to find out hosting provider from domain name?

I am looking for a reliable service that has a good database of the hosting providers vs domain names. I guess some of the domains that are privately hosted cannot be resolved to a definite hosting provider (maybe just to ISP). I have used webhosting.info (their power whois and advanced whois) which used to give hosting information(no...

Using the name resolver of resolv.h with IPv6

I write or modify programs which perform name resolution and need a good control of the process. So I do not use getaddrinfo(), I go deeper and use res_query() / res_send() / etc in resolv.h, documented in resolver(3). Although not documented, the common way to set the resolver used is to update _res.nsaddr_list. But this array, define...

Going where PHP parse_url() doesn't - Parsing only the domain

PHP's parse_url() has a host field, which includes the full host. I'm looking for the most reliable (and least costly) way to only return the domain and TLD. Given the examples: http://www.google.com/foo, parse_url() returns www.google.com for host http://www.google.co.uk/foo, parse_url() returns www.google.co.uk for host I am look...

Can I improve this regex check for valid domain names?

So, I have been working on this domain name regular expression. So far, it seems to pick up domain names with SLDs and TLDs (with the optional ccTLD), but there is duplication of the TLD listing. Can this be refactored any further? params[:domain_name].downcase.strip.match(/^[a-z0-9\-]{2,63} \.((a[cdefgilmnoqrstuwxz]|aero|arpa)|(b[abdef...

Cross-colo fail-over design, DNS level fail-over?

I'm interested in cross-colo fail-over strategies for web applications, such that if the main site fails users seamlessly land at the fail-over site in another colo. The application side of things looks to be mostly figured out with a master-slave database setup between the colos and services designed to recover and be able to pick up m...

Configuration of BIND DNS server, I'm lost...

I hope you'll forgive me for thinking that configuring a DNS server would be easy. It turns out it is quite hard... especially if you never did it before. To recap a little, I previously asked if someone could recommend a personal DNS server for Windows XP for use in a development project. My basic wish is to host a DNS server that rep...

Reclaim snatched domain name

I'm looking for options to get back a domain name that just expired and was re-registered by an unknown link farmer. Between extended holidays, bank and hosting provider's opening hours and me the domain wasn't renewed and was quickly scooped up elsewhere. How can I get hold of the new registrator (My contact information still appear...

MX Record Query fails

print("code sample");I'm a managed codeprint("code sample"); guy, so when I interop with unmanaged code, and it doesn't work as advertised, I get twitchy. Can someone explain to me why this would come back with no MX records, when a command line nslookup works? [DllImport("dnsapi", EntryPoint = "DnsQuery_W", CharSet = CharSet.Unicode, S...

A Captive Portal to Handle My Needs

I am looking into captive portals for my organization. I see a lot of them out there that will allow a user to pass once they a.)enter credentials or b.)pay money. What I'm looking for is a bit different. Let me go into some basics about my system, I am running a windows based network using active directory and an internal DNS. I hav...

DomainKeys Sendmail DNS

What steps do I have to take to configure my sendmail server to implement domainkeys properly? Also what do I have to do on the DNS end? ...

Hosting website subfolder on separate domain

We have 2 web applications what we want to be installed on different IIS servers. But we want what user can access one by address www.test.com and second by www.test.com/directory Is it possible? ...

set up website on local machine

I have a fast dedicated internet connection and a static IP address at my office. I also have a web site that I want to host on my server machine (win server 2003). I know how to setup a web site through IIS but have no clue how to point my domain to my site and configure my server to serve for that domain. Can anyone point me to a prefe...

How do I create a subdomain on windows?

I just want to add a couple subdomains to my computers FQDN so that I can have some Vitrual Servers (apache.) Any ideas? Note: I need to add the aliases to my machine, like a.foo.com and b.foo.com. I don't think apache makes those aliases. Alternative: I decided that instead of trying to add stuff to my domain name (since then I'd ...

How do you check if a domain name exists ?

Not only easy ones like .com or .net, but also, .co.uk, .fr, .gov.rw ... ? Should I really make a huge mapping "tld to relevant whois server", or is there an easier way ? ...

1 A-record for every subdomain (10000+); any potential issues? Any other solution?

Most solutions I've read here for supporting subdomain-per-user at the DNS level are to point everything to one IP using *.domain.com. It is an easy and simple solution, but what if I want to point first 1000 registered users to serverA, and next 1000 registered users to serverB? This is the preferred solution for us to keep our cost d...