From owner-freebsd-questions@freebsd.org Fri Feb 2 14:42:16 2018 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id B9EC2EDC917 for ; Fri, 2 Feb 2018 14:42:16 +0000 (UTC) (envelope-from byrnejb@harte-lyne.ca) Received: from inet08.hamilton.harte-lyne.ca (inet08.hamilton.harte-lyne.ca [216.185.71.28]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "inet08.hamilton.harte-lyne.ca", Issuer "CA_HLL_ISSUER_2016" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 2747F6DF73 for ; Fri, 2 Feb 2018 14:42:15 +0000 (UTC) (envelope-from byrnejb@harte-lyne.ca) Received: from localhost (localhost [127.0.0.1]) by inet08.hamilton.harte-lyne.ca (Postfix) with ESMTP id 0F15762460 for ; Fri, 2 Feb 2018 09:42:15 -0500 (EST) X-Virus-Scanned: amavisd-new at harte-lyne.ca Received: from inet08.hamilton.harte-lyne.ca ([127.0.0.1]) by localhost (inet08.hamilton.harte-lyne.ca [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id poFT7CRAdwzm for ; Fri, 2 Feb 2018 09:42:12 -0500 (EST) Received: from webmail.harte-lyne.ca (inet04.hamilton.harte-lyne.ca [216.185.71.24]) (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by inet08.hamilton.harte-lyne.ca (Postfix) with ESMTPSA id 6A8036231C for ; Fri, 2 Feb 2018 09:42:12 -0500 (EST) Received: from 216.185.71.44 (SquirrelMail authenticated user byrnejb_hll) by webmail.harte-lyne.ca with HTTP; Fri, 2 Feb 2018 09:42:12 -0500 Message-ID: <737005a0c3e97d8d1e9306eb52471f89.squirrel@webmail.harte-lyne.ca> Date: Fri, 2 Feb 2018 09:42:12 -0500 Subject: Jails, ping, and now DNS From: "James B. Byrne" To: freebsd-questions@freebsd.org Reply-To: byrnejb@harte-lyne.ca User-Agent: SquirrelMail/1.4.22-5.el6 MIME-Version: 1.0 Content-Type: text/plain;charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Priority: 3 (Normal) Importance: Normal X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.25 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 02 Feb 2018 14:42:17 -0000 Ok, this jail setup thing is slowly driving me mad. Can someone explain the following behaviour observed on a jail (hll124) set up using ezjail? root@hll107:~ # sysctl security.jail.allow_raw_sockets security.jail.allow_raw_sockets: 1 root@hll107:~ # service local_unbound onestatus local_unbound is running as pid 76810. root@hll107:~ # drill vhost04.hamilton.harte-lyne.ca ;; flags: qr rd ra ; QUERY: 1, ANSWER: 1, AUTHORITY: 4, ADDITIONAL: 4 ;; QUESTION SECTION: ;; vhost04.hamilton.harte-lyne.ca. IN A ;; ANSWER SECTION: vhost04.hamilton.harte-lyne.ca. 172765 IN A 216.185.71.44 ;; AUTHORITY SECTION: harte-lyne.ca. 172765 IN NS dns04.harte-lyne.ca. harte-lyne.ca. 172765 IN NS dns01.harte-lyne.ca. harte-lyne.ca. 172765 IN NS dns03.harte-lyne.ca. harte-lyne.ca. 172765 IN NS dns02.harte-lyne.ca. ;; ADDITIONAL SECTION: dns01.harte-lyne.ca. 172765 IN A 216.185.71.33 dns02.harte-lyne.ca. 172765 IN A 209.47.176.33 dns03.harte-lyne.ca. 172765 IN A 216.185.71.34 dns04.harte-lyne.ca. 172765 IN A 209.47.176.34 ;; Query time: 0 msec ;; SERVER: 127.0.0.1 ;; WHEN: Fri Feb 2 14:34:17 2018 ;; MSG SIZE rcvd: 208 root@hll107:~ # ping 216.185.71.44 PING 216.185.71.44 (216.185.71.44): 56 data bytes 64 bytes from 216.185.71.44: icmp_seq=0 ttl=64 time=0.357 ms 64 bytes from 216.185.71.44: icmp_seq=1 ttl=64 time=0.382 ms ^C --- 216.185.71.44 ping statistics --- 3 packets transmitted, 2 packets received, 33.3% packet loss round-trip min/avg/max/stddev = 0.357/0.369/0.382/0.012 ms root@hll107:~ # ping vhost04.hamilton.harte-lyne.ca ping: cannot resolve vhost04.hamilton.harte-lyne.ca: Host name lookup failure root@hll107:~ # -- *** e-Mail is NOT a SECURE channel *** Do NOT transmit sensitive data via e-Mail Do NOT open attachments nor follow links sent by e-Mail James B. Byrne mailto:ByrneJB@Harte-Lyne.ca Harte & Lyne Limited http://www.harte-lyne.ca 9 Brockley Drive vox: +1 905 561 1241 Hamilton, Ontario fax: +1 905 561 0757 Canada L8E 3C3