FreeBSD jails, dns and ping

James B. Byrne byrnejb at harte-lyne.ca
Mon Feb 5 21:24:15 UTC 2018


Can anyone explain what is causing this particular inconsistency? 
Unbound can resolve the address but ping cannot?

<pre>
[root at hll107 ~]# drill pkg.freebsd.org
;; ->>HEADER<<- opcode: QUERY, rcode: NOERROR, id: 64648
;; flags: qr rd ra ; QUERY: 1, ANSWER: 2, AUTHORITY: 3, ADDITIONAL: 3
;; QUESTION SECTION:
;; pkg.freebsd.org.     IN      A

;; ANSWER SECTION:
pkg.freebsd.org.        300     IN      CNAME   pkgmir.geo.freebsd.org.
pkgmir.geo.freebsd.org. 150     IN      A       96.47.72.71

;; AUTHORITY SECTION:
geo.freebsd.org.        2743    IN      NS      gns1.freebsd.org.
geo.freebsd.org.        2743    IN      NS      gns2.freebsd.org.
geo.freebsd.org.        2743    IN      NS      gns0.freebsd.org.

;; ADDITIONAL SECTION:
gns2.freebsd.org.       2743    IN      A       213.138.116.75
gns0.freebsd.org.       2743    IN      A       8.8.178.30
gns1.freebsd.org.       2743    IN      A       96.47.72.24

;; Query time: 133 msec
;; SERVER: 127.0.0.1
;; WHEN: Mon Feb  5 16:13:57 2018
;; MSG SIZE  rcvd: 179

[root at hll107 ~]# ping pkg.freebsd.org.
ping: cannot resolve pkg.freebsd.org.: Host name lookup failure

[root at hll107 ~]# ping 96.47.72.71
PING 96.47.72.71 (96.47.72.71): 56 data bytes
64 bytes from 96.47.72.71: icmp_seq=0 ttl=50 time=23.463 ms
</pre>


-- 
***          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 at 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



More information about the freebsd-questions mailing list