Hi,
I am new to Linux. Do the Linux DNS server only require port 53 to be opened? my client using Windows OS. Do I Dynamic RPC port to be opened as well?
iptables -F
###################simplfied linux-kzy1:/var/lib/dhcp/db # cat /etc/dhcpd.conf authoritative; ddns-update-style none; ddns-updates off; #Information about the host subnet 192.168.10.0 netmask 255.255.255.0 { max-lease-time 600; default-lease-time 600; range 192.168.10.2 192.168.10.255; } group esx_gep{ filename "pxelinux.0"; next-server 192.168.10.1; host testserver1 {hardware ethernet a0:d3:c1:f7:f2:64;} }
**************var log message Mar 19 18:42:17 linux-kzy1 dhcpd: For info, please visit https://www.isc.org/software/dhcp/ Mar 19 18:42:17 linux-kzy1 dhcpd: Not searching LDAP since ldap-server, ldap-port and ldap-base-dn were not specified in the config file Mar 19 18:42:17 linux-kzy1 dhcpd: Wrote 0 group decls to leases file. Mar 19 18:42:17 linux-kzy1 dhcpd: Wrote 0 deleted host decls to leases file. Mar 19 18:42:17 linux-kzy1 dhcpd: Wrote 0 new dynamic host decls to leases file. Mar 19 18:42:17 linux-kzy1 dhcpd: Wrote 0 leases to leases file. Mar 19 18:42:17 linux-kzy1 dhcpd: Listening on LPF/eth0/84:8f:69:cf:7c:41/192.168.10.0/24 Mar 19 18:42:17 linux-kzy1 dhcpd: Sending on LPF/eth0/84:8f:69:cf:7c:41/192.168.10.0/24 Mar 19 18:42:17 linux-kzy1 dhcpd: Sending on Socket/fallback/fallback-net Mar 19 18:42:17 linux-kzy1 dhcpd[12233]: Starting ISC DHCPv4 4.x Server [chroot]..done linux-kzy1:/home/test/Documents # *****************var log rc.dhcpd.log Mar 19 18:42:17 linux-kzy1 dhcpd: Internet Systems Consortium DHCP Server 4.2.2 Mar 19 18:42:17 linux-kzy1 dhcpd: Copyright 2004-2011 Internet Systems Consortium. Mar 19 18:42:17 linux-kzy1 dhcpd: All rights reserved. Mar 19 18:42:17 linux-kzy1 dhcpd: For info, please visit https://www.isc.org/software/dhcp/ Mar 19 18:42:17 linux-kzy1 dhcpd: Not searching LDAP since ldap-server, ldap-port and ldap-base-dn were not specified in the config file Mar 19 18:42:17 linux-kzy1 dhcpd: Wrote 0 group decls to leases file. Mar 19 18:42:17 linux-kzy1 dhcpd: Wrote 0 deleted host decls to leases file. Mar 19 18:42:17 linux-kzy1 dhcpd: Wrote 0 new dynamic host decls to leases file. Mar 19 18:42:17 linux-kzy1 dhcpd: Wrote 0 leases to leases file. Mar 19 18:42:17 linux-kzy1 dhcpd: Listening on LPF/eth0/84:8f:69:cf:7c:41/192.168.10.0/24 Mar 19 18:42:17 linux-kzy1 dhcpd: Sending on LPF/eth0/84:8f:69:cf:7c:41/192.168.10.0/24 Mar 19 18:42:17 linux-kzy1 dhcpd: Sending on Socket/fallback/fallback-net Mar 19 18:42:17 linux-kzy1 dhcpd[12233]: Starting ISC DHCPv4 4.x Server [chroot]..done linux-kzy1:/home/test/Documents #
********** #no free lease linux-kzy1:/home/test/Documents # cat /var/log/messages | grep "free lease" Mar 19 15:53:59 linux-kzy1 dhcpd: DHCPDISCOVER from a0:d3:c1:f7:f2:64 via eth0: network 192.168.10.0/24: no free leases Mar 19 15:54:03 linux-kzy1 dhcpd: DHCPDISCOVER from a0:d3:c1:f7:f2:64 via eth0: network 192.168.10.0/24: no free leases Mar 19 15:54:11 linux-kzy1 dhcpd: DHCPDISCOVER from a0:d3:c1:f7:f2:64 via eth0: network 192.168.10.0/24: no free leases ...... Mar 19 17:01:06 linux-kzy1 dhcpd: DHCPDISCOVER from a0:d3:c1:f7:f2:64 via eth0: network 192.168.10.0/24: no free leases Mar 19 17:01:38 linux-kzy1 dhcpd: DHCPDISCOVER from a0:d3:c1:f7:f2:64 via eth0: network 192.168.10.0/24: no free leases linux-kzy1:/home/test/Documents #