Results 1 to 3 of 3
  1. #1

    How to get BIND wildcard any domain

    Hi,

    I need to get BIND to be authoritative and resolve any domain to the same IP.

    For example, any domain that I point to BIND, always resolve to the same IP.

    I know that I can configure wildcard in a single domain (*.domain.com), but I want to do this with any domain.

    For example, if I have:

    domain1.com
    domain2.info
    domain3.com

    All pointed to BIND, get this domain resolved to a one IP address without adding them to bind (using same DNS zone for all domains... a wildcard domain DNS zone...)

    It's possible?

    Thanks.

  2. #2
    Join Date
    Jun 2003
    Posts
    364
    Hi,

    This is possible but you should make sure no one is using your server for recursive look-ups including the DNS server itself.

    You need to define the root zone and then create a wildcard A record for *.

    Code:
    zone "." {
            type master;
            file "/etc/bind/root.zone";
    };
    
    @       IN      SOA     . dnsadmin.example.net. (
                         2009092001         ; Serial
                             604800         ; Refresh
                              86400         ; Retry
                            1206900         ; Expire
                                300 )       ; Negative Cache TTL
    
            IN      NS      ns1.example.net.
    *.      IN      A       127.0.0.1
    Syntax might be slightly incorrect as I typed it from memory.
    Common sense is not so common.

  3. #3
    Hi Xous,

    Thanks for your reply.

    This server will not be used to resolve remote domains. I want it for point al new domain registered to it, and get this domains pointed to a IP address with a HTML parking template.

    Because I will register 10 - 15 domains in a day, I don't want to add every one to BIND.

    Thanks for your solution, I will use it. And sorry for my bad level of english

Similar Threads

  1. Domain parking - wildcard dns?
    By xperience in forum Hosting Security and Technology
    Replies: 2
    Last Post: 11-05-2008, 04:05 PM
  2. wildcard domain
    By Jaffery in forum Hosting Security and Technology
    Replies: 3
    Last Post: 03-16-2006, 06:59 AM
  3. Domain WildCard
    By iCreative in forum Domain Names
    Replies: 3
    Last Post: 04-11-2005, 04:40 PM
  4. Domain Wildcard?
    By andy18 in forum Hosting Security and Technology
    Replies: 2
    Last Post: 09-23-2002, 11:00 PM
  5. Wildcard (*) Domain Searches?
    By rhizome in forum Domain Names
    Replies: 4
    Last Post: 02-09-2002, 01:53 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •