DDNS - limitation and excluding updates from certain networks

Reindl Harald h.reindl at thelounge.net
Wed Dec 27 20:38:51 UTC 2017



Am 27.12.2017 um 21:31 schrieb MAYER Hans:
> Many thanks. Yes, that’s exactly what I am looking for.
> I have  "ddns-update-style interim;”
> But what do you mean with "static entry” ?
> For example my "static entries” are all servers.
> But the server don’t have any DHCP entries. The IP addresses of the interfaces are “hard wired”

192.168.2.9 *is not* in "range 192.168.2.150 192.168.2.200" but when MAC 
00:A0:96:9C:14:1C would ask for a dhcpd IP it would get 192.168.2.9

that are static entries, it's that simple

[root at srv-rhsoft:~]$ cat /etc/dhcp/dhcpd.conf
authoritative;
ddns-update-style none;
ddns-updates off;
default-lease-time 86400;
max-lease-time 259200;
log-facility local7;

option rfc3442-classless-static-routes code 121 = array of integer 8;
option ms-classless-static-routes code 249 = array of integer 8;

subnet 192.168.2.0 netmask 255.255.255.0 {
  option domain-name "rhsoft.net";
  option domain-name-servers 192.168.2.2;
  option routers 192.168.2.2;
  option smtp-server 192.168.2.2;
  option pop-server 192.168.2.2;
  option ntp-servers 192.168.2.2;
  option time-servers 192.168.2.2;
  option subnet-mask 255.255.255.0;
  option broadcast-address 192.168.2.255;
  option interface-mtu 1444;
  range 192.168.2.150 192.168.2.200;
}

host blueray {
  hardware ethernet 00:A0:96:9C:14:1C;
  fixed-address 192.168.2.9;
}


More information about the bind-users mailing list