Domain and nameserver issue

PRB

Verified User
Joined
Oct 18, 2008
Messages
154
Hi,

.nl domain are required to be first added to the server through DirectAdmin and then the nameservers of the domain can be changed.

If the domains nameservers are changed to a server and the domain is not added with DirectAdmin, the domain nameserver change fails.

Is there a way to make my server accept all domains? So if I change the nameservers of a domain to my server, it accepts the domain, even if the domain is not added to the server with DirectAdmin.

This can also be used to park domains...

Does anyone know whether this is possible and how to do this?
 
I don't think I understand what you're asking... you have to add the domain to directadmin which in turn, among other things, adds it to the apache configruation, allowing it to respond.

If you point a domain to your server without adding it, you would just get the default apache page or whatever page you have in /var/www/html
 
Reshad doesn't need apache to respond, only that the namesever respond.

This is a requirement of the NL registry, and certain others as well.

To answer your question, Reshad,

Unless more recent versions of BIND have been changed to make it impossible, you can add a zone file for .nl and then add a wildcard entry in the zone, to any IP#.

I don't recommend it, though. If anyone ever discovers it they're going to misuse your server. And I don't know how this will affect resolution of other domains on your server in the .nl top-level domain. If I were going to do this I'd do it on a separate nameserver.

If you do decide to do it be sure you don't use your nameserver as a caching nameserver; don't call it in your resolv.conf file, and make sure caching is turned off in /etc/named.conf.

Jeff
 
Back
Top