######### tjener as DHCP and DNS server in ldap ########### 

dn: ou=servers,ou=systems,dc=skole,dc=skolelinux,dc=no
objectClass: organizationalUnit
ou: servers

dn: cn=tjener,ou=servers,ou=systems,dc=skole,dc=skolelinux,dc=no
macAddress: $MAC
description: Main server; modify only if 100% sure.
objectClass: top
objectClass: GOhard
objectClass: goServer
objectClass: dhcpServer
objectClass: goNtpServer
objectClass: goLdapServer
cn: tjener
dhcpServiceDN: cn=dhcp,cn=tjener,ou=servers,ou=systems,dc=skole,dc=skolelinux,dc=no
goLdapBase: ldap://tjener:389/dc=skole,dc=skolelinux,dc=no
ipHostNumber: 10.0.2.2
gotoMode: locked

dn: cn=dhcp,cn=tjener,ou=servers,ou=systems,dc=skole,dc=skolelinux,dc=no
dhcpOption: smtp-server code 69 = array of ip-address
dhcpOption: wpad-url code 252 = text
dhcpStatements: authoritative 
dhcpStatements: ddns-update-style none
dhcpStatements: max-lease-time 3600
dhcpStatements: default-lease-time 1800
cn: dhcp
objectClass: top
objectClass: dhcpService
dhcpPrimaryDN: cn=tjener,ou=servers,ou=systems,dc=skole,dc=skolelinux,dc=no

################### intern-zone #################

dn: zoneName=intern,cn=tjener,ou=servers,ou=systems,dc=skole,dc=skolelinux,dc=no
objectClass: top
objectClass: dNSZone
zoneName: intern
relativeDomainName: @
dNSClass: IN
sOARecord: tjener.intern. root.tjener.intern. 1 3600 1800 720000 6400
nSRecord: tjener.intern.
mXRecord: 10 tjener.intern.

dn: zoneName=10.in-addr.arpa.,zoneName=intern,cn=tjener,ou=servers,ou=systems,dc=skole,dc=skolelinux,dc=no
objectClass: top
objectClass: dNSZone
zoneName: 10.in-addr.arpa.
relativeDomainName: @
dNSClass: IN
sOARecord: tjener.intern. root.tjener.intern. 1 3600 1800 720000 6400
nSRecord: tjener.intern.
mXRecord: 10 tjener.intern.

############# subnet00.intern-zone ###############

dn: zoneName=subnet00.intern.,cn=tjener,ou=servers,ou=systems,dc=skole,dc=skolelinux,dc=no
objectClass: top
objectClass: dNSZone
zoneName: subnet00.intern.
relativeDomainName: @
dNSClass: IN
sOARecord: tjener.intern. root.tjener.intern. 1 3600 1800 720000 6400
nSRecord: tjener.intern.
mXRecord: 10 tjener.intern.

dn: zoneName=0.168.192.in-addr.arpa.,zoneName=subnet00.intern.,cn=tjener,ou=servers,ou=systems,dc=skole,dc=skolelinux,dc=no
objectClass: top
objectClass: dNSZone
zoneName: 0.168.192.in-addr.arpa.
relativeDomainName: @
dNSClass: IN
sOARecord: tjener.intern. root.tjener.intern. 1 3600 1800 720000 6400
nSRecord: tjener.intern.
mXRecord: 10 tjener.intern.

###### ltspserver00 in subnet00.intern.

dn: relativeDomainName=ltspserver00,zoneName=subnet00.intern.,cn=tjener,ou=servers,ou=systems,dc=skole,dc=skolelinux,dc=no
objectClass: top
objectClass: dNSZone
dNSClass: IN
zoneName: subnet00.intern.
relativeDomainName: ltspserver00

dn: relativeDomainName=ltspserver00,relativeDomainName=ltspserver00,zoneName=subnet00.intern.,cn=tjener,ou=servers,ou=systems,dc=skole,dc=skolelinux,dc=no
objectClass: top
objectClass: dNSZone
dNSClass: IN
zoneName: subnet00.intern.
relativeDomainName: ltspserver00
aRecord: 192.168.0.254

dn: relativeDomainName=254,relativeDomainName=ltspserver00,zoneName=subnet00.intern.,cn=tjener,ou=servers,ou=systems,dc=skole,dc=skolelinux,dc=no
objectClass: top
objectClass: dNSZone
dNSClass: IN
zoneName: 0.168.192.in-addr.arpa.
relativeDomainName: 254
pTRRecord: ltspserver00.subnet00.intern.

############# subnet01-zone ###############

dn: zoneName=subnet01.intern.,cn=tjener,ou=servers,ou=systems,dc=skole,dc=skolelinux,dc=no
objectClass: top
objectClass: dNSZone
zoneName: subnet01.intern.
relativeDomainName: @
dNSClass: IN
sOARecord: tjener.intern. root.tjener.intern. 1 3600 1800 720000 6400
nSRecord: tjener.intern.
mXRecord: 10 tjener.intern.

dn: zoneName=1.168.192.in-addr.arpa.,zoneName=subnet01.intern.,cn=tjener,ou=servers,ou=systems,dc=skole,dc=skolelinux,dc=no
objectClass: top
objectClass: dNSZone
zoneName: 1.168.192.in-addr.arpa.
relativeDomainName: @
dNSClass: IN
sOARecord: tjener.intern. root.tjener.intern. 1 3600 1800 720000 6400
nSRecord: tjener.intern.
mXRecord: 10 tjener.intern.

###### ltspserver01 in subnet01.intern.

dn: relativeDomainName=ltspserver01,zoneName=subnet01.intern.,cn=tjener,ou=servers,ou=systems,dc=skole,dc=skolelinux,dc=no
objectClass: top
objectClass: dNSZone
dNSClass: IN
zoneName: subnet01.intern.
relativeDomainName: ltspserver01

dn: relativeDomainName=ltspserver01,relativeDomainName=ltspserver01,zoneName=subnet01.intern.,cn=tjener,ou=servers,ou=systems,dc=skole,dc=skolelinux,dc=no
objectClass: top
objectClass: dNSZone
dNSClass: IN
zoneName: subnet01.intern.
relativeDomainName: ltspserver01
aRecord: 192.168.1.254

dn: relativeDomainName=254,relativeDomainName=ltspserver01,zoneName=subnet01.intern.,cn=tjener,ou=servers,ou=systems,dc=skole,dc=skolelinux,dc=no
objectClass: top
objectClass: dNSZone
dNSClass: IN
zoneName: 1.168.192.in-addr.arpa.
relativeDomainName: 254
pTRRecord: ltspserver01.subnet01.intern.

#################### tjener ####################

dn: relativeDomainName=tjener,zoneName=intern,cn=tjener,ou=servers,ou=systems,dc=skole,dc=skolelinux,dc=no
objectClass: top
objectClass: dNSZone
dNSTTL: 500
dNSClass: IN
zoneName: intern
relativeDomainName: tjener

dn: relativeDomainName=tjener,relativeDomainName=tjener,zoneName=intern,cn=tjener,ou=servers,ou=systems,dc=skole,dc=skolelinux,dc=no
objectClass: top
objectClass: dNSZone
dNSTTL: 500
dNSClass: IN
zoneName: intern
relativeDomainName: tjener
aRecord: 10.0.2.2

dn: relativeDomainName=2.2.0,relativeDomainName=tjener,zoneName=intern,cn=tjener,ou=servers,ou=systems,dc=skole,dc=skolelinux,dc=no
objectClass: top
objectClass: dNSZone
dNSClass: IN
zoneName: 10.in-addr.arpa.
relativeDomainName: 2.2.0
pTRRecord: tjener.intern.

#################### gateway ####################

dn: ou=netdevices,ou=systems,dc=skole,dc=skolelinux,dc=no
objectClass: organizationalUnit
ou: netdevices

dn: cn=gateway,ou=netdevices,ou=systems,dc=skole,dc=skolelinux,dc=no
objectClass: top
objectClass: device
objectClass: ipHost
objectClass: ieee802Device
cn: gateway
ipHostNumber: 10.0.0.1

dn: relativeDomainName=gateway,zoneName=intern,cn=tjener,ou=servers,ou=systems,dc=skole,dc=skolelinux,dc=no
objectClass: top
objectClass: dNSZone
dNSClass: IN
zoneName: intern
relativeDomainName: gateway

dn: relativeDomainName=gateway,relativeDomainName=gateway,zoneName=intern,cn=tjener,ou=servers,ou=systems,dc=skole,dc=skolelinux,dc=no
objectClass: top
objectClass: dNSZone
dNSClass: IN
zoneName: intern
relativeDomainName: gateway
aRecord: 10.0.0.1

dn: relativeDomainName=1.0.0,relativeDomainName=gateway,zoneName=intern,cn=tjener,ou=servers,ou=systems,dc=skole,dc=skolelinux,dc=no
objectClass: top
objectClass: dNSZone
dNSClass: IN
zoneName: 10.in-addr.arpa.
relativeDomainName: 1.0.0
pTRRecord: gateway.intern.

################################ networks ####################################

# backbone shared network
dn: cn=intern,cn=dhcp,cn=tjener,ou=servers,ou=systems,dc=skole,dc=skolelinux,dc=no
dhcpOption: domain-name "intern"
dhcpOption: routers gateway
dhcpOption: subnet-mask 255.0.0.0
dhcpOption: broadcast-address 10.255.255.255
dhcpOption: ntp-servers ntp
dhcpOption: wpad-url "http://wpad/wpad.dat"
dhcpOption: smtp-server postoffice
dhcpOption: netbios-name-servers tjener
dhcpOption: netbios-node-type 8
dhcpOption: domain-name-servers 10.0.2.2
dhcpStatements: default-lease-time 1800
dhcpStatements: max-lease-time 3600
dhcpStatements: next-server tjener
dhcpStatements: filename "/var/lib/tftpboot/pxelinux.0"
dhcpStatements: authoritative
dhcpStatements: allow unknown-clients
dhcpStatements: allow bootp
dhcpStatements: allow booting
cn: intern
objectClass: top
objectClass: dhcpSharedNetwork

# subnet of intern network
dn: cn=10.0.0.0,cn=intern,cn=dhcp,cn=tjener,ou=servers,ou=systems,dc=skole,dc=skolelinux,dc=no
cn: 10.0.0.0
objectClass: top
objectClass: dhcpSubnet
objectClass: dhcpOptions
dhcpNetMask: 8
dhcpRange: 10.0.16.20 10.0.31.254

# subnet00.intern shared network
dn: cn=subnet00.intern,cn=dhcp,cn=tjener,ou=servers,ou=systems,dc=skole,dc=skolelinux,dc=no
dhcpOption: routers ltspserver00.subnet00
dhcpOption: domain-name "intern"
dhcpOption: subnet-mask 255.255.255.0
dhcpOption: broadcast-address 192.168.0.255
dhcpOption: root-path "/opt/ltsp/i386"
dhcpOption: ntp-servers ntp
dhcpOption: wpad-url "http://wpad/wpad.dat"
dhcpOption: smtp-server postoffice
dhcpOption: domain-name-servers 10.0.2.2
dhcpStatements: default-lease-time 432000
dhcpStatements: max-lease-time 432000
dhcpStatements: filename "/var/lib/tftpboot/ltsp/i386/pxelinux.0"
dhcpStatements: next-server ltspserver00.subnet00
dhcpStatements: authoritative
dhcpStatements: allow unknown-clients
dhcpStatements: allow bootp
dhcpStatements: allow booting
cn: subnet00.intern
objectClass: top
objectClass: dhcpSharedNetwork

# subnet of subnet00.intern shared network
dn: cn=192.168.0.0,cn=subnet00.intern,cn=dhcp,cn=tjener,ou=servers,ou=systems,dc=skole,dc=skolelinux,dc=no
cn: 192.168.0.0
objectClass: top
objectClass: dhcpSubnet
objectClass: dhcpOptions
dhcpNetMask: 24
dhcpRange: 192.168.0.20 192.168.0.253

# subnet01.intern shared network
dn: cn=subnet01.intern,cn=dhcp,cn=tjener,ou=servers,ou=systems,dc=skole,dc=skolelinux,dc=no
dhcpOption: routers ltspserver01.subnet01
dhcpOption: domain-name "intern"
dhcpOption: subnet-mask 255.255.255.0
dhcpOption: broadcast-address 192.168.1.255
dhcpOption: root-path "/opt/ltsp/i386"
dhcpOption: ntp-servers ntp
dhcpOption: wpad-url "http://wpad/wpad.dat"
dhcpOption: smtp-server postoffice
dhcpOption: domain-name-servers 10.0.2.2
dhcpStatements: default-lease-time 432000
dhcpStatements: max-lease-time 432000
dhcpStatements: filename "/var/lib/tftpboot/ltsp/i386/pxelinux.0"
dhcpStatements: next-server ltspserver01.subnet01
dhcpStatements: authoritative
dhcpStatements: allow unknown-clients
dhcpStatements: allow bootp
dhcpStatements: allow booting
cn: subnet01.intern
objectClass: top
objectClass: dhcpSharedNetwork

# subnet of subnet01.intern shared network
dn: cn=192.168.1.0,cn=subnet01.intern,cn=dhcp,cn=tjener,ou=servers,ou=systems,dc=skole,dc=skolelinux,dc=no
cn: 192.168.1.0
objectClass: top
objectClass: dhcpSubnet
objectClass: dhcpOptions
dhcpNetMask: 24
dhcpRange: 192.168.1.20 192.168.1.253

########### service records: #############

dn: relativeDomainName=_ldap._tcp,zoneName=intern,cn=tjener,ou=servers,ou=systems,dc=skole,dc=skolelinux,dc=no
objectClass: top
objectClass: dNSZone
dNSClass: IN
zoneName: intern
relativeDomainName: _ldap._tcp

dn: relativeDomainName=_ldap._tcp,relativeDomainName=_ldap._tcp,zoneName=intern,cn=tjener,ou=servers,ou=systems,dc=skole,dc=skolelinux,dc=no
objectClass: top
objectClass: dNSZone
dNSClass: IN
zoneName: intern
relativeDomainName: _ldap._tcp
sRVRecord: 100 0 389 tjener.intern.

####################

dn: relativeDomainName=_syslog._udp,zoneName=intern,cn=tjener,ou=servers,ou=systems,dc=skole,dc=skolelinux,dc=no
objectClass: top
objectClass: dNSZone
dNSClass: IN
zoneName: intern
relativeDomainName: _syslog._udp

dn: relativeDomainName=_syslog._udp,relativeDomainName=_syslog._udp,zoneName=intern,cn=tjener,ou=servers,ou=systems,dc=skole,dc=skolelinux,dc=no
objectClass: top
objectClass: dNSZone
dNSClass: IN
zoneName: intern
relativeDomainName: _syslog._udp
sRVRecord: 100 0 514 tjener.intern.

####################

dn: relativeDomainName=_kerberos,zoneName=intern,cn=tjener,ou=servers,ou=systems,dc=skole,dc=skolelinux,dc=no
objectClass: top
objectClass: dNSZone
dNSClass: IN
zoneName: intern
relativeDomainName: _kerberos

dn: relativeDomainName=_kerberos,relativeDomainName=_kerberos,zoneName=intern,cn=tjener,ou=servers,ou=systems,dc=skole,dc=skolelinux,dc=no
objectClass: top
objectClass: dNSZone
dNSClass: IN
zoneName: intern
relativeDomainName: _kerberos
tXTRecord: "INTERN"

####################

dn: relativeDomainName=_kerberos._udp,zoneName=intern,cn=tjener,ou=servers,ou=systems,dc=skole,dc=skolelinux,dc=no
objectClass: top
objectClass: dNSZone
dNSClass: IN
zoneName: intern
relativeDomainName: _kerberos._udp

dn: relativeDomainName=_kerberos._udp,relativeDomainName=_kerberos._udp,zoneName=intern,cn=tjener,ou=servers,ou=systems,dc=skole,dc=skolelinux,dc=no
objectClass: top
objectClass: dNSZone
dNSClass: IN
zoneName: intern
relativeDomainName: _kerberos._udp
sRVRecord: 100 0 88 tjener.intern.

####################

dn: relativeDomainName=_kerberos-master._udp,zoneName=intern,cn=tjener,ou=servers,ou=systems,dc=skole,dc=skolelinux,dc=no
objectClass: top
objectClass: dNSZone
dNSClass: IN
zoneName: intern
relativeDomainName: _kerberos-master._udp

dn: relativeDomainName=_kerberos-master._udp,relativeDomainName=_kerberos-master._udp,zoneName=intern,cn=tjener,ou=servers,ou=systems,dc=skole,dc=skolelinux,dc=no
objectClass: top
objectClass: dNSZone
dNSClass: IN
zoneName: intern
relativeDomainName: _kerberos-master._udp
sRVRecord: 100 0 88 tjener.intern.

####################

dn: relativeDomainName=_kerberos-adm._tcp,zoneName=intern,cn=tjener,ou=servers,ou=systems,dc=skole,dc=skolelinux,dc=no
objectClass: top
objectClass: dNSZone
dNSClass: IN
zoneName: intern
relativeDomainName: _kerberos-adm._tcp

dn: relativeDomainName=_kerberos-adm._tcp,relativeDomainName=_kerberos-adm._tcp,zoneName=intern,cn=tjener,ou=servers,ou=systems,dc=skole,dc=skolelinux,dc=no
objectClass: top
objectClass: dNSZone
dNSClass: IN
zoneName: intern
relativeDomainName: _kerberos-adm._tcp
sRVRecord: 100 0 749 tjener.intern.

####################

dn: relativeDomainName=_kpasswd._tcp,zoneName=intern,cn=tjener,ou=servers,ou=systems,dc=skole,dc=skolelinux,dc=no
objectClass: top
objectClass: dNSZone
dNSClass: IN
zoneName: intern
relativeDomainName: _kpasswd._tcp

dn: relativeDomainName=_kpasswd._tcp,relativeDomainName=_kpasswd._tcp,zoneName=intern,cn=tjener,ou=servers,ou=systems,dc=skole,dc=skolelinux,dc=no
objectClass: top
objectClass: dNSZone
dNSClass: IN
zoneName: intern
relativeDomainName: _kpasswd._tcp
sRVRecord: 100 0 464 tjener.intern.

############ CNAME records: ############

dn: relativeDomainName=ns,relativeDomainName=tjener,zoneName=intern,cn=tjener,ou=servers,ou=systems,dc=skole,dc=skolelinux,dc=no
objectClass: top
objectClass: dNSZone
dNSTTL: 500
dNSClass: IN
zoneName: intern
relativeDomainName: ns
cNAMERecord: tjener.intern.

dn: relativeDomainName=www,relativeDomainName=tjener,zoneName=intern,cn=tjener,ou=servers,ou=systems,dc=skole,dc=skolelinux,dc=no
objectClass: top
objectClass: dNSZone
dNSTTL: 500
dNSClass: IN
zoneName: intern
relativeDomainName: www
cNAMERecord: tjener.intern.

dn: relativeDomainName=ntp,relativeDomainName=tjener,zoneName=intern,cn=tjener,ou=servers,ou=systems,dc=skole,dc=skolelinux,dc=no
objectClass: top
objectClass: dNSZone
dNSTTL: 500
dNSClass: IN
zoneName: intern
relativeDomainName: ntp
cNAMERecord: tjener.intern.

dn: relativeDomainName=webcache,relativeDomainName=tjener,zoneName=intern,cn=tjener,ou=servers,ou=systems,dc=skole,dc=skolelinux,dc=no
objectClass: top
objectClass: dNSZone
dNSTTL: 500
dNSClass: IN
zoneName: intern
relativeDomainName: webcache
cNAMERecord: tjener.intern.

dn: relativeDomainName=cfengine,relativeDomainName=tjener,zoneName=intern,cn=tjener,ou=servers,ou=systems,dc=skole,dc=skolelinux,dc=no
objectClass: top
objectClass: dNSZone
dNSTTL: 500
dNSClass: IN
zoneName: intern
relativeDomainName: cfengine
cNAMERecord: tjener.intern.

dn: relativeDomainName=sitesummary,relativeDomainName=tjener,zoneName=intern,cn=tjener,ou=servers,ou=systems,dc=skole,dc=skolelinux,dc=no
objectClass: top
objectClass: dNSZone
dNSTTL: 500
dNSClass: IN
zoneName: intern
relativeDomainName: sitesummary
cNAMERecord: tjener.intern.

dn: relativeDomainName=bootps,relativeDomainName=tjener,zoneName=intern,cn=tjener,ou=servers,ou=systems,dc=skole,dc=skolelinux,dc=no
objectClass: top
objectClass: dNSZone
dNSTTL: 500
dNSClass: IN
zoneName: intern
relativeDomainName: bootps
cNAMERecord: tjener.intern.

dn: relativeDomainName=homes,relativeDomainName=tjener,zoneName=intern,cn=tjener,ou=servers,ou=systems,dc=skole,dc=skolelinux,dc=no
objectClass: top
objectClass: dNSZone
dNSTTL: 500
dNSClass: IN
zoneName: intern
relativeDomainName: homes
cNAMERecord: tjener.intern.

dn: relativeDomainName=wpad,relativeDomainName=tjener,zoneName=intern,cn=tjener,ou=servers,ou=systems,dc=skole,dc=skolelinux,dc=no
objectClass: top
objectClass: dNSZone
dNSTTL: 500
dNSClass: IN
zoneName: intern
relativeDomainName: wpad
cNAMERecord: tjener.intern.

dn: relativeDomainName=db,relativeDomainName=tjener,zoneName=intern,cn=tjener,ou=servers,ou=systems,dc=skole,dc=skolelinux,dc=no
objectClass: top
objectClass: dNSZone
dNSTTL: 500
dNSClass: IN
zoneName: intern
relativeDomainName: db
cNAMERecord: tjener.intern.

dn: relativeDomainName=backup,relativeDomainName=tjener,zoneName=intern,cn=tjener,ou=servers,ou=systems,dc=skole,dc=skolelinux,dc=no
objectClass: top
objectClass: dNSZone
dNSTTL: 500
dNSClass: IN
zoneName: intern
relativeDomainName: backup
cNAMERecord: tjener.intern.

dn: relativeDomainName=ssh,relativeDomainName=tjener,zoneName=intern,cn=tjener,ou=servers,ou=systems,dc=skole,dc=skolelinux,dc=no
objectClass: top
objectClass: dNSZone
dNSTTL: 500
dNSClass: IN
zoneName: intern
relativeDomainName: ssh
cNAMERecord: tjener.intern.

dn: relativeDomainName=ltsp,relativeDomainName=tjener,zoneName=intern,cn=tjener,ou=servers,ou=systems,dc=skole,dc=skolelinux,dc=no
objectClass: top
objectClass: dNSZone
dNSTTL: 500
dNSClass: IN
zoneName: intern
relativeDomainName: ltsp
cNAMERecord: tjener.intern.

dn: relativeDomainName=domain,relativeDomainName=tjener,zoneName=intern,cn=tjener,ou=servers,ou=systems,dc=skole,dc=skolelinux,dc=no
objectClass: top
objectClass: dNSZone
dNSTTL: 500
dNSClass: IN
zoneName: intern
relativeDomainName: domain
cNAMERecord: tjener.intern.

dn: relativeDomainName=ldap,relativeDomainName=tjener,zoneName=intern,cn=tjener,ou=servers,ou=systems,dc=skole,dc=skolelinux,dc=no
objectClass: top
objectClass: dNSZone
dNSTTL: 500
dNSClass: IN
zoneName: intern
relativeDomainName: ldap
cNAMERecord: tjener.intern.

dn: relativeDomainName=kerberos,relativeDomainName=tjener,zoneName=intern,cn=tjener,ou=servers,ou=systems,dc=skole,dc=skolelinux,dc=no
objectClass: top
objectClass: dNSZone
dNSTTL: 500
dNSClass: IN
zoneName: intern
relativeDomainName: kerberos
cNAMERecord: tjener.intern.

dn: relativeDomainName=postoffice,relativeDomainName=tjener,zoneName=intern,cn=tjener,ou=servers,ou=systems,dc=skole,dc=skolelinux,dc=no
objectClass: top
objectClass: dNSZone
dNSTTL: 500
dNSClass: IN
zoneName: intern
relativeDomainName: postoffice
cNAMERecord: tjener.intern.

dn: relativeDomainName=syslog,relativeDomainName=tjener,zoneName=intern,cn=tjener,ou=servers,ou=systems,dc=skole,dc=skolelinux,dc=no
objectClass: top
objectClass: dNSZone
dNSTTL: 500
dNSClass: IN
zoneName: intern
relativeDomainName: syslog
cNAMERecord: tjener.intern.

#######################################################
#######################################################
