Menu

DNS record generators

2003-12-22
2004-01-05
  • Michael Karliner

    Hi,
    try as I might, I cannot find out how to use
    the bulk record generators in the bind 8
    module. Any pointers would be much appreciated.

    Mike

     
    • John Horne

      John Horne - 2004-01-05

      For A records the range numbers are the IP address range. The address pattern is actually the hostname pattern, and the hostname patern is actually the IP address pattern. For PTR records these two would be reversed.

      As a simple entry to the 'localhost' zone, I added:

        A   111 113    abc   127.0.0.$

      This creates the records:

        abc.localhost.   A  127.0.0.111
        abc.localhost.   A  127.0.0.112
        abc.localhost.   A  127.0.0.113

      The 'every' column simply allows you to add an entry for, say, every second IP address (by putting in a '2'). The '$' above is used to represent the value in the 'range' column.

      Hope that helps.

      John.

       

Log in to post a comment.