I want to configure a BIND DNS server (since Windows Web Server 2008 does not have DNS service, I had to install BIND) that responds any request with a single A record. I had set up a * record but it seems to work just for direct subdomains of the server. I mean subdomain.xyz.com will be responded correctly, but subdomain2.subdomain1.xyz.com is not. I might have screwed up the config files as have just worked with MS DNS before.

Can you tell me how to configure BIND from the beginning to resolve every requested address with a constant IP address?


Try this:

In named.conf:

options {
    recursion yes;

zone "." IN {
    type master;
    file "named.root";

In "named.root":

@    IN     SOA  @ none. ( 0 1D 1H 1W 3H );
     IN     NS   @
*    IN     A    a.b.c.d
  • Without any SOA record? – xmm0 May 1 '09 at 9:59
  • full (and tested) info now included... – Alnitak May 1 '09 at 10:03
  • (I wasn't sure until I tested it how little information I could get away with supplying to Bind) – Alnitak May 1 '09 at 10:04
  • sorry to bring up this old thread. but i just test this and seems it did not work. any updated info? especially for debian lenny. should i just ask new question? tnx – DennyHalim.com Nov 16 '09 at 7:02
  • define "did not work". – Alnitak Nov 16 '09 at 9:54

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.