DNS lookup failing for LAN hosts with fixed DHCP leases
David Christensen <dpchrist-xyI/[email protected]> Thu, 1 Jun 2017 22:16:54 -0700
| Newsgroups | gmane.comp.security.ipcop.user |
|---|---|
| Message-ID | <[email protected]> |
IPCop: I am setting up an IPCop 2.1.9 machine for my home LAN. I have created fixed DHCP leases for two workstations. When I try to ping from one workstation to the other workstation, and vice-versa, DNS is failing: 2017-06-01 21:59:03 dpchrist@jesse ~ $ cat /etc/debian_version 8.8 2017-06-01 22:10:35 dpchrist@jesse ~ $ uname -a Linux jesse 3.16.0-4-amd64 #1 SMP Debian 3.16.43-2 (2017-04-30) x86_64 GNU/Linux 2017-06-01 22:10:37 dpchrist@jesse ~ $ ping -c 3 p43200 ping: unknown host p43200 2017-06-01 22:10:43 dpchrist@jesse ~ $ dig p43200 ; <<>> DiG 9.9.5-9+deb8u11-Debian <<>> p43200 ;; global options: +cmd ;; Got answer: ;; ->>HEADER<<- opcode: QUERY, status: NXDOMAIN, id: 26967 ;; flags: qr rd ra; QUERY: 1, ANSWER: 0, AUTHORITY: 1, ADDITIONAL: 1 ;; OPT PSEUDOSECTION: ; EDNS: version: 0, flags:; udp: 4096 ;; QUESTION SECTION: ;p43200. IN A ;; AUTHORITY SECTION: . 3600 IN SOA a.root-servers.net. nstld.verisign-grs.com. 2017060102 1800 900 604800 86400 ;; Query time: 33 msec ;; SERVER: 208.67.222.222#53(208.67.222.222) ;; WHEN: Thu Jun 01 22:10:49 PDT 2017 ;; MSG SIZE rcvd: 110 2017-06-01 22:10:49 dpchrist@jesse ~ $ cat /etc/resolv.conf # Generated by NetworkManager search holgerdanske.com nameserver 208.67.222.222 nameserver 208.67.220.220 If I use the IP address, it works: 2017-06-01 22:13:09 dpchrist@jesse ~ $ ping -c 3 192.168.5.32 PING 192.168.5.32 (192.168.5.32) 56(84) bytes of data. 64 bytes from 192.168.5.32: icmp_seq=1 ttl=64 time=0.381 ms 64 bytes from 192.168.5.32: icmp_seq=2 ttl=64 time=0.181 ms 64 bytes from 192.168.5.32: icmp_seq=3 ttl=64 time=0.207 ms --- 192.168.5.32 ping statistics --- 3 packets transmitted, 3 received, 0% packet loss, time 1998ms rtt min/avg/max/mdev = 0.181/0.256/0.381/0.089 ms I could add hosts entries on the workstations, but I'd rather let IPCop handle this for me (e.g. DHCP and DNS cache integration?). I tried creating hosts entries on IPCop for the workstations, but that didn't work either. Any comments or suggestions? David ------------------------------------------------------------------------------ Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! http://sdm.link/slashdot _______________________________________________ IPCop-user mailing list [email protected] Manage your subscription or unsubscribe https://lists.sourceforge.net/lists/listinfo/ipcop-user