User Tools

Site Tools


howtos:bind-dhcpd-apparmor

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

howtos:bind-dhcpd-apparmor [02/12/2018 21:34] – created - external edit 127.0.0.1howtos:bind-dhcpd-apparmor [16/02/2023 07:04] (current) domingo
Line 26: Line 26:
   /var/lib/named/etc/named.run a,   /var/lib/named/etc/named.run a,
   /var/lib/named/etc/root.hints r,   /var/lib/named/etc/root.hints r,
-  /var/lib/named/etc/sites/domingo.dk/** rw,+  /var/lib/named/etc/sites/example.com/** rw,
   /var/lib/named/etc/named.run rw,   /var/lib/named/etc/named.run rw,
   /var/lib/named/var/run/named.pid w,   /var/lib/named/var/run/named.pid w,
Line 59: Line 59:
 };  };
  
-zone "domingo.dk" IN {+zone "example.com" IN {
  type master;  type master;
- file "sites/domingo.dk/forward.zone";+ file "sites/example.com/forward.zone";
  allow-transfer { 127.0.0.1; };  allow-transfer { 127.0.0.1; };
  allow-update { key DHCP_UPDATER; };    # This gives dhcp the update capabilities on the zone  allow-update { key DHCP_UPDATER; };    # This gives dhcp the update capabilities on the zone
Line 72: Line 72:
 zone "1.16.172.in-addr.arpa" { zone "1.16.172.in-addr.arpa" {
  type master;  type master;
- file "sites/domingo.dk/reverse.zone";+ file "sites/example.com/reverse.zone";
  allow-transfer { 127.0.0.1; };  allow-transfer { 127.0.0.1; };
  allow-update { key DHCP_UPDATER; };    # This gives dhcp the update capabilities on the reverse zone  allow-update { key DHCP_UPDATER; };    # This gives dhcp the update capabilities on the reverse zone
Line 91: Line 91:
 ddns-update-style interim; ddns-update-style interim;
 ignore client-updates;      # Overwrite client configured FQHNs ignore client-updates;      # Overwrite client configured FQHNs
-ddns-domainname "domingo.dk.";+ddns-domainname "example.com.";
 ddns-rev-domainname "in-addr.arpa."; ddns-rev-domainname "in-addr.arpa.";
  
Line 111: Line 111:
 }; };
  
-zone domingo.dk. {+zone example.com. {
   primary 127.0.0.1;   primary 127.0.0.1;
   key DHCP_UPDATER;   key DHCP_UPDATER;
Line 127: Line 127:
     default-lease-time 6000;     default-lease-time 6000;
     max-lease-time 7200;     max-lease-time 7200;
-    option domain-name "domingo.dk";+    option domain-name "example.com";
     option subnet-mask 255.255.255.0;     option subnet-mask 255.255.255.0;
     option routers 172.16.1.1;     option routers 172.16.1.1;
howtos/bind-dhcpd-apparmor.1543782889.txt.gz · Last modified: 02/12/2018 21:34 by 127.0.0.1