Syntax check?

Jason Gerfen jason.gerfen at scl.utah.edu
Thu Aug 28 11:33:45 UTC 2008


I am writing a web interface to help manage the ISC DHCPD service and 
need some clarification regarding DNS Zone updates, as well as utilizing 
the DNSSEC Zone update functionality. I am including a copy of the 
dhcpd.conf that the application is outputting and need clarification on 
if the functionality vs. my implementation of this functionality is 
correct. Thanks.

#### Global Configuration Options ####
option-domain-name="domain.com";
default-lease-time 900;
max-lease-time 1800;
option-time-offset 30;
option-routers router-ip-address;
option-dns-servers dns-server-1, dns-server-2;
ddns-update-style ad-hoc;
authoritative true;
bootp true;

#### DNSSEC Key Definitions ####
key test {
      algorithm HMAC-MD5;
      secret hash; #How can generate this hash?
}
key another {
      algorithm RSA;
      secret hash; #Does the dnssec-keygen tool give me the hash or just 
the public/private keys used during the update?
}

#### DNS Zone Definitions ####
zone "test" {
      type master;
      file "domain.com.db";
      allow-update { key test; };
};
zone "2.15.97.155.in-addr.arpa" {
      type master;
      file "scl.utah.edu.db";
      allow-update { key test; };
};

#### Subnet Definitions ####

### 1 Subnet Definition ###
subnet 192.168.31.0
netmask {
      option domain-name-servers 192.168.31.2, 192.168.31.2;
      option routers 192.168.31.1;
}

### 2 Subnet Definition ###
subnet 192.168.30.0
netmask {
      option domain-name-servers 192.168.30.2, 192.168.30.3;
      option routers 192.168.30.1;
}

### 3 Subnet Definition ###
subnet 192.168.32.0
netmask {
      option domain-name-servers 192.168.32.2, 192.168.32.3;
      option routers 192.168.32.1;
      range 192.168.32.5 192.168.32.253;
}

#### PXE Groups w/ Static Hosts ####

### PXE Group 1 ###
group {
           filename "linux";
           next-server 192.168.32.2;
           host host1 {
                hardware ethernet 00:02:B3:A2:9F:56;
                fixed-address 192.168.30.5;
           }
           host host2 {
                hardware ethernet 00:0E:0C:B6:16:9E;
                fixed-address 192.168.30.6;
           }
           host host3 {
                hardware ethernet 00:0E:0C:B7:3D:86;
                fixed-address 192.168.30.7;
           }
...
}

#### Static Hosts w/o PXE Group Membership ####
host host4 {
      hardware ethernet 00:0C:6E:BB:28:AE;
      fixed-address 192.168.8.3;
}
host host5 {
      hardware ethernet 00:16:cb:c0:dd:b7;
      fixed-address 192.168.8.5;
}

...

-- 
Jas


More information about the dhcp-users mailing list