Results 1 to 3 of 3
  1. #1

    How to get BIND wildcard any domain


    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 (*, but I want to do this with any domain.

    For example, if I have:

    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?


  2. #2
    Join Date
    Jun 2003

    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 *.

    zone "." {
            type master;
            file "/etc/bind/";
    @       IN      SOA     . (
                         2009092001         ; Serial
                             604800         ; Refresh
                              86400         ; Retry
                            1206900         ; Expire
                                300 )       ; Negative Cache TTL
            IN      NS
    *.      IN      A
    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