Pages

DNS & DHCP configuration

vendredi 22 juillet 2016

Good Morning,

I am trying to setup DNS and DHCP updating of DNS on my home LAN, but I think my configuration is not right because I do not believe DHCP is updating DNS. I can however browser the internet just fine, so forward resolving is working.

subnet: 192.168.55.0
gateway: 192.168.55.1
ubuntuws01 : 192.168.55.254 (DNS bind9 and DHCP isc-dhcp-server running on this host)
domain: lan.geekhelp.co.nz

I have a few coomputers on the LAN, mainly windows.

Conf files:
named.conf

Code:

include "/etc/bind/named.conf.options";
include "/etc/bind/named.conf.local";
include "/etc/bind/named.conf.default-zones";

logging{
  channel simple_log {
    file "/var/log/named/bind.log" versions 3 size 5m;
    severity debug;
    print-time yes;
    print-severity yes;
    print-category yes;
  };
  category default{
    simple_log;
  };
};
named.conf.options

Code:

options {
        directory "/var/cache/bind";

        // If there is a firewall between you and nameservers you want
        // to talk to, you may need to fix the firewall to allow multiple
        // ports to talk.  See http://ift.tt/1dfT5a8

        // If your ISP provided one or more IP addresses for stable
        // nameservers, you probably want to use them as forwarders.
        // Uncomment the following block, and insert the addresses replacing
        // the all-0's placeholder.

        forwarders {
                203.109.191.1;
                203.118.191.1;
         };

        //========================================================================
        // If BIND logs error messages about the root key being expired,
        // you will need to update your keys.  See http://ift.tt/1e3Gfjm
        //========================================================================
        dnssec-validation auto;

        auth-nxdomain no;    # conform to RFC1035
        listen-on-v6 { any; };
};
named.conf.local

Code:

//
// Do any local configuration here
//

// Consider adding the 1918 zones here, if they are not used in your
// organization
//include "/etc/bind/zones.rfc1918";

key "DHCP_UPDATER" {
        algorithm HMAC-MD5.SIG-ALG.REG.INT;
        secret "ZTc**********SuyA==";
};

controls {
        inet 127.0.0.1 allow { localhost; 192.168.55.254; } keys { "DHCP_UPDATER"; };
};

zone "lan.geekhelp.co.nz" {
        type master;
        file "/etc/bind/db.geekhelp.local";
        allow-update {key "DHCP_UPDATER"; };
        notify yes;
};

zone "55.168.192.in-addr.arpa" {
        type master;
        file "/etc/bind/db.192";
        allow-update {key "DHCP_UPDATER"; };
        notify yes;
};
db.geekhelp.local

Code:

;
; BIND data file for local loopback interface
;
$TTL    604800
@       IN      SOA     ubuntuws01.lan.geekhelp.co.nz. algrant.local. (
                              4         ; Serial
                         604800         ; Refresh
                          86400         ; Retry
                        2419200         ; Expire
                         604800 )       ; Negative Cache TTL
;
@       IN      NS      ubuntuws01.lan.geekhelp.co.nz.
@       IN      A       127.0.0.1
@       IN      AAAA    ::1

; *** A RECORDS ***

ubuntuws01                      IN      A       192.168.55.254
draytek                         IN      A       192.168.55.1
ubuntuws01.lan.geekhelp.co.nz   IN      A       192.168.55.254
lan.geekhelp.co.nz              IN      A       127.0.0.1

; *** CNAME RECORDS ***
ns                              IN      CNAME   ubuntuws01
syslog after restart of both services

Code:

Jul 23 11:58:01 UBUNTUWS01 named[23433]: ----------------------------------------------------
Jul 23 11:58:01 UBUNTUWS01 named[23433]: BIND 9 is maintained by Internet Systems Consortium,
Jul 23 11:58:01 UBUNTUWS01 named[23433]: Inc. (ISC), a non-profit 501(c)(3) public-benefit
Jul 23 11:58:01 UBUNTUWS01 named[23433]: corporation.  Support and training for BIND 9 are
Jul 23 11:58:01 UBUNTUWS01 named[23433]: available at http://ift.tt/1mu3QLt
Jul 23 11:58:01 UBUNTUWS01 named[23433]: ----------------------------------------------------
Jul 23 11:58:01 UBUNTUWS01 named[23433]: adjusted limit on open files from 4096 to 1048576
Jul 23 11:58:01 UBUNTUWS01 named[23433]: found 2 CPUs, using 2 worker threads
Jul 23 11:58:01 UBUNTUWS01 named[23433]: using 2 UDP listeners per interface
Jul 23 11:58:01 UBUNTUWS01 named[23433]: using up to 4096 sockets
Jul 23 11:58:01 UBUNTUWS01 named[23433]: loading configuration from '/etc/bind/named.conf'
Jul 23 11:58:01 UBUNTUWS01 named[23433]: reading built-in trusted keys from file '/etc/bind/bind.keys'
Jul 23 11:58:01 UBUNTUWS01 named[23433]: initializing GeoIP Country (IPv4) (type 1) DB
Jul 23 11:58:01 UBUNTUWS01 named[23433]: GEO-106FREE 20160408 Bu
Jul 23 11:58:01 UBUNTUWS01 named[23433]: initializing GeoIP Country (IPv6) (type 12) DB
Jul 23 11:58:01 UBUNTUWS01 named[23433]: GEO-106FREE 20160408 Bu
Jul 23 11:58:01 UBUNTUWS01 named[23433]: GeoIP City (IPv4) (type 2) DB not available
Jul 23 11:58:01 UBUNTUWS01 named[23433]: GeoIP City (IPv4) (type 6) DB not available
Jul 23 11:58:01 UBUNTUWS01 named[23433]: GeoIP City (IPv6) (type 30) DB not available
Jul 23 11:58:01 UBUNTUWS01 named[23433]: GeoIP City (IPv6) (type 31) DB not available
Jul 23 11:58:01 UBUNTUWS01 named[23433]: GeoIP Region (type 3) DB not available
Jul 23 11:58:01 UBUNTUWS01 named[23433]: GeoIP Region (type 7) DB not available
Jul 23 11:58:01 UBUNTUWS01 named[23433]: GeoIP ISP (type 4) DB not available
Jul 23 11:58:01 UBUNTUWS01 named[23433]: GeoIP Org (type 5) DB not available
Jul 23 11:58:01 UBUNTUWS01 named[23433]: GeoIP AS (type 9) DB not available
Jul 23 11:58:01 UBUNTUWS01 named[23433]: GeoIP Domain (type 11) DB not available
Jul 23 11:58:01 UBUNTUWS01 named[23433]: GeoIP NetSpeed (type 10) DB not available
Jul 23 11:58:01 UBUNTUWS01 named[23433]: using default UDP/IPv4 port range: [32768, 60999]
Jul 23 11:58:01 UBUNTUWS01 named[23433]: using default UDP/IPv6 port range: [32768, 60999]
Jul 23 11:58:01 UBUNTUWS01 named[23433]: listening on IPv6 interfaces, port 53
Jul 23 11:58:01 UBUNTUWS01 named[23433]: listening on IPv4 interface lo, 127.0.0.1#53
Jul 23 11:58:01 UBUNTUWS01 named[23433]: listening on IPv4 interface enp1s0, 192.168.55.254#53
Jul 23 11:58:01 UBUNTUWS01 named[23433]: generating session key for dynamic DNS
Jul 23 11:58:01 UBUNTUWS01 named[23433]: sizing zone task pool based on 7 zones
Jul 23 11:58:01 UBUNTUWS01 named[23433]: using built-in root key for view _default
Jul 23 11:58:01 UBUNTUWS01 named[23433]: set up managed keys zone for view _default, file 'managed-keys.bind'
Jul 23 11:58:01 UBUNTUWS01 named[23433]: automatic empty zone: 10.IN-ADDR.ARPA
Jul 23 11:58:01 UBUNTUWS01 named[23433]: automatic empty zone: 16.172.IN-ADDR.ARPA
Jul 23 11:58:01 UBUNTUWS01 named[23433]: automatic empty zone: 17.172.IN-ADDR.ARPA
Jul 23 11:58:01 UBUNTUWS01 named[23433]: automatic empty zone: 18.172.IN-ADDR.ARPA
Jul 23 11:58:01 UBUNTUWS01 named[23433]: automatic empty zone: 19.172.IN-ADDR.ARPA
Jul 23 11:58:01 UBUNTUWS01 named[23433]: automatic empty zone: 20.172.IN-ADDR.ARPA
Jul 23 11:58:01 UBUNTUWS01 named[23433]: automatic empty zone: 21.172.IN-ADDR.ARPA
Jul 23 11:58:01 UBUNTUWS01 named[23433]: automatic empty zone: 22.172.IN-ADDR.ARPA
Jul 23 11:58:01 UBUNTUWS01 named[23433]: automatic empty zone: 23.172.IN-ADDR.ARPA
Jul 23 11:58:01 UBUNTUWS01 named[23433]: automatic empty zone: 24.172.IN-ADDR.ARPA
Jul 23 11:58:01 UBUNTUWS01 named[23433]: automatic empty zone: 25.172.IN-ADDR.ARPA
Jul 23 11:58:01 UBUNTUWS01 named[23433]: automatic empty zone: 26.172.IN-ADDR.ARPA
Jul 23 11:58:01 UBUNTUWS01 named[23433]: automatic empty zone: 27.172.IN-ADDR.ARPA
Jul 23 11:58:01 UBUNTUWS01 named[23433]: automatic empty zone: 28.172.IN-ADDR.ARPA
Jul 23 11:58:01 UBUNTUWS01 named[23433]: automatic empty zone: 29.172.IN-ADDR.ARPA
Jul 23 11:58:01 UBUNTUWS01 named[23433]: automatic empty zone: 30.172.IN-ADDR.ARPA
Jul 23 11:58:01 UBUNTUWS01 named[23433]: automatic empty zone: 31.172.IN-ADDR.ARPA
Jul 23 11:58:01 UBUNTUWS01 named[23433]: automatic empty zone: 168.192.IN-ADDR.ARPA
Jul 23 11:58:01 UBUNTUWS01 named[23433]: automatic empty zone: 64.100.IN-ADDR.ARPA
Jul 23 11:58:01 UBUNTUWS01 named[23433]: automatic empty zone: 65.100.IN-ADDR.ARPA
Jul 23 11:58:01 UBUNTUWS01 named[23433]: automatic empty zone: 66.100.IN-ADDR.ARPA
Jul 23 11:58:01 UBUNTUWS01 named[23433]: automatic empty zone: 67.100.IN-ADDR.ARPA
Jul 23 11:58:01 UBUNTUWS01 named[23433]: automatic empty zone: 68.100.IN-ADDR.ARPA
Jul 23 11:58:01 UBUNTUWS01 named[23433]: automatic empty zone: 69.100.IN-ADDR.ARPA
Jul 23 11:58:01 UBUNTUWS01 named[23433]: automatic empty zone: 70.100.IN-ADDR.ARPA
Jul 23 11:58:01 UBUNTUWS01 named[23433]: automatic empty zone: 71.100.IN-ADDR.ARPA
Jul 23 11:58:01 UBUNTUWS01 named[23433]: automatic empty zone: 72.100.IN-ADDR.ARPA
Jul 23 11:58:01 UBUNTUWS01 named[23433]: automatic empty zone: 73.100.IN-ADDR.ARPA
Jul 23 11:58:01 UBUNTUWS01 named[23433]: automatic empty zone: 74.100.IN-ADDR.ARPA
Jul 23 11:58:01 UBUNTUWS01 named[23433]: automatic empty zone: 75.100.IN-ADDR.ARPA
Jul 23 11:58:01 UBUNTUWS01 named[23433]: automatic empty zone: 76.100.IN-ADDR.ARPA
Jul 23 11:58:01 UBUNTUWS01 named[23433]: automatic empty zone: 77.100.IN-ADDR.ARPA
Jul 23 11:58:01 UBUNTUWS01 named[23433]: automatic empty zone: 78.100.IN-ADDR.ARPA
Jul 23 11:58:01 UBUNTUWS01 named[23433]: automatic empty zone: 79.100.IN-ADDR.ARPA
Jul 23 11:58:01 UBUNTUWS01 named[23433]: automatic empty zone: 80.100.IN-ADDR.ARPA
Jul 23 11:58:01 UBUNTUWS01 named[23433]: automatic empty zone: 81.100.IN-ADDR.ARPA
Jul 23 11:58:01 UBUNTUWS01 named[23433]: automatic empty zone: 82.100.IN-ADDR.ARPA
Jul 23 11:58:01 UBUNTUWS01 named[23433]: automatic empty zone: 83.100.IN-ADDR.ARPA
Jul 23 11:58:01 UBUNTUWS01 named[23433]: automatic empty zone: 84.100.IN-ADDR.ARPA
Jul 23 11:58:01 UBUNTUWS01 named[23433]: automatic empty zone: 85.100.IN-ADDR.ARPA
Jul 23 11:58:01 UBUNTUWS01 named[23433]: automatic empty zone: 86.100.IN-ADDR.ARPA
Jul 23 11:58:01 UBUNTUWS01 named[23433]: automatic empty zone: 87.100.IN-ADDR.ARPA
Jul 23 11:58:01 UBUNTUWS01 named[23433]: automatic empty zone: 88.100.IN-ADDR.ARPA
Jul 23 11:58:01 UBUNTUWS01 named[23433]: automatic empty zone: 89.100.IN-ADDR.ARPA
Jul 23 11:58:01 UBUNTUWS01 named[23433]: automatic empty zone: 90.100.IN-ADDR.ARPA
Jul 23 11:58:01 UBUNTUWS01 named[23433]: automatic empty zone: 91.100.IN-ADDR.ARPA
Jul 23 11:58:01 UBUNTUWS01 named[23433]: automatic empty zone: 92.100.IN-ADDR.ARPA
Jul 23 11:58:01 UBUNTUWS01 named[23433]: automatic empty zone: 93.100.IN-ADDR.ARPA
Jul 23 11:58:01 UBUNTUWS01 named[23433]: automatic empty zone: 94.100.IN-ADDR.ARPA
Jul 23 11:58:01 UBUNTUWS01 named[23433]: automatic empty zone: 95.100.IN-ADDR.ARPA
Jul 23 11:58:01 UBUNTUWS01 named[23433]: automatic empty zone: 96.100.IN-ADDR.ARPA
Jul 23 11:58:01 UBUNTUWS01 named[23433]: automatic empty zone: 97.100.IN-ADDR.ARPA
Jul 23 11:58:01 UBUNTUWS01 named[23433]: automatic empty zone: 98.100.IN-ADDR.ARPA
Jul 23 11:58:01 UBUNTUWS01 named[23433]: automatic empty zone: 99.100.IN-ADDR.ARPA
Jul 23 11:58:01 UBUNTUWS01 named[23433]: automatic empty zone: 100.100.IN-ADDR.ARPA
Jul 23 11:58:01 UBUNTUWS01 named[23433]: automatic empty zone: 101.100.IN-ADDR.ARPA
Jul 23 11:58:01 UBUNTUWS01 named[23433]: automatic empty zone: 102.100.IN-ADDR.ARPA
Jul 23 11:58:01 UBUNTUWS01 named[23433]: automatic empty zone: 103.100.IN-ADDR.ARPA
Jul 23 11:58:01 UBUNTUWS01 named[23433]: automatic empty zone: 104.100.IN-ADDR.ARPA
Jul 23 11:58:01 UBUNTUWS01 named[23433]: automatic empty zone: 105.100.IN-ADDR.ARPA
Jul 23 11:58:01 UBUNTUWS01 named[23433]: automatic empty zone: 106.100.IN-ADDR.ARPA
Jul 23 11:58:01 UBUNTUWS01 named[23433]: automatic empty zone: 107.100.IN-ADDR.ARPA
Jul 23 11:58:01 UBUNTUWS01 named[23433]: automatic empty zone: 108.100.IN-ADDR.ARPA
Jul 23 11:58:01 UBUNTUWS01 named[23433]: automatic empty zone: 109.100.IN-ADDR.ARPA
Jul 23 11:58:01 UBUNTUWS01 named[23433]: automatic empty zone: 110.100.IN-ADDR.ARPA
Jul 23 11:58:01 UBUNTUWS01 named[23433]: automatic empty zone: 111.100.IN-ADDR.ARPA
Jul 23 11:58:01 UBUNTUWS01 named[23433]: automatic empty zone: 112.100.IN-ADDR.ARPA
Jul 23 11:58:01 UBUNTUWS01 named[23433]: automatic empty zone: 113.100.IN-ADDR.ARPA
Jul 23 11:58:01 UBUNTUWS01 named[23433]: automatic empty zone: 114.100.IN-ADDR.ARPA
Jul 23 11:58:01 UBUNTUWS01 named[23433]: automatic empty zone: 115.100.IN-ADDR.ARPA
Jul 23 11:58:01 UBUNTUWS01 named[23433]: automatic empty zone: 116.100.IN-ADDR.ARPA
Jul 23 11:58:01 UBUNTUWS01 named[23433]: automatic empty zone: 117.100.IN-ADDR.ARPA
Jul 23 11:58:01 UBUNTUWS01 named[23433]: automatic empty zone: 118.100.IN-ADDR.ARPA
Jul 23 11:58:01 UBUNTUWS01 named[23433]: automatic empty zone: 119.100.IN-ADDR.ARPA
Jul 23 11:58:01 UBUNTUWS01 named[23433]: automatic empty zone: 120.100.IN-ADDR.ARPA
Jul 23 11:58:01 UBUNTUWS01 named[23433]: automatic empty zone: 121.100.IN-ADDR.ARPA
Jul 23 11:58:01 UBUNTUWS01 named[23433]: automatic empty zone: 122.100.IN-ADDR.ARPA
Jul 23 11:58:01 UBUNTUWS01 named[23433]: automatic empty zone: 123.100.IN-ADDR.ARPA
Jul 23 11:58:01 UBUNTUWS01 named[23433]: automatic empty zone: 124.100.IN-ADDR.ARPA
Jul 23 11:58:01 UBUNTUWS01 named[23433]: automatic empty zone: 125.100.IN-ADDR.ARPA
Jul 23 11:58:01 UBUNTUWS01 named[23433]: automatic empty zone: 126.100.IN-ADDR.ARPA
Jul 23 11:58:01 UBUNTUWS01 named[23433]: automatic empty zone: 127.100.IN-ADDR.ARPA
Jul 23 11:58:01 UBUNTUWS01 named[23433]: automatic empty zone: 254.169.IN-ADDR.ARPA
Jul 23 11:58:01 UBUNTUWS01 named[23433]: automatic empty zone: 2.0.192.IN-ADDR.ARPA
Jul 23 11:58:01 UBUNTUWS01 named[23433]: automatic empty zone: 100.51.198.IN-ADDR.ARPA
Jul 23 11:58:01 UBUNTUWS01 named[23433]: automatic empty zone: 113.0.203.IN-ADDR.ARPA
Jul 23 11:58:01 UBUNTUWS01 named[23433]: automatic empty zone: 255.255.255.255.IN-ADDR.ARPA
Jul 23 11:58:01 UBUNTUWS01 named[23433]: automatic empty zone: 0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.IP6.ARPA
Jul 23 11:58:01 UBUNTUWS01 named[23433]: automatic empty zone: 1.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.IP6.ARPA
Jul 23 11:58:01 UBUNTUWS01 named[23433]: automatic empty zone: D.F.IP6.ARPA
Jul 23 11:58:01 UBUNTUWS01 named[23433]: automatic empty zone: 8.E.F.IP6.ARPA
Jul 23 11:58:01 UBUNTUWS01 named[23433]: automatic empty zone: 9.E.F.IP6.ARPA
Jul 23 11:58:01 UBUNTUWS01 named[23433]: automatic empty zone: A.E.F.IP6.ARPA
Jul 23 11:58:01 UBUNTUWS01 named[23433]: automatic empty zone: B.E.F.IP6.ARPA
Jul 23 11:58:01 UBUNTUWS01 named[23433]: automatic empty zone: 8.B.D.0.1.0.0.2.IP6.ARPA
Jul 23 11:58:01 UBUNTUWS01 named[23433]: automatic empty zone: EMPTY.AS112.ARPA
Jul 23 11:58:01 UBUNTUWS01 named[23433]: command channel listening on 127.0.0.1#953
Jul 23 11:58:08 UBUNTUWS01 systemd[1]: Stopping ISC DHCP IPv4 server...
Jul 23 11:58:08 UBUNTUWS01 systemd[1]: Stopped ISC DHCP IPv4 server.
Jul 23 11:58:08 UBUNTUWS01 systemd[1]: Started ISC DHCP IPv4 server.
Jul 23 11:58:08 UBUNTUWS01 dhcpd[23457]: Internet Systems Consortium DHCP Server 4.3.3
Jul 23 11:58:08 UBUNTUWS01 dhcpd[23457]: Copyright 2004-2015 Internet Systems Consortium.
Jul 23 11:58:08 UBUNTUWS01 sh[23457]: Internet Systems Consortium DHCP Server 4.3.3
Jul 23 11:58:08 UBUNTUWS01 sh[23457]: Copyright 2004-2015 Internet Systems Consortium.
Jul 23 11:58:08 UBUNTUWS01 sh[23457]: All rights reserved.
Jul 23 11:58:08 UBUNTUWS01 sh[23457]: For info, please visit http://ift.tt/11EyUhx
Jul 23 11:58:08 UBUNTUWS01 dhcpd[23457]: All rights reserved.
Jul 23 11:58:08 UBUNTUWS01 dhcpd[23457]: For info, please visit http://ift.tt/11EyUhx
Jul 23 11:58:08 UBUNTUWS01 dhcpd[23457]: Config file: /etc/dhcp/dhcpd.conf
Jul 23 11:58:08 UBUNTUWS01 dhcpd[23457]: Database file: /var/lib/dhcp/dhcpd.leases
Jul 23 11:58:08 UBUNTUWS01 sh[23457]: Config file: /etc/dhcp/dhcpd.conf
Jul 23 11:58:08 UBUNTUWS01 sh[23457]: Database file: /var/lib/dhcp/dhcpd.leases
Jul 23 11:58:08 UBUNTUWS01 sh[23457]: PID file: /run/dhcp-server/dhcpd.pid
Jul 23 11:58:08 UBUNTUWS01 dhcpd[23457]: PID file: /run/dhcp-server/dhcpd.pid
Jul 23 11:58:08 UBUNTUWS01 sh[23457]: Wrote 8 leases to leases file.
Jul 23 11:58:08 UBUNTUWS01 dhcpd[23457]: Internet Systems Consortium DHCP Server 4.3.3
Jul 23 11:58:08 UBUNTUWS01 dhcpd[23457]: Copyright 2004-2015 Internet Systems Consortium.
Jul 23 11:58:08 UBUNTUWS01 dhcpd[23457]: All rights reserved.
Jul 23 11:58:08 UBUNTUWS01 dhcpd[23457]: For info, please visit http://ift.tt/11EyUhx
Jul 23 11:58:08 UBUNTUWS01 dhcpd[23457]: Wrote 8 leases to leases file.
Jul 23 11:58:08 UBUNTUWS01 dhcpd[23457]: Listening on LPF/enp1s0/bc:5f:f4:a3:86:42/192.168.55.0/24
Jul 23 11:58:08 UBUNTUWS01 dhcpd[23457]: Sending on   LPF/enp1s0/bc:5f:f4:a3:86:42/192.168.55.0/24
Jul 23 11:58:08 UBUNTUWS01 sh[23457]: Listening on LPF/enp1s0/bc:5f:f4:a3:86:42/192.168.55.0/24
Jul 23 11:58:08 UBUNTUWS01 sh[23457]: Sending on   LPF/enp1s0/bc:5f:f4:a3:86:42/192.168.55.0/24
Jul 23 11:58:08 UBUNTUWS01 sh[23457]: Sending on   Socket/fallback/fallback-net
Jul 23 11:58:08 UBUNTUWS01 dhcpd[23457]: Sending on   Socket/fallback/fallback-net
Jul 23 11:58:08 UBUNTUWS01 dhcpd[23457]: Server starting service.
algrant@ubuntuws01:/etc/bind$
syslog after client tried to register

Code:

Jul 23 11:59:31 UBUNTUWS01 dhcpd[23457]: DHCPREQUEST for 192.168.55.103 from 40:25:c2:84:3a:cc (GRANTLP01) via enp1s0
Jul 23 11:59:31 UBUNTUWS01 dhcpd[23457]: DHCPACK on 192.168.55.103 to 40:25:c2:84:3a:cc (GRANTLP01) via enp1s0
Jul 23 11:59:31 UBUNTUWS01 dhcpd[23457]: Unable to add forward map from GRANTLP01.lan.geekhelp.co.nz. to 192.168.55.103: SERVFAIL
And finally dhcpd.conf

Code:

ddns-updates on;
ddns-update-style interim;

ddns-domainname "lan.geekhelp.co.nz.";
ddns-rev-domainname "in-addr.arpa.";

update-static-leases on;
allow unknown-clients;
use-host-decl-names on;
key DHCP_UPDATER {
        algorithm HMAC-MD5.SIG-ALG.REG.INT;
        secret "ZTcS******************A==";
}

option domain-name "lan.geekhelp.co.nz";
option domain-name-servers ubuntuws01.lan.geekhelp.co.nz;

default-lease-time 1814400;
max-lease-time 1814400;

log-facility local7;

# ***************************
# ******* DNS ZONES *********
# ***************************

zone lan.geekhelp.co.nz. {
        primary 127.0.0.1;
        key DHCP_UPDATER;
}

zone 55.168.192.in-addr.arpa. {
        primary 127.0.0.1;
        key DHCP_UPDATER;
}

# **************************************
# ********* GEEKHELP LAN SCOPE *********
# **************************************

subnet 192.168.55.0 netmask 255.255.255.0 {
        range 192.168.55.100 192.168.55.200;
        option subnet-mask 255.255.255.0;
        option routers 192.168.55.1;
        option domain-name-servers 192.168.55.254;
        option domain-name "lan.geekhelp.co.nz";
        option domain-search "lan.geekhelp.co.nz";
        ddns-domainname "lan.geekhelp.co.nz.";
        ddns-rev-domainname "in-addr.arpa.";
}
I hope this helps and someone can point me in the right direction.

Thanks in advance

-Al

Let's block ads! (Why?)



DNS & DHCP configuration

Aucun commentaire:

Enregistrer un commentaire