# $Id: gendns.conf,v 1.5 2000/04/15 23:46:26 jshupe Exp jshupe $ # # if you have errors when you run gendns.pl make sure that this file # passes a perl -c gendns.conf # # gendns is stupid about serial numbers, here are your two choices # you're of course free to write another way to hand this and thus # improve gendns! # # epoch The number of non-leap seconds since Jan. 1, 1970 (on unix) # This is the default behavior. Leaving this commented out # produces the same result as setting it to 0. Your serial # number will look something like this: 949981905 # # $dev{human_readable_serial_num = 0; # # standard+hack this is an attempt to get close to what seems to be # common practice. YYYYMMDDRR Y=Year M=Month D=Day # R=Revision. This is actually YYYYMMDDII Y=Year # M=Month D=Day I=number of 14.4 minute increments # since midnight. Your serial number will look # something like this: 2000020816 # # $def{human_readable_serial_num} = 1; # # if you're setting up name based virtual web hosts, or not doing # anything with servers named www then comment this next line out $def{www_must_have_a_record} = 1; $def{mail} = 'mail.yahoo.foo.'; $def{mailpref} = '10'; $def{mail2} = 'mail2.yahoo.foo.'; $def{mailpref2} = '20'; $def{origin} = 'dns1.yahoo.foo.'; $def{mailaddr} = 'root.yahoo.foo.'; $def{ns} = 'dns1.yahoo.foo.'; $def{ns2} = 'dns2.yahoo.foo.'; $def{refresh} = '3H'; $def{retry} = '1H'; $def{expire} = '1W'; $def{minimum} = '1D'; # $def{refresh} = '8H'; # $def{retry} = '2H'; # $def{expire} = '1W'; # $def{minimum} = '1D'; $def{test_script} = 1; $def{build_reverse} = 1; $def{write_confs} = 1; $def{master} = 'master.conf'; $def{slave} = 'slave.conf'; $def{dns_dir} = '/var/named'; $def{zone_dir} = 'zone'; $def{master_ip} = '192.168.1.1'; $def{reverse_for} = '192.168.1.0, 192.168.3.0'; # This stuff is a fairly ugly after thought, but it turns out to be # really hand if you're handling secondary services for some other # domains. # $def{master_junk} = <